.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 13px;
    color: #60736b;
    font-size: 14px;
}

.article-byline__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-byline__item + .article-byline__item::before {
    content: '';
    width: 4px;
    height: 4px;
    margin-right: 8px;
    border-radius: 50%;
    background: #9aaca4;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.article-tag {
    padding: 6px 10px;
    border: 1px solid #d8e4de;
    border-radius: 999px;
    background: #f5f8f6;
    color: #385448;
    font-size: 12px;
    font-weight: 700;
}

.article-expertise {
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid #d8e4de;
    border-radius: 18px;
    background: #f8fbf9;
}

.article-expertise > h2 {
    margin: 0 0 14px;
    color: #20352d;
    font-size: 18px;
}

.article-expertise__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px 20px;
    margin: 0;
}

.article-expertise__grid div { min-width: 0; }
.article-expertise__grid dt {
    margin-bottom: 4px;
    color: #6b7d75;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.article-expertise__grid dd { margin: 0; color: #29483c; }
.article-expertise__grid dd span { display: block; margin-top: 3px; color: #60736b; font-size: 13px; }
.article-expertise__sources { margin-top: 16px; }
.article-expertise__sources h3 { margin: 0 0 7px; font-size: 14px; }
.article-expertise__sources ul { margin: 0; padding-left: 20px; }
.article-expertise__sources a { color: #087f88; overflow-wrap: anywhere; }
.article-revisions { margin-top: 14px; color: #4c6259; font-size: 13px; }
.article-revisions summary { color: #29483c; font-weight: 750; cursor: pointer; }
.article-revisions ol { margin: 9px 0 0; padding-left: 20px; }

.article-share {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #d4e0da;
    border-radius: 14px;
    background: #fff;
    color: #214b3d;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(22, 57, 45, .08);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.article-share:hover {
    transform: translateY(-2px);
    border-color: #8ca99c;
    box-shadow: 0 12px 28px rgba(22, 57, 45, .13);
}

.article-share:focus-visible {
    outline: 3px solid rgba(138, 182, 54, .35);
    outline-offset: 3px;
}

.article-share i {
    font-size: 19px;
}

.article-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.article-header-actions .button-controller {
    min-height: 46px;
    text-decoration: none;
}

.article-content {
    color: #20352d;
    font-size: 18px;
    line-height: 1.75;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-text {
    margin: 0 0 1.25em;
}

h2.article-text,
h3.article-text {
    color: #173b2e;
    line-height: 1.25;
}

h2.article-text {
    margin: 1.9em 0 .7em;
    font-size: clamp(26px, 3vw, 34px);
}

h3.article-text {
    margin: 1.6em 0 .65em;
    font-size: clamp(21px, 2.5vw, 27px);
}

.article-text--left { text-align: left; }
.article-text--center { text-align: center; }
.article-text--right { text-align: right; }
.article-text--justify { text-align: justify; }

.article-content a {
    color: #246b50;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.article-content code:not(pre code) {
    padding: .14em .4em;
    border-radius: 6px;
    background: #edf3ef;
    color: #8c3441;
    font: .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article-quote {
    margin: 1.6em 0;
    padding: 18px 22px;
    border-left: 5px solid #b5d542;
    border-radius: 0 14px 14px 0;
    background: #f3f8e7;
    color: #304c3f;
    font-size: 1.08em;
}

.article-list {
    display: grid;
    gap: .45em;
    margin: 0 0 1.45em;
    padding-left: 1.5em;
}

.article-list li::marker {
    color: #68852b;
    font-weight: 800;
}

.article-figure,
.article-video {
    margin: 2.1em 0;
}

.article-figure img,
.article-video video {
    display: block;
    max-width: 100%;
    max-height: 720px;
    margin: 0 auto;
    border-radius: 16px;
    background: #eef3f0;
    box-shadow: 0 18px 48px rgba(22, 50, 40, .12);
}

.article-figure figcaption,
.article-video figcaption {
    margin-top: 11px;
    color: #697c74;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}

.article-video__frame {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border-radius: 16px;
    background: #14231d;
    box-shadow: 0 18px 48px rgba(22, 50, 40, .14);
}

.article-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article-code {
    overflow: hidden;
    margin: 2em 0;
    border: 1px solid #31473e;
    border-radius: 16px;
    background: #202a25;
    box-shadow: 0 16px 38px rgba(18, 35, 29, .16);
}

.article-code__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 11px 9px 13px;
    border-bottom: 1px solid #3b4c44;
    background: #293630;
}

.article-code__tabs {
    display: flex;
    min-width: 0;
    overflow-x: auto;
    gap: 4px;
}

.article-code__tabs button,
.article-code__copy {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #adbbb4;
    font: 700 12px/1 Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
}

.article-code__tabs button[aria-selected=true] {
    border-color: #586b62;
    background: #3b4a43;
    color: #f3f7f5;
}

.article-code__copy {
    flex: 0 0 auto;
    border-color: #566960;
}

.article-code__copy:hover {
    background: #3a4b43;
    color: #fff;
}

.article-code__panel {
    position: relative;
}

.article-code__panel[hidden] {
    display: none;
}

.article-code__language {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 1;
    color: #778b82;
    font: 700 10px/1 Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-code pre {
    max-height: 680px;
    margin: 0;
    overflow: auto;
    padding: 22px;
    background: #202a25 !important;
}

.article-code pre code {
    padding: 0 !important;
    background: transparent !important;
    font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    tab-size: 4;
}

.article-legacy-content > *:first-child { margin-top: 0; }
.article-legacy-content > *:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
    .article-header-actions {
        width: 100%;
        align-items: stretch;
        margin: 18px 0 0;
    }

    .article-header-actions .button-controller {
        flex: 1;
    }

    .article-content {
        font-size: 16px;
    }

    .article-byline__item + .article-byline__item::before {
        display: none;
    }

    .article-code__header {
        align-items: stretch;
        flex-direction: column;
    }

    .article-code__copy {
        align-self: flex-end;
    }

    .article-code pre {
        padding: 18px 14px;
    }
}
