.blogList__container {
    display: grid;
    grid-template-columns: 60% 1fr;
    grid-gap: 140px;
    padding: 56px 0;
}

.blogList__mainTitle {
    margin-bottom: 56px;
    font-weight: 700;
    font-size: 36px;
    line-height: 120%;
    color: var(--text-secondary);
}

.blogList__empty {
    padding: 60px 0;
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
}

@media (max-width: 960px) {
    .blogList__container { grid-gap: 60px; }
    .blogList__mainTitle { font-size: 24px; }
}

@media (max-width: 576px) {
    .blogList__container {
        display: block;
        padding: 28px 0;
    }

    .blogList__side { display: none; }
}

.blogItem {
    display: block;
    margin-bottom: 48px;
    color: inherit;
}

.blogItem:hover {
    opacity: .95;
}

.blogItem__dotted {
    position: relative;
    height: 2px;
}

.blogItem__dotted::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    height: 2px;
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='2' viewBox='0 0 8 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23EDEDED'/%3E%3Ccircle cx='7' cy='1' r='1' fill='%23EDEDED'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
}

.blogItemContent__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 144%;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.blogItemContent__title_page {
    font-size: 32px;
    line-height: 130%;
    margin-bottom: 24px;
}

.blogItemContent__text {
    font-size: 15px;
    line-height: 150%;
    margin-bottom: 28px;
    color: var(--text-secondary);
}

.blogItemContent__image {
    margin-bottom: 28px;
}

.blogItemContent__image img {
    object-fit: cover;
    width: 100%;
    max-height: 420px;
    border-radius: 8px;
}

.blogItemPanel {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    align-items: center;
}

.companyUser {
    display: flex;
    align-items: center;
}

.companyUser__name {
    font-size: 15px;
    line-height: 120%;
    font-weight: 500;
}

.companyUser__role {
    margin-top: 4px;
    font-size: 13px;
    line-height: 120%;
    color: var(--text-muted);
}

.userAvatar {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    background: #f2f3f5;
}

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

.blogActions {
    display: flex;
    align-items: center;
}

.blogActions__comments {
    display: flex;
    align-items: center;
}

.blogActions__count {
    margin-left: 8px;
    font-size: 15px;
    color: #bebebe;
}

@media (max-width: 576px) {
    .blogActions__comments { display: none; }
}

.blogItemTags {
    display: flex;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 6px;
}

.blogItemTags__item {
    font-size: 13px;
    line-height: 120%;
    color: var(--text-muted);
    transition: color .25s;
}

.blogItemTags__item + .blogItemTags__item::before {
    content: "· ";
    margin-right: 6px;
}

.blogCategoryTree__title {
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 15px;
    line-height: 144%;
}

.blogCategoryTreeList {
    display: flex;
    flex-direction: column;
}

.blogCategoryTreeItem {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    background-repeat: no-repeat;
    background-position: 0 center;
    cursor: pointer;
    padding-left: 32px;
    font-size: 15px;
    line-height: 144%;
    color: var(--text-secondary);
    transition: color .25s;
}

.blogCategoryTreeItem + .blogCategoryTreeItem {
    margin-top: 16px;
}

.blogCategoryTreeItem:hover {
    color: var(--brand-color);
}

.blogCategoryTreeItem--active {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z' fill='%23b32442'/%3E%3C/svg%3E");
    color: var(--brand-color);
}

.blogCategoryTreeItem__count {
    font-size: 13px;
    color: var(--text-muted);
}

.blogPost {
    padding: 56px 0;
}

.blogPost__container {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.blogPost__backLink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 15px;
    color: var(--brand-color);
    transition: opacity .25s;
}

.blogPost__backLink:hover {
    opacity: .7;
}

.blogPost__article {
    margin-bottom: 60px;
}

.blogItemContent__fullContent {
    font-size: 16px;
    line-height: 170%;
    color: var(--text-secondary);
    overflow-wrap: break-word;
}

.blogItemContent__fullContent h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: #333;
}

.blogItemContent__fullContent h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 28px 0 15px;
    color: #333;
}

.blogItemContent__fullContent h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 12px;
    color: #333;
}

.blogItemContent__fullContent p {
    margin-bottom: 18px;
}

.blogItemContent__fullContent ul,
.blogItemContent__fullContent ol {
    margin: 15px 0;
    padding-left: 30px;
}

.blogItemContent__fullContent li {
    margin-bottom: 8px;
}

.blogItemContent__fullContent strong {
    font-weight: 700;
    color: #333;
}

.blogItemContent__fullContent a {
    color: var(--brand-color);
    text-decoration: underline;
}

.blogItemContent__fullContent blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 4px solid var(--brand-color);
    background-color: #f8f9fa;
    font-style: italic;
    color: #555;
}

.blogItemContent__fullContent code {
    padding: 2px 6px;
    background-color: #f4f4f4;
    border-radius: 3px;
    font-size: 14px;
}

.blogPost__related {
    padding-top: 60px;
    border-top: 2px solid var(--border-color);
}

.blogPost__relatedTitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.blogPost__relatedList {
    display: grid;
    gap: 28px;
}

.blogPost__relatedItem {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    color: inherit;
    transition: background-color .25s;
}

.blogPost__relatedItem:hover {
    background-color: #f5f5f5;
}

.blogPost__relatedImage {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f3f5;
}

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

.blogPost__relatedItemTitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 144%;
    color: var(--text-secondary);
}

.blogPost__relatedItemDescription {
    font-size: 15px;
    line-height: 150%;
    color: #bebebe;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 576px) {
    .blogPost { padding: 28px 0; }
    .blogItemContent__title_page { font-size: 24px; }
    .blogPost__relatedImage { width: 80px; height: 80px; }
    .blogPost__relatedItemTitle { font-size: 16px; }
}
