.main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content__description {
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
}

.content__description ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    gap: 10px;
}

.content__description ul li:not(:last-child)::after {
    content: "›";
    margin-left: 10px;
    color: #4D555B;
}

.content__articles {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.ArticleTilediv__ArticleTile-s6lxsw-0 {
    margin: 1em 0 2em;
    padding: 2em;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #F0F1F2, 0 5px 15px -5px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 45em) {
    .main {
        padding: 15px;
    }
    
    .content__description,
    .content__articles {
        max-width: 100%;
    }
    
    .ArticleTilediv__ArticleTile-s6lxsw-0 {
        margin: 1em 0;
        padding: 1em;
    }
}

.article-title {
    color: #232624;
    font-size: 1.6em;
    line-height: 45px;
    font-weight: 400;
    color: #4D555B;
}

@media screen and (max-width:45em) {
    .article-title {
        font-size: 27px;
        line-height: 140%;
    }
}

.article-text {
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    white-space: pre-wrap;
    color: #4D555B;
}

.article-date {
    font-size: 13px;
    line-height: 100%;
    padding: 0 0.25em 0 0;
    color: #4D555B;
}

.author-block {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #FFFFFF;
    padding: 0.1em 0.5em;
    margin: -0.1em -0.5em;
}

.author-block>div {
    margin: 1.25em 0;
}

.author-block .author-image,
.author-block img {
    height: 48px;
    width: 48px;
    min-height: 48px;
    min-width: 48px;
    border-radius: 36px;
}

.author-block>p {
    margin: 1em 0.75em;
    font-size: 14px;
}

.author-block small {
    color: #4D555B;
}

.author-block__images {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding-right: 4px;
}

.author-block__images>* {
    margin: 0 -4px;
}

.article-tile {
    margin: 1em 4em 2em;
    padding: 2em 4em;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #F0F1F2, 0 5px 15px -5px rgba(0, 0, 0, 0.1);
}

.article-tile a {
    -webkit-text-decoration: none;
    text-decoration: none;
}

.article-tile a,
.article-tile a:visited,
.article-tile a:active {
    color: #3C5DFF;
}

.article-tile a:hover {
    color: #191A9B;
    -webkit-text-decoration: none;
    text-decoration: none;
    cursor: pointer;
}

.article-tile label {
    display: none;
}

.article-tile .AuthorsBlock__AuthorBlockWrapper-bbpxi3-0 {
    margin: -0.5em -0.5em;
}

@media screen and (max-width:45em) {
    .article-tile .AuthorsBlock__AuthorBlockWrapper-bbpxi3-0 {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .article-tile .AuthorsBlock__AuthorBlockWrapper-bbpxi3-0 p {
        margin-top: 2px;
        text-align: center;
    }
}

.article-tile .content-author__images {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding-right: 4px;
}

.article-tile .content-author__images>* {
    margin: 0 -4px;
}

@media screen and (max-width:45em) {
    .article-tile .content-author__images {
        margin: 1.2em 0 0 0;
    }
}

.article-tile small {
    color: #9999A5;
    -webkit-letter-spacing: 1px;
    -moz-letter-spacing: 1px;
    -ms-letter-spacing: 1px;
    letter-spacing: 1px;
}

@media screen and (max-width:45em) {
    .article-tile {
        margin: 1em 0;
        padding: 1em 1em;
    }

    .article-tile h3 {
        font-size: 22px;
        text-align: center;
    }
}

/* Новая структура с flex-контейнером */
.article-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 100vh;
}

.content-body__container {
    flex: 1;
    max-width: 900px;
    background: white;
    border-radius: 12px;
    padding: 2em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article__sidebar.desktop-only {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Стили для мобильных устройств */
@media (max-width: 1020px) {
    .article-layout {
        flex-direction: column;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .content-body__container {
        order: 1;
        max-width: 100%;
    }
    
    .article__sidebar.desktop-only {
        width: 100%;
        max-width: 500px;
        margin: 40px auto 0;
        position: static;
        order: 2;
        height: auto;
        max-height: none;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .article-layout {
        padding: 0 10px;
    }
    
    .content-body__container {
        padding: 1em;
    }
}

/* Стили для инструмента в боковой панели */
.sidebar-hero__cta {
    width: 100%;
}

.cta-card {
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
    padding: 1.5em;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #F0F1F2;
    position: relative;
}

.cta-card .headline {
    color: #232624;
    font-size: 1.3em;
    font-weight: 600;
    margin: 15px 0 10px;
    text-align: center;
}

.cta-card div.action {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

.cta-card div.action a,
.cta-card div.action a:hover {
    background: linear-gradient(270deg, rgb(245, 115, 115) -65.78%, rgb(245, 115, 115) 45.1%);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    border: none;
    border-bottom: 4px solid rgb(186, 74, 74);
    border-radius: 6px;
    margin: 0.5em 0 0;
    width: 100%;
    font-weight: 500;
}

.cta-card .action a {
    display: inline-block;
    background: #3C5DFF;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    width: 100%;
    margin-bottom: 12px;
    transition: background-color 0.2s ease;
    font-size: 1.1em;
}

.cta-card .action a:hover {
    background: #2C2EE0;
    transform: translateY(-1px);
}

.cta-card .num-starts {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.cta-card .num-starts small {
    font-size: 12px;
    color: #4D555B;
}

.cta-card .img-value-props img {
    width: 100%;
    border-radius: 8px;
    max-height: 200px;
    object-fit: cover;
}

.fixed-width-image {
    width: 75% !important;
    max-height: 200px;
    object-fit: cover;
}

@media (max-width: 1020px) {
    .fixed-width-image {
        width: 52% !important;
    }
}