/* Compact article ending; colors follow the shared site theme. */
.article-footer {
    --footer-highlight: #fff1cf;
    --footer-highlight-ink: #704800;
    margin: 20px 0 24px;
    color: var(--site-ink, #172238);
    font-size: 15px;
    line-height: 1.5;
}
.article-footer__practice { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; }
.article-footer__prompt { padding: 8px 12px; border-radius: 8px; background: var(--footer-highlight); color: var(--footer-highlight-ink); font-weight: 650; }
.article-footer__quiz { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 8px; background: var(--site-action, #3659e3); color: var(--site-on-action, #fff); text-decoration: none; font-weight: 650; }
.article-footer__quiz:is(:hover, :focus-visible) { background: var(--site-action-hover, #2546bd); color: var(--site-on-action, #fff); }
.article-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 12px 14px; border: 1px solid var(--site-line, #e2e8f0); border-radius: 12px; background: var(--site-soft, #f1f5f9); }
.article-footer__author { display: flex; align-items: center; gap: 11px; min-width: 0; }
.article-footer__profile { display: inline-flex; flex: none; box-sizing: border-box; width: 48px; height: 48px; padding: 3px; border: 2px solid var(--site-link, #1d4ed8); border-radius: 50%; background: var(--site-surface, #fff); }
.article-footer__avatar { flex: none; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.article-footer__initial { display: inline-flex; align-items: center; justify-content: center; background: var(--site-soft, #f1f5f9); color: var(--site-link, #1d4ed8); font-weight: 700; }
.article-footer__name { min-width: 0; color: var(--site-ink, #172238); font-size: 16px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
a.article-footer__name:hover { color: var(--site-link, #1d4ed8); text-decoration: underline; text-underline-offset: 3px; }
.article-footer__verified { flex: none; color: var(--site-link, #1d4ed8); font-size: 19px; }
.article-footer__actions { display: flex; flex: none; align-items: center; gap: 10px; }
.article-footer__button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--site-line, #e2e8f0); border-radius: 8px; background: var(--site-surface, #fff); color: var(--site-ink, #172238); font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.article-footer__button:hover { background: var(--site-soft, #f1f5f9); border-color: var(--site-muted, #52647b); }
.article-footer__separator { height: 18px; width: 1px; background: var(--site-line, #e2e8f0); }
.article-footer__share { padding: 6px; min-width: 180px; background: var(--site-surface, #fff); border: 1px solid var(--site-line, #e2e8f0); border-radius: 9px; box-shadow: 0 8px 24px #00000012; }
.article-footer__share .dropdown-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 5px; color: var(--site-ink, #172238); font-size: 14px; white-space: normal; }
.article-footer__share .dropdown-item:is(:hover, :focus) { background: var(--site-soft, #f1f5f9); color: var(--site-ink, #172238); }
.article-footer :is(a, button):focus-visible { outline: 2px solid var(--site-link, #1d4ed8); outline-offset: 3px; }
html[data-site-theme="dark"] .article-footer { --footer-highlight: #3d301b; --footer-highlight-ink: #ffe2a3; }
@media (max-width: 767px) {
    .article-footer__row { flex-wrap: wrap; gap: 12px; }
    .article-footer__author { flex: 1 1 100%; }
    .article-footer__actions { width: 100%; }
    .article-footer__actions > button { flex: 1; }
    .article-footer__actions > .dropdown { flex: 1; }
    .article-footer__actions > .dropdown > button { width: 100%; }
    .article-footer__button, .article-footer__quiz { min-height: 44px; }
    .article-footer__share .dropdown-item { min-height: 44px; }
}
@media print { .article-footer { display: none !important; } }
