/* ==================================================
   СТРАНИЦА СТАТЬИ
   ================================================== */

.article-page {
    width: 100%;

    padding: 28px 20px 42px;

    box-sizing: border-box;
}


/* ==================================================
   КОНТЕЙНЕР
   ================================================== */

.article-container {
    width: 100%;

    margin: 0;
}


/* ==================================================
   ХЛЕБНЫЕ КРОШКИ
   ================================================== */

.article-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin: 0 0 17px;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}


.article-breadcrumbs a {
    color: var(--taupe);

    text-decoration: none;
}


.article-breadcrumbs-separator {
    color: var(--gray-300);
}


/* ==================================================
   ЗАГОЛОВОК
   ================================================== */

.article-title {
    width: 100%;
    max-width: none;

    margin: 0;

    font-size: 32px;
    font-weight: 500;
    line-height: 1.18;

    color: var(--charcoal);
}


/* ==================================================
   ДАТА
   ================================================== */

.article-date {
    margin-top: 11px;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;

    color: var(--gray-500);
}


/* ==================================================
   ГЛАВНАЯ КАРТИНКА
   ================================================== */

.article-image {
    width: 100%;

    margin-top: 24px;

    overflow: hidden;


}


.article-image img {
    display: block;

    width: 100%;
    height: auto;
}


/* ==================================================
   ТЕКСТ СТАТЬИ
   ================================================== */

.article-text {
    width: 100%;

    margin-top: 28px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;

    color: var(--graphite);
}


/* ==================================================
   БЛОКИ ТЕКСТА
   ================================================== */

.article-text > div {
    margin: 0 0 20px;
}


.article-text > div:last-child {
    margin-bottom: 0;
}


/* ==================================================
   АБЗАЦЫ
   ================================================== */

.article-text p {
    margin: 0 0 16px;
}


.article-text p:last-child {
    margin-bottom: 0;
}


/* ==================================================
   ПОДЗАГОЛОВКИ
   ================================================== */

.article-text h2 {
    margin: 34px 0 15px;

    font-size: 23px;
    font-weight: 600;
    line-height: 1.3;

    color: var(--charcoal);
}


.article-text h3 {
    margin: 28px 0 13px;

    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;

    color: var(--charcoal);
}


/* ==================================================
   ССЫЛКИ
   ================================================== */

.article-text a {
    color: var(--taupe);

    text-decoration: underline;
    text-decoration-color: var(--sand-500);
    text-underline-offset: 3px;
}


/* ==================================================
   ЖИРНЫЙ ТЕКСТ
   ================================================== */

.article-text strong,
.article-text b {
    font-weight: 600;

    color: var(--charcoal);
}


/* ==================================================
   СПИСКИ
   ================================================== */

.article-text ul,
.article-text ol {
    margin: 16px 0 20px;

    padding-left: 23px;
}


.article-text li {
    margin-bottom: 7px;
}


.article-text li:last-child {
    margin-bottom: 0;
}


/* ==================================================
   ИЗОБРАЖЕНИЯ В ТЕКСТЕ
   ================================================== */

.article-text img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 24px auto;
}


/* ==================================================
   ПОДПИСЬ К СТАТЬЕ
   ================================================== */

.article-signature {
    width: 100%;

    margin-top: 40px;
    padding-top: 25px;

    border-top: 1px solid var(--cream-500);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;

    color: var(--graphite);
}


/* ==================================================
   РАЗДЕЛИТЕЛЬ
   ================================================== */

.article-signature-divider {
    margin-bottom: 14px;

    font-size: 12px;
    letter-spacing: 4px;

    color: var(--sand-500);
}


/* ==================================================
   АВТОР
   ================================================== */

.article-signature-author {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;

    color: var(--charcoal);
}


.article-signature-about {
    max-width: none;

    margin-top: 4px;

    line-height: 1.5;

    color: var(--gray-700);
}


/* ==================================================
   РАЗДЕЛЫ ПОДПИСИ
   ================================================== */

.article-signature-section {
    margin-top: 24px;
}


.article-signature-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;

    color: var(--charcoal);
}


.article-signature-text {
    margin-top: 4px;
}


/* ==================================================
   ССЫЛКИ ПОДПИСИ
   ================================================== */

.article-signature-link {
    display: block;

    width: fit-content;
    max-width: 100%;

    margin-top: 6px;

    font-weight: 500;

    color: var(--taupe);

    text-decoration: none;
}


/* ==================================================
   ССЫЛКИ НА ПРАКТИКУМ
   ================================================== */

.article-signature-links {
    display: flex;
    align-items: flex-start;
    flex-direction: column;

    gap: 5px;

    margin-top: 7px;
}


.article-signature-links .article-signature-link {
    margin-top: 0;
}


/* ==================================================
   КОНТАКТЫ
   ================================================== */

.article-signature-contacts {
    margin-top: 27px;
}


.article-signature-channel {
    display: flex;
    align-items: flex-start;

    gap: 6px;

    margin-top: 9px;
}


.article-signature-down {
    flex: 0 0 auto;

    line-height: 1.5;
}


.article-signature-telegram {
    display: flex;
    flex-direction: column;

    min-width: 0;

    color: var(--graphite);

    text-decoration: none;
}


.article-signature-telegram strong {
    font-weight: 600;

    color: var(--charcoal);
}


.article-signature-telegram span {
    margin-top: 1px;

    line-height: 1.5;

    color: var(--gray-700);
}