.blog {
    padding: 136px 0 104px;
}

.blog__inner {
    display: flex;
}

.blog__posts {
    width: 67%;
    padding-right: 1%;
}

.blog__pageTitle {
    font-size: 36px;
    line-height: normal;
    margin-bottom: 72px;
}

.blog__navigation {
    display: flex;
    list-style: none;
    gap: 16px;
    margin-bottom: 32px;
}

.blog__navLink {
    padding: 4px 16px;
    border-radius: 4px;
    display: flex;
    color: var(--black, #141414);
    font-size: 16px;
    line-height: 1.8em;
    text-decoration: none;
}

.blog__navLink:hover {
    background: #F0F0F0;
}

.blog__navLink.active {
    background: #F0F0F0;
}

.blog__postList {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.singlePost {
    width: calc(50% - 16px);
    background-color: #F8F7F6;
    text-decoration: none !important;
}

.singlePost__image {
    width: 100%;
    height: 235px;
}

.singlePost__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.singlePost__content {
    padding: 24px 16px 48px;
}

.singlePost__date,
.sidebar__postDate {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8em;
    margin-bottom: 32px;
    display: flex;
}

.singlePost__title,
.sidebar__postTitle {
    color: var(--dark-green);
    line-height: 1.8em;
    margin-bottom: 16px;
}

.singlePost:hover .singlePost__title,
.sidebar__wrapper:hover .sidebar__postTitle {
    color: var(--accent);
}

.singlePost__description,
.sidebar__postDescription {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8em;
    margin-bottom: 28px;
}

.singlePost__link,
.sidebar__postLink {
    color: var(--dark-green);
    font-size: 16px;
    line-height: 1.8em;
    display: flex;
    gap: 8px;
    align-items: center;
}

.blog__sidebar {
    width: 33%;
}

.sidebar__inner {
    max-width: 295px;
    margin-left: auto;
}

.sidebar__title {
    color: var(--black);
    font-size: 14px;
    line-height: 1.8em;
    margin-bottom: 32px;
}

.sidebar__wrapper {
    border-radius: 4px;
    background: #F8F7F6;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.article {
    padding-top: 120px;
    padding-bottom: 70px;
}

.article__inner {
    display: flex;
}

.article__sidebar {
    width: 30%;
    padding-right: 15px;
}

.article__sidebarWrapper {
    position: sticky;
    top: 130px;
}

.article__back {
    color: var(--dark-green);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8em;
    background: transparent;
    border: none;
    display: flex;
    gap: 8px;
    padding: 0;
    cursor: pointer;
}

.toc-container {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.toc-container h3 {
    font-size: 20px !important;
    line-height: 1.8em;
    margin: 44px 0 24px;
    display: flex !important;
}

.toc-list {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.toc-list a {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8em;
    padding: 10px 15px;
    display: flex;
    text-decoration: none;
}

.toc-list a:hover {
    background-color: #E0E0D3;
    color: #141414;
}

.article__content {
    width: 70%;
    padding: 80px 0 0;
}

.article__wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.article__image img {
    width: 100%;
}

.article__title {
    font-size: 36px;
    line-height: normal;
    margin-bottom: 65px;
}

.article__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.article__authorWrapper {
    display: flex;
    gap: 24px;
}

.article__authorImg {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 50%;
}

.article__authorImg img {
    width: 100%;
    height: 100%;
}

.article__authorInfo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article__authorName {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8em;
}

.article__read {
    color: #848480;
    font-size: 14px;
    line-height: 1.8em;
}

.article__date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8em;
}

.article__image {
    display: flex;
    margin-bottom: 48px;
    width: 100%;
    height: auto;
}

.article__contentInfo p {
    font-size: 16px;
    line-height: 1.8em;
    margin-bottom: 48px;
}

.article__contentInfo h2 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 48px;
}

.article__contentInfo ul {
    margin-bottom: 12px;
}

.article__contentInfo li {
    font-size: 16px;
    line-height: 1.8em;
    margin-bottom: 48px;
    list-style: none;
}

.article__contentInfo li:before {
    content: '✔';
    margin-right: 5px;
}

.related {
    background: rgba(217, 217, 217, 0.10);
    padding: 48px 0 80px;
}

.related .section__titleWrapper {
    align-items: flex-start;
    margin-bottom: 64px;
}

.related .section__title {
    text-align: left;
    max-width: 500px;
}

.related__wrapper {
    display: flex;
    gap: 30px;
}

@media (max-width: 1024px) {

    .blog__inner {
        flex-wrap: wrap;
    }

    .blog__posts {
        width: 100%;
        padding-right: 0;
    }

    .blog__sidebar {
        width: 100%;
        border-top: 1px solid #848480;
        padding-top: 48px;
        margin-top: 48px;
    }

    .sidebar__inner {
        margin: 0 auto;
    }

    .article {
        padding-bottom: 40px;
    }

    .article__sidebar {
        display: none;
    }

    .article__content {
        width: 100%;
        padding: 0 0 0;
    }

}

@media (max-width: 768px) {

    .singlePost {
        width: 100%;
    }

    .article__title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .related__wrapper {
        flex-wrap: wrap;
    }

    .singlePost {
        width: 100%;
    }

    .article__date {
        display: none;
    }

    .related {
        padding: 40px 0 48px;
    }

}

@media (max-width: 480px) {

    .blog__navigation {
        gap: 8px;
    }

    .blog__navLink {
        padding: 4px 6px;
        font-size: 14px;
    }

}
