.expert-article {
    --ea-ink: #10182d;
    --ea-text: #3d4d6d;
    --ea-muted: #74809b;
    --ea-line: #e7e8f3;
    --ea-violet: #5e13ef;
    color: var(--ea-ink);
    margin-bottom: 60px;
}

.expert-article * {
    box-sizing: border-box;
}

.expert-article__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
    gap: clamp(32px, 4vw, 58px);
    align-items: center;
    padding: clamp(34px, 4vw, 56px) 0 0;
}

.expert-article__intro--without-cover {
    display: block;
}

.expert-article__header {
    min-width: 0;
    padding: 12px 0;
    text-align: left;
}

.expert-article__intro--without-cover .expert-article__header {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.expert-article__intro-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-bottom: 24px;
}

.expert-article__back {
    display: inline-block;
    color: var(--ea-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.expert-article__back:hover {
    color: var(--ea-violet);
}

.expert-article__eyebrow {
    color: #5f6d90;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.expert-article h1 {
    margin: 0;
    font-size: clamp(42px, 4.25vw, 61px);
    line-height: 1.04;
    letter-spacing: -.044em;
}

.expert-article__lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--ea-text);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.58;
}

.expert-article__intro--without-cover .expert-article__lead {
    margin-right: auto;
    margin-left: auto;
}

.expert-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px 25px;
    margin-top: 24px;
    color: var(--ea-muted);
    font-size: 13px;
}

.expert-article__meta span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ea-ink);
    font-weight: 600;
}

.expert-article__meta img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    background: #eee8ff;
    border-radius: 50%;
}

.expert-article__meta > * + * {
    position: relative;
}

.expert-article__meta > * + *::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -14px;
    width: 3px;
    height: 3px;
    background: #b0b6c7;
    border-radius: 50%;
}

.expert-article__cover {
    overflow: hidden;
    margin: 0;
    aspect-ratio: 5 / 4;
    background: #f7f3ff;
    border: 1px solid var(--ea-line);
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(35, 27, 79, .08);
}

.expert-article__cover img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

.expert-article__layout {
    display: grid;
    grid-template-columns: minmax(0, 790px) 280px;
    gap: clamp(42px, 6vw, 80px);
    justify-content: center;
    margin-top: clamp(44px, 5vw, 68px);
}

.expert-article__aside {
    position: sticky;
    top: 215px;
    align-self: start;
}

.expert-article__telegram {
    position: relative;
    display: flex;
    min-height: 182px;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
    padding: 19px 20px;
    color: var(--ea-ink);
    text-decoration: none;
    background: linear-gradient(145deg, #faf9fe, #f5f2fc);
    border: 1px solid #e3def0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(35, 27, 79, .07);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.expert-article__telegram:hover {
    color: var(--ea-ink);
    border-color: rgba(94, 19, 239, .28);
    box-shadow: 0 16px 34px rgba(35, 27, 79, .1);
    transform: translateY(-2px);
}

.expert-article__telegram:focus-visible {
    color: var(--ea-ink);
    outline: 3px solid rgba(94, 19, 239, .24);
    outline-offset: 3px;
}

.expert-article__telegram-head {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 9px;
}

.expert-article__telegram-icon {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: #5e13ef;
    background: #eee8fb;
    border-radius: 9px;
}

.expert-article__telegram-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.expert-article__telegram-head small {
    color: #746f86;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.expert-article__telegram-head > b {
    color: #8a849b;
    font-size: 17px;
    line-height: 1;
    transition: color .25s ease, transform .25s ease;
}

.expert-article__telegram-copy {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.expert-article__telegram-copy strong {
    font-size: 19px;
    line-height: 1.18;
}

.expert-article__telegram-copy > span {
    font-size: 12px;
    line-height: 1.45;
    color: #5e5870;
}

.expert-article__telegram-copy em {
    color: #6b35c5;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
}

.expert-article__telegram:hover .expert-article__telegram-head > b {
    color: var(--ea-violet);
    transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
    .expert-article__telegram, .expert-article__telegram-head > b {
        transition: none;
    }
}

.expert-article__content {
    min-width: 0;
    color: var(--ea-text);
    font-size: 18px;
}

.expert-article__content > :first-child {
    margin-top: 0;
}

.expert-article__content > :last-child {
    margin-bottom: 0;
}

.expert-article__content h2 {
    margin: 2em 0 .75em;
    color: var(--ea-ink);
    font-size: clamp(29px, 3vw, 39px);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.expert-article__content h3 {
    margin: 1.8em 0 .7em;
    color: var(--ea-ink);
    font-size: 25px;
    line-height: 1.25;
}

.expert-article__content p {
    margin: 0 0 1.35em;
}

.expert-article__content ul, .expert-article__content ol {
    margin: 1.3em 0;
    padding-left: 1.3em;
}

.expert-article__content li {
    margin-bottom: .7em;
    padding-left: .35em;
}

.expert-article__content li::marker {
    color: var(--ea-violet);
}

.expert-article__content a {
    color: var(--ea-violet);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.expert-article__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2em auto;
    border-radius: 17px;
    box-shadow: 0 18px 48px rgba(30, 22, 70, .08);
}

.expert-article__content blockquote {
    margin: 2em 0;
    padding: 26px 30px;
    color: var(--ea-ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.6;
    background: linear-gradient(120deg, #f7f2ff, #fff8fc);
    border-left: 4px solid var(--ea-violet);
    border-radius: 0 15px 15px 0;
}

.expert-article__content table {
    display: block;
    overflow-x: auto;
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    font-size: 15px;
}

.expert-article__content th, .expert-article__content td {
    min-width: 150px;
    padding: 14px 16px;
    text-align: left;
    border: 1px solid var(--ea-line);
}

.expert-article__content th {
    color: var(--ea-ink);
    background: #f7f4ff;
}

.expert-article__content pre {
    overflow-x: auto;
    padding: 22px;
    color: #f5f3ff;
    font-size: 14px;
    line-height: 1.6;
    background: #15182a;
    border-radius: 14px;
}

.expert-article__footer {
    display: flex;
    max-width: 1000px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: clamp(60px, 8vw, 100px) auto 0;
    padding: 28px;
    background: linear-gradient(120deg, #faf8ff, #fff);
    border: 1px solid var(--ea-line);
    border-radius: 20px;
}

.expert-article__footer > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.expert-article__footer img {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    object-fit: cover;
    background: #eee8ff;
    border-radius: 50%;
}

.expert-article__footer span {
    display: grid;
    gap: 5px;
}

.expert-article__footer small {
    max-width: 570px;
    color: var(--ea-muted);
    font-size: 13px;
    line-height: 1.5;
}

.expert-article__footer button {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 46px;
    align-items: center;
    gap: 16px;
    padding: 11px 18px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(110deg, #5512ef, #ed3f8d);
    border: 0;
    border-radius: 11px;
}

@media (max-width: 991.98px) {
    .expert-article__intro {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 32px;
    }

    .expert-article__header {
        max-width: 790px;
        margin: 0 auto;
    }

    .expert-article__cover {
        width: 100%;
        max-height: 430px;
        aspect-ratio: 16 / 8.5;
    }

    .expert-article__layout {
        grid-template-columns: 1fr;
        max-width: 790px;
        margin-right: auto;
        margin-left: auto;
    }

    .expert-article__aside {
        position: static;
        max-width: 420px;
    }
}

@media (max-width: 767.98px) {
    .expert-article__intro {
        gap: 24px;
        padding-top: 20px;
    }

    .expert-article__header {
        padding: 0;
    }

    .expert-article__intro-top {
        gap: 8px 16px;
        margin-bottom: 18px;
    }

    .expert-article h1 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.06;
    }

    .expert-article__lead {
        margin-top: 17px;
        font-size: 16px;
        line-height: 1.55;
    }

    .expert-article__meta {
        gap: 9px 19px;
        margin-top: 19px;
    }

    .expert-article__meta > * + *::before {
        left: -11px;
    }

    .expert-article__cover {
        max-height: 320px;
        aspect-ratio: 16 / 10;
        border-radius: 17px;
    }

    .expert-article__layout {
        margin-top: 40px;
    }

    .expert-article__telegram {
        min-height: 0;
        padding: 18px;
    }

    .expert-article__content {
        font-size: 16px;
        line-height: 1.75;
    }

    .expert-article__content blockquote {
        padding: 22px;
        font-size: 17px;
    }

    .expert-article__footer {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .expert-article__footer button {
        justify-content: center;
    }
}
