/* website/support/miniapp/styles.css — Knowledge Hub (RTL، INTENT-212 #3).
   الألوان متغيّرات CSS يضبطها app.js من Telegram themeParams (themeChanged). */

:root {
    --bg: #ffffff;
    --text: #0f172a;
    --hint: #64748b;
    --link: #2481cc;
    --button: #2481cc;
    --button-text: #ffffff;
    --secondary-bg: #f1f5f9;
    --section-bg: #ffffff;
    --brand: #0f172a;
    --brand-accent: #38bdf8;
    --border: color-mix(in srgb, var(--hint) 22%, transparent);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --gap: 14px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--secondary-bg);
    color: var(--text);
    font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.app {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 14px 40px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}

.app.has-main-btn { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

/* ---- Header ---- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 2px 10px;
    background: color-mix(in srgb, var(--secondary-bg) 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.brand-mark {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 80%, var(--link)) 100%);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.brand-mark svg { width: 22px; height: 22px; }

.topbar-titles { min-width: 0; }

.title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtitle {
    margin: 2px 0 0;
    font-size: .78rem;
    font-weight: 500;
    color: var(--hint);
    line-height: 1.2;
}

.iconbtn {
    border: 0;
    background: var(--section-bg);
    color: var(--link);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.iconbtn:active { transform: scale(.96); }

.ico {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.ico-back { transform: scaleX(-1); }

/* ---- Sticky chrome (search + platform) ---- */
.chrome-sticky {
    position: sticky;
    top: 63px;
    z-index: 9;
    background: color-mix(in srgb, var(--secondary-bg) 94%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding-bottom: 10px;
    margin-bottom: 4px;
}

.searchwrap {
    position: relative;
    padding: 8px 0 10px;
}

.search-icon {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hint);
    pointer-events: none;
    display: flex;
}

#search {
    width: 100%;
    padding: 12px 14px 12px 44px;
    padding-inline-start: 44px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    box-shadow: var(--shadow-sm);
    transition: border-color .15s, box-shadow .15s;
}

#search:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--link) 55%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 18%, transparent);
}

#search::placeholder { color: color-mix(in srgb, var(--hint) 75%, transparent); }

/* Segmented platform filter */
.platformbar.segmented {
    display: flex;
    gap: 0;
    padding: 0;
    background: color-mix(in srgb, var(--hint) 12%, var(--secondary-bg));
    border-radius: var(--radius);
    padding: 3px;
    border: 1px solid var(--border);
}

.platformbar .chip {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--hint);
    border-radius: calc(var(--radius) - 3px);
    padding: 8px 10px;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
}

.platformbar .chip.active {
    background: var(--section-bg);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

/* ---- Main view ---- */
.view {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 2px 0;
}

.section-label {
    color: var(--hint);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: none;
    margin: 0;
}

.section-label + .section-label { margin-top: 8px; }

.group-sep {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

/* ---- Welcome card ---- */
.welcome-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: start;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--section-bg) 0%, color-mix(in srgb, var(--link) 6%, var(--section-bg)) 100%);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    box-shadow: var(--shadow-md);
}

.welcome-card:active { transform: scale(.995); }

.welcome-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--link) 14%, var(--section-bg));
    color: var(--link);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.welcome-icon .ico { width: 22px; height: 22px; }

.welcome-body { flex: 1; min-width: 0; }

.welcome-kicker {
    font-size: .72rem;
    font-weight: 700;
    color: var(--hint);
    margin-bottom: 2px;
}

.welcome-title {
    font-weight: 800;
    font-size: 1rem;
    margin: 0;
}

.welcome-sub {
    font-size: .82rem;
    color: var(--hint);
    margin-top: 2px;
}

.welcome-chevron {
    color: var(--hint);
    flex-shrink: 0;
}

/* ---- Quick actions ---- */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--section-bg);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: .75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: transform .12s, box-shadow .12s;
}

.quick-btn:active { transform: scale(.97); }

.quick-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-btn-icon .ico { width: 18px; height: 18px; }

.quick-btn--ticket .quick-btn-icon { background: color-mix(in srgb, var(--link) 16%, var(--section-bg)); color: var(--link); }
.quick-btn--problem .quick-btn-icon { background: #fef3c7; color: #b45309; }
.quick-btn--feature .quick-btn-icon { background: #dcfce7; color: #15803d; }

/* ---- Category grid ---- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 360px) {
    .cat-grid { grid-template-columns: 1fr; }
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    min-height: 108px;
    text-align: start;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--section-bg);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--cat-accent, var(--link));
    border-radius: 0 4px 4px 0;
}

.cat-card:active { transform: scale(.985); }

.cat-card-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--cat-accent, var(--link)) 14%, var(--section-bg));
    color: var(--cat-accent, var(--link));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-card-icon .ico { width: 18px; height: 18px; }

.cat-card-title {
    font-weight: 800;
    font-size: .92rem;
    line-height: 1.35;
    margin: 0;
}

.cat-card-sub {
    font-size: .75rem;
    color: var(--hint);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-count {
    margin-top: auto;
    font-size: .72rem;
    font-weight: 800;
    color: var(--cat-accent, var(--link));
    background: color-mix(in srgb, var(--cat-accent, var(--link)) 12%, transparent);
    padding: 2px 8px;
    border-radius: 999px;
}

.cat-accent-0 { --cat-accent: #2481cc; }
.cat-accent-1 { --cat-accent: #7c3aed; }
.cat-accent-2 { --cat-accent: #059669; }
.cat-accent-3 { --cat-accent: #d97706; }
.cat-accent-4 { --cat-accent: #db2777; }
.cat-accent-5 { --cat-accent: #0891b2; }

/* ---- Panel (self-service list) ---- */
.panel {
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.panel .section-head { padding: 12px 14px 4px; }

.list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: start;
    padding: 13px 14px;
    border: 0;
    border-top: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
}

.list-row:first-of-type { border-top: 0; }

.list-row:active { background: color-mix(in srgb, var(--hint) 8%, var(--section-bg)); }

.list-row-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--link) 10%, var(--section-bg));
    color: var(--link);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.list-row-icon .ico { width: 18px; height: 18px; }

.list-row-body { flex: 1; min-width: 0; }

.list-row-title {
    display: block;
    font-weight: 700;
    font-size: .92rem;
}

.list-row-sub {
    display: block;
    font-size: .78rem;
    color: var(--hint);
    margin-top: 1px;
}

.list-row-meta {
    font-size: .72rem;
    font-weight: 700;
    color: var(--hint);
    flex-shrink: 0;
}

.list-row-chevron {
    color: color-mix(in srgb, var(--hint) 70%, transparent);
    flex-shrink: 0;
}

.list-row-chevron .ico { width: 18px; height: 18px; transform: scaleX(-1); }

/* ---- Generic cards (lists, settings, roles) ---- */
.card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: start;
    background: var(--section-bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 14px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font: inherit;
}

.card:active { transform: scale(.995); }

.card-body { flex: 1; min-width: 0; }

.card .card-title {
    font-weight: 700;
    margin: 0;
    font-size: .92rem;
    line-height: 1.35;
}

.card .card-sub {
    color: var(--hint);
    font-size: .8rem;
    margin-top: 2px;
    line-height: 1.4;
}

.card .count {
    color: var(--link);
    font-size: .78rem;
    font-weight: 800;
    flex-shrink: 0;
}

.card.selected {
    border: 2px solid var(--button);
    background: color-mix(in srgb, var(--button) 6%, var(--section-bg));
}

.card.selected .count { color: var(--button); }

.card-chevron {
    color: var(--hint);
    flex-shrink: 0;
}

.card-chevron .ico { width: 18px; height: 18px; transform: scaleX(-1); }

/* ---- Badges ---- */
.badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--link) 14%, transparent);
    color: var(--link);
    margin-inline-start: 6px;
    vertical-align: middle;
}

.status-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
}

.status-open { background: #dbeafe; color: #1d4ed8; }
.status-in_progress { background: #fef3c7; color: #b45309; }
.status-resolved { background: #dcfce7; color: #15803d; }
.status-closed { background: #e2e8f0; color: #475569; }

/* ---- Article ---- */
.article {
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-md);
}

.article h2 {
    margin: 0 0 6px;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.35;
}

.article .crumb {
    color: var(--hint);
    font-size: .82rem;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.article .body { word-wrap: break-word; line-height: 1.75; }

.article .body p { margin: 10px 0; }

.article .body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 18px 0 8px;
    color: var(--text);
}

.article .body a { color: var(--link); font-weight: 600; }

.article .body code {
    background: var(--secondary-bg);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: .88em;
}

.article .body ul,
.article .body ol {
    padding-inline-start: 22px;
    margin: 10px 0;
}

.article .body li { margin: 5px 0; }

.article .body strong { font-weight: 800; }

.article .media { margin: 16px 0 0; }

.article .media img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    border: 1px solid var(--border);
}

.article .media figcaption {
    color: var(--hint);
    font-size: .82rem;
    margin-top: 6px;
    text-align: center;
}

/* ---- Rating ---- */
.rating-bar {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.rating-q {
    color: var(--hint);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.rating-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.thumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 16px;
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
}

.thumb:active { transform: scale(.97); }

.thumb:disabled { opacity: .55; cursor: default; }

.thumb.selected {
    background: var(--button);
    color: var(--button-text);
    border-color: var(--button);
}

.thumb-count {
    font-size: .78rem;
    font-weight: 800;
    opacity: .85;
}

/* ---- States ---- */
.state {
    color: var(--hint);
    text-align: center;
    padding: 36px 16px;
    font-size: .92rem;
}

.state.error { color: #dc2626; }

.empty-state {
    text-align: center;
    padding: 28px 16px;
    background: var(--section-bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--hint) 12%, var(--section-bg));
    color: var(--hint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon .ico { width: 24px; height: 24px; }

.empty-state-title {
    font-weight: 800;
    margin: 0 0 4px;
}

.empty-state-sub {
    color: var(--hint);
    font-size: .85rem;
    margin: 0 0 14px;
}

/* ---- Skeleton loading ---- */
.skeleton-wrap { display: flex; flex-direction: column; gap: 10px; }

.skeleton-block {
    height: 72px;
    border-radius: var(--radius);
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--hint) 10%, var(--section-bg)) 25%,
        color-mix(in srgb, var(--hint) 16%, var(--section-bg)) 50%,
        color-mix(in srgb, var(--hint) 10%, var(--section-bg)) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}

.skeleton-block.tall { height: 100px; }

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ---- Forms ---- */
.note {
    color: var(--hint);
    font-size: .88rem;
    line-height: 1.65;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--link) 6%, var(--section-bg));
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.hero-block {
    text-align: center;
    padding: 20px 12px 8px;
}

.hero-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, color-mix(in srgb, var(--link) 18%, var(--section-bg)), color-mix(in srgb, var(--brand-accent) 20%, var(--section-bg)));
    color: var(--link);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon .ico { width: 28px; height: 28px; }

.hero-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.hero-sub {
    color: var(--hint);
    font-size: .88rem;
    margin: 0;
    line-height: 1.55;
}

.form-panel {
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.form-label {
    display: block;
    font-size: .78rem;
    font-weight: 800;
    color: var(--hint);
    margin: 0 0 6px;
}

.form-label + .form-label { margin-top: 12px; }

.sub-input {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    resize: vertical;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sub-input:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--link) 55%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 15%, transparent);
}

.sub-send {
    width: 100%;
    margin-top: 12px;
    padding: 13px;
    border: 0;
    border-radius: var(--radius);
    background: var(--button);
    color: var(--button-text);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.sub-send:disabled { opacity: .55; cursor: default; }

.sub-send--secondary {
    background: var(--section-bg);
    color: var(--link);
    border: 1px solid var(--border);
}

/* ---- Thread messages ---- */
.thread-head { margin-bottom: 4px; }

.thread-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.msg-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0;
}

.msg {
    max-width: 92%;
    border-radius: var(--radius);
    padding: 10px 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.msg-user {
    align-self: flex-start;
    background: var(--section-bg);
    border-inline-start: 3px solid color-mix(in srgb, var(--hint) 45%, transparent);
}

.msg-agent {
    align-self: flex-end;
    background: color-mix(in srgb, var(--link) 8%, var(--section-bg));
    border-inline-start: 3px solid var(--button);
}

.msg-who {
    color: var(--hint);
    font-size: .72rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.msg-text {
    font-size: .92rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.reply-box {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.reply-box .sub-send { display: none; }

.app.no-tg-main .reply-box .sub-send,
.app.no-tg-main .form-panel .sub-send { display: block; }

/* ---- Web help (M7) ---- */
.brand-mark-link {
    text-decoration: none;
    color: inherit;
}

.site-footer-link {
    text-align: center;
    padding: 16px 0 8px;
    font-size: .82rem;
}

.site-footer-link a {
    color: var(--link);
    font-weight: 700;
    text-decoration: none;
}

.support-hub {
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
}

.support-hub-head {
    margin-bottom: 14px;
}

.support-hub-title {
    font-weight: 800;
    font-size: 1rem;
    margin: 0 0 4px;
}

.support-hub-sub {
    color: var(--hint);
    font-size: .85rem;
    margin: 0;
    line-height: 1.5;
}

.support-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--border);
    transition: transform .12s, box-shadow .12s;
}

.support-action:active { transform: scale(.99); }

.support-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-action-icon .ico { width: 20px; height: 20px; }

.support-action-body { flex: 1; min-width: 0; }

.support-action-label { display: block; font-size: .92rem; }

.support-action-meta {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    opacity: .85;
    margin-top: 2px;
}

.support-action-badge {
    font-size: .68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    flex-shrink: 0;
}

.support-action--tg {
    background: linear-gradient(135deg, color-mix(in srgb, var(--link) 10%, var(--section-bg)), var(--section-bg));
    color: var(--text);
    border-color: color-mix(in srgb, var(--link) 35%, var(--border));
}

.support-action--tg .support-action-icon {
    background: color-mix(in srgb, var(--link) 18%, var(--section-bg));
    color: var(--link);
}

.support-action--wa {
    background: var(--section-bg);
    color: var(--text);
}

.support-action--wa .support-action-icon {
    background: #dcfce7;
    color: #15803d;
}

.article-foot-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: .85rem;
    color: var(--hint);
    line-height: 1.55;
}

.article-foot-note a {
    color: var(--link);
    font-weight: 700;
    text-decoration: none;
}

