.article-page {
    background: #f5f6f8;
    padding: 0 0 80px;
}

.article-page .wrapper {
    max-width: 900px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin: 32px 0 24px;
    transition: color .15s ease;
}

.article-back:hover {
    color: #ee5c69;
}

.article-header-block {
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    margin-bottom: 24px;
}

.article-header-block h1 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    color: #1b1e25;
}

.article-subtitle {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    font-weight: 400;
}

.article-subtitle a,
.article-highlight-list a {
    color: #ee5c69;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-subtitle a:hover,
.article-highlight-list a:hover {
    color: #c94463;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    font-size: 14px;
    color: #888;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.article-meta-reading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-breadcrumbs {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.article-breadcrumbs a {
    color: #888;
    text-decoration: none;
}

.article-breadcrumbs a:hover {
    color: #ee5c69;
}

.article-breadcrumbs span {
    color: #ccc;
    margin: 0 6px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.article-author {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.article-author-photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #1b1e25;
}

.article-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.article-author-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1b1e25;
}

.article-author-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}

.article-toc {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    margin-bottom: 24px;
}

.article-toc-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #1b1e25;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.article-toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-toc li {
    margin-bottom: 10px;
}

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

.article-toc a {
    color: #444;
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
    transition: color .15s ease;
}

.article-toc a:hover {
    color: #ee5c69;
}

.article-toc li ul {
    margin-top: 8px;
    padding-left: 16px;
}

.article-toc li ul a {
    font-size: 14px;
    color: #666;
}

.article-body {
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    color: #333;
    font-size: 16px;
    line-height: 1.8;
}

.article-body p {
    margin: 0 0 20px;
}

.article-body h2 {
    margin: 40px 0 20px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: #1b1e25;
    scroll-margin-top: 100px;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    margin: 28px 0 14px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    scroll-margin-top: 100px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body a {
    color: #ee5c69;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: #c94463;
}

.article-body strong {
    color: #1b1e25;
}

.article-lead {
    font-size: 17px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 28px;
}

.article-highlight-list {
    background: #fafafa;
    border-left: 4px solid #ee5c69;
    padding: 20px 24px;
    margin: 0 0 24px;
    border-radius: 0 8px 8px 0;
}

.article-highlight-list ul {
    margin-bottom: 0;
}

.article-share {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    margin-top: 24px;
}

.article-share-title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1b1e25;
}

.article-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity .15s ease, transform .15s ease;
}

.article-share-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
    color: #fff;
}

.article-share-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.article-share-btn--vk {
    background: #4a76a8;
}

.article-share-btn--tg {
    background: #2aabee;
}

.article-share-btn--max {
    background: #1b1e25;
}

.article-llift-cta {
    background: linear-gradient(135deg, #1b1e25 0%, #2d3340 100%);
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
    color: #fff;
}

.article-llift-cta h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #fff;
}

.article-llift-cta p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}

.article-llift-cta a {
    display: inline-block;
    padding: 12px 28px;
    background: #ee5c69;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease;
}

.article-llift-cta a:hover {
    background: #d94a57;
    color: #fff;
}

/* Catalog */
.articles-catalog {
    background: #f5f6f8;
    padding: 60px 0 80px;
}

.articles-catalog-title {
    font-size: 36px;
    font-weight: 700;
    color: #1b1e25;
    margin: 0 0 12px;
}

.articles-catalog-desc {
    font-size: 16px;
    color: #666;
    margin: 0 0 40px;
    line-height: 1.6;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}

.article-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.article-card h2 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.article-card h2 a {
    color: #1b1e25;
    text-decoration: none;
    transition: color .15s ease;
}

.article-card h2 a:hover {
    color: #ee5c69;
}

.article-card-excerpt {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.65;
    color: #666;
    flex: 1;
}

.article-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.article-card-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.article-card-author span {
    font-size: 13px;
    color: #555;
}

.article-card-link {
    display: inline-block;
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: #ee5c69;
    text-decoration: none;
}

.article-card-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .article-header-block,
    .article-body,
    .article-author,
    .article-toc,
    .article-share {
        padding: 24px 20px;
    }

    .article-header-block h1 {
        font-size: 24px;
    }

    .article-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .article-body h2 {
        font-size: 19px;
    }

    .articles-catalog-title {
        font-size: 28px;
    }
}
