.articles-list__excerpt {
    margin: 0 0 12px;
    color: var(--muted, #647084);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-detail__body {
    padding: 40px 0 64px;
    max-width: 960px;
}

.article-detail__blocks {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.article-block--single,
.article-block__col {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink, #202735);
}

.article-block--single p,
.article-block__col p {
    margin: 0 0 1.1em;
}

.article-block--single h1,
.article-block__col h1 {
    margin: 0 0 0.6em;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

.article-block--single h2,
.article-block__col h2 {
    margin: 0 0 0.6em;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-block--single ul,
.article-block__col ul,
.article-block--single ol,
.article-block__col ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.article-block--single li,
.article-block__col li {
    margin-bottom: 0.45em;
}

.article-block--single strong,
.article-block__col strong {
    font-weight: 700;
}

.article-block--single img,
.article-block__col img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px 0;
    border-radius: 4px;
    border: 1px solid var(--line, #e5e9f0);
}

.article-block--single img.article-img-align-center,
.article-block__col img.article-img-align-center {
    margin: 12px auto;
}

.article-block--single img.article-img-align-right,
.article-block__col img.article-img-align-right {
    margin: 12px 0 12px auto;
}

.article-block--double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.article-block--image {
    margin: 0;
    text-align: center;
}

.article-block--image img {
    display: inline-block;
    border: 1px solid var(--line, #e5e9f0);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .article-block--double {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* —— Social share (theme-colored, premium) —— */
.article-share {
    --share-accent: var(--cms-primary, var(--blue, #284cd8));
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid color-mix(in srgb, var(--share-accent) 14%, var(--line, #e5e9f0));
}

.article-share__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    padding: 22px 24px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--share-accent) 16%, var(--line, #e5e9f0));
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--share-accent) 8%, #fff) 0%,
            #fff 48%,
            color-mix(in srgb, var(--share-accent) 5%, #fff) 100%
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 12px 32px color-mix(in srgb, var(--share-accent) 8%, transparent);
}

.article-share__copy {
    min-width: 0;
}

.article-share__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--share-accent);
}

.article-share__eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--share-accent);
    opacity: 0.75;
}

.article-share__title {
    margin: 0;
    color: var(--ink, #202735);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.article-share__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--share-accent) 22%, transparent);
    background: color-mix(in srgb, var(--share-accent) 7%, #fff);
    color: var(--share-accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--share-accent) 8%, transparent);
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.article-share__icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--share-accent);
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 6px 14px color-mix(in srgb, var(--share-accent) 35%, transparent);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.article-share__icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.article-share__label {
    padding-right: 4px;
}

.article-share__btn:hover,
.article-share__btn:focus-visible {
    transform: translateY(-2px);
    background: var(--share-accent);
    border-color: var(--share-accent);
    color: #fff;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--share-accent) 28%, transparent);
    outline: none;
}

.article-share__btn:hover .article-share__icon,
.article-share__btn:focus-visible .article-share__icon {
    background: #fff;
    color: var(--share-accent);
    transform: scale(1.04);
}

.article-share__btn:active {
    transform: translateY(0);
}

@media (max-width: 720px) {
    .article-share__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 16px;
    }

    .article-share__list {
        width: 100%;
    }

    .article-share__btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: calc(33.333% - 8px);
        padding-right: 12px;
    }

    .article-share__label {
        font-size: 0.82rem;
    }
}

@media (max-width: 420px) {
    .article-share__btn {
        min-width: 100%;
        justify-content: flex-start;
        padding-left: 8px;
        padding-right: 14px;
    }
}

/* Fallback when color-mix is unsupported */
@supports not (background: color-mix(in srgb, #000 10%, #fff)) {
    .article-share__inner {
        border-color: var(--line, #e5e9f0);
        background: linear-gradient(135deg, #f4f7ff 0%, #fff 50%, #f8faff 100%);
        box-shadow: 0 12px 32px rgba(16, 35, 63, 0.06);
    }

    .article-share__btn {
        border-color: rgba(40, 76, 216, 0.2);
        background: rgba(40, 76, 216, 0.06);
        box-shadow: 0 6px 16px rgba(40, 76, 216, 0.08);
    }

    .article-share__icon {
        box-shadow: 0 6px 14px rgba(40, 76, 216, 0.28);
    }

    .article-share__btn:hover,
    .article-share__btn:focus-visible {
        box-shadow: 0 12px 28px rgba(40, 76, 216, 0.25);
    }
}