/* Majmua-e-Kalam archive — premium white editorial UI (unified design system). */
.naat-maj-main { padding-top: 116px; padding-bottom: var(--ds-section-y, 64px); }
.naat-maj-wrap { max-width: var(--naat-max, 1360px); margin: 0 auto; padding: 0 var(--naat-gutter, 20px); }

/* Hero */
.naat-maj-hero { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.naat-maj-kicker { display: inline-block; font-family: var(--naat-font-ui); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ds-accent, #047857); }
.naat-maj-h1 { font-family: var(--naat-font-display); font-size: clamp(30px, 5vw, 46px); font-weight: 400; letter-spacing: -.01em; color: var(--ds-ink, #0b1220); margin: 8px 0 10px; line-height: 1.1; }
.naat-maj-sub { font-family: var(--naat-font-ui); color: var(--ds-muted, #64748b); font-size: 15px; line-height: 1.6; margin: 0 auto; max-width: 60ch; }

/* Filters */
.naat-maj-filters { background: #fff; border: 1px solid #eef1f5; border-radius: 20px; padding: 18px; box-shadow: 0 8px 30px rgba(15,23,42,.05); margin-bottom: 18px; }
.naat-maj-searchrow { position: relative; margin-bottom: 16px; }
.naat-maj-search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
#maj-search { width: 100%; padding: 13px 16px 13px 42px; border: 1px solid #e2e8f0; border-radius: 14px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
#maj-search:focus { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.12); }
.naat-maj-grid-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.naat-maj-field { display: flex; flex-direction: column; gap: 5px; }
.naat-maj-flabel { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.naat-maj-field select { width: 100%; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 11px; font-size: 13px; background: #f8fafc; color: #0f172a; cursor: pointer; }
.naat-maj-field select:focus { border-color: #10b981; outline: none; }
.naat-maj-filteractions { margin-top: 14px; }
.naat-maj-clear { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .15s; }
.naat-maj-clear:hover { background: #dc2626; color: #fff; border-color: #dc2626; }

/* Alphabet navigation */
.naat-maj-alpha-wrap { margin-bottom: 16px; }
.naat-maj-alpha-modes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 12px; }
.naat-maj-amode { font-family: var(--font-urdu, "Noto Nastaliq Urdu", serif); font-size: 15px; line-height: 2; padding: 8px 20px; border-radius: 14px; border: 1px solid #eef1f5; background: #fff; color: #475569; cursor: pointer; transition: all .15s; }
.naat-maj-amode:hover { border-color: #d1fae5; }
.naat-maj-amode.is-active { background: #059669; color: #fff; border-color: #059669; box-shadow: 0 4px 14px rgba(5,150,105,.22); }
.naat-maj-alpha { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 10px; background: #fff; border: 1px solid #eef1f5; border-radius: 16px; }
.naat-maj-letter { min-width: 38px; padding: 7px 11px; border: 0; background: #f8fafc; border-radius: 10px; font-size: 15px; font-weight: 700; color: #475569; cursor: pointer; transition: all .15s; }
.naat-maj-letter[dir="rtl"] { font-family: var(--font-urdu, "Noto Nastaliq Urdu", serif); }
.naat-maj-letter:hover { background: #ecfdf5; color: #047857; }
.naat-maj-letter.is-active { background: #059669; color: #fff; }

/* Toolbar */
.naat-maj-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.naat-maj-sort { display: flex; align-items: center; gap: 8px; }
.naat-maj-sort label { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.naat-maj-sort select { padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 11px; font-size: 13px; background: #fff; color: #0f172a; cursor: pointer; }
.naat-maj-count { font-size: 13px; color: #64748b; }
.naat-maj-count #maj-count { font-weight: 800; color: #059669; }

/* Results */
.naat-maj-results.is-loading { opacity: .5; pointer-events: none; transition: opacity .15s; }
.naat-maj-empty { text-align: center; padding: 48px 16px; color: #94a3b8; font-size: 15px; }
.naat-maj-more-wrap { text-align: center; margin-top: 28px; }
.naat-maj-more { padding: 12px 28px; border-radius: 999px; background: #fff; border: 1px solid #d1fae5; color: #047857; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s; }
.naat-maj-more:hover { background: #059669; color: #fff; border-color: #059669; }

@media (prefers-reduced-motion: reduce) {
	.naat-maj-amode, .naat-maj-letter, .naat-maj-clear, .naat-maj-more, #maj-search { transition: none; }
}

/* ============================================================
   Item 5 — Unified compact sticky toolbar + view switcher
   ============================================================ */
/* Auto-hide toolbar: stays sticky at the top, but slides up out of view while
   scrolling DOWN and smoothly slides back when scrolling UP. Transform-only so
   there is zero layout shift (the sticky box keeps its place in the flow). */
.naat-maj-toolbar2 {
    position: sticky; top: 92px; z-index: 30; margin-bottom: 16px;
    transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
    will-change: transform;
}
.naat-maj-toolbar2.is-hidden { transform: translateY(-140%); opacity: 0; pointer-events: none; }
.naat-maj-toolbar2.is-stuck .naat-maj-tbar { box-shadow: 0 10px 30px -14px rgba(15,23,42,.22); border-color: #e2e8f0; }
@media (prefers-reduced-motion: reduce) {
    .naat-maj-toolbar2 { transition: none; }
    .naat-maj-toolbar2.is-hidden { transform: none; opacity: 1; pointer-events: auto; }
}
.naat-maj-tbar {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(16px);
    border: 1px solid var(--ds-line, #eef1f5); border-radius: var(--ds-r-md, 16px);
    padding: 9px 12px; box-shadow: var(--ds-shadow-sm, 0 4px 18px -12px rgba(15,23,42,.14));
}
.naat-maj-tbar-search { position: relative; flex: 0 0 auto; min-width: 200px; display: flex; align-items: center; }
.naat-maj-tbar-search i { position: absolute; left: 12px; color: #10b981; font-size: 13px; }
.naat-maj-tbar-search input { width: 200px; max-width: 28vw; padding: 9px 12px 9px 32px; border: 1px solid #e2e8f0; border-radius: 999px; font-size: 13px; outline: none; background: #f8fafc; transition: border-color .15s, background .15s; }
.naat-maj-tbar-search input:focus { border-color: #34d399; background: #fff; }

.naat-maj-tbar-scroll { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.naat-maj-tbar-scroll::-webkit-scrollbar { display: none; }
.naat-maj-tbar-scroll select {
    flex: 0 0 auto; appearance: none; -webkit-appearance: none;
    padding: 8px 30px 8px 14px; border: 1px solid #e2e8f0; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; color: #475569; background: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; cursor: pointer;
    transition: border-color .15s, color .15s; white-space: nowrap;
}
.naat-maj-tbar-scroll select:hover { border-color: #34d399; color: #047857; }
.naat-maj-sortsel { font-weight: 700 !important; color: #047857 !important; border-color: #a7f3d0 !important; background-color: #ecfdf5 !important; }
.naat-maj-clear { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 999px; border: 1px solid #fecaca; background: #fef2f2; color: #ef4444; cursor: pointer; transition: background .15s; }
.naat-maj-clear:hover { background: #fee2e2; }

.naat-maj-viewswitch { flex: 0 0 auto; display: flex; gap: 2px; background: #f1f5f9; border-radius: 12px; padding: 3px; }
.naat-maj-vbtn { width: 36px; height: 32px; border: none; background: transparent; border-radius: 9px; color: #94a3b8; cursor: pointer; transition: all .15s; font-size: 15px; }
.naat-maj-vbtn.is-active { background: #fff; color: #047857; box-shadow: 0 2px 6px -2px rgba(15,23,42,.2); }

.naat-maj-countstrip { display: flex; justify-content: flex-end; margin-bottom: 12px; }

/* Card grid (view: card) */
/* Match the Front Page Latest Kalam grid exactly (2 mobile → 4 desktop). */
.naat-maj-results.is-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: stretch; }
@media (min-width: 640px) { .naat-maj-results.is-card { gap: 1.5rem; } }
@media (min-width: 1024px) { .naat-maj-results.is-card { grid-template-columns: repeat(4, 1fr); } }

/* ===== Advanced bilingual List View ===== */
.naat-maj-results.is-list { display: flex; flex-direction: column; gap: 10px; }
/* Two equal columns, no trailing arrow. Apple-style aligned rows. */
.naat-maj-row {
    position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; gap: 24px;
    background: var(--ds-surface, #fff); border: 1px solid var(--ds-line, #eef1f5); border-radius: var(--ds-r-md, 16px); padding: 22px 24px; overflow: hidden;
    box-shadow: var(--ds-shadow-xs, 0 1px 2px rgba(15,23,42,.04));
    transition: border-color var(--ds-t,.28s), box-shadow var(--ds-t,.28s), transform var(--ds-t,.28s);
}
.naat-maj-row:hover { border-color: var(--ds-accent-line, #a7f3d0); box-shadow: var(--ds-shadow-md, 0 10px 30px -18px rgba(15,23,42,.22)); transform: translateY(-2px); }
.naat-maj-row-link { position: absolute; inset: 0; z-index: 2; }
.naat-maj-row-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--maj-accent, #059669); }

/* Icons removed from titles, lyric lines and views; only Writer + Book rows
   keep a small leading icon. Non-icon rows are plain single-column blocks. */
.naat-maj-row-en, .naat-maj-row-ur { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.naat-maj-row-entitle,
.naat-maj-row-enline,
.naat-maj-row-urline { margin: 0; }
.naat-maj-row-meta { margin: 0; }
/* Writer + Book: fixed icon rail + flexible text. */
.naat-maj-row-writer,
.naat-maj-row-book,
.naat-maj-row-urbook {
    display: grid; grid-template-columns: 22px 1fr; align-items: center; column-gap: 10px;
}
.naat-maj-row-ico {
    width: 22px; height: 22px; border-radius: 999px; background: #f1f5f9;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: var(--maj-accent, #047857); font-size: 11px; line-height: 1;
}
.naat-maj-row-ico svg, .naat-maj-row-ico img { width: 12px; height: 12px; }
.naat-maj-row-txt { min-width: 0; }

/* English side (LTR, left aligned) */
.naat-maj-row-en { padding-left: 6px; text-align: left; }
.naat-maj-row-entitle .naat-maj-row-txt { font-family: var(--naat-font-ui, sans-serif); font-size: 15.5px; font-weight: 700; color: #0f172a; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.naat-maj-row-enline .naat-maj-row-txt { font-family: var(--naat-font-ui, sans-serif); font-size: 12.5px; color: #475569; line-height: 1.7; }
.naat-maj-row-meta .naat-maj-row-txt { font-family: var(--naat-font-ui, sans-serif); font-size: 12.5px; color: #64748b; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.naat-maj-row-writer .naat-maj-row-txt { font-weight: 600; color: #475569; }
.naat-maj-row-book .naat-maj-row-txt { color: #94a3b8; }
.naat-maj-row-views .naat-maj-row-txt { color: #94a3b8; }

/* Taxonomy pill row — left aligned under the text. */
.naat-maj-row-entax { display: flex; flex-wrap: wrap; gap: 6px; }
.naat-maj-tax { font-family: var(--naat-font-ui, sans-serif); font-size: 10.5px; font-weight: 600; line-height: 1; padding: 4px 11px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.naat-maj-tax-cat { color: var(--maj-accent, #047857); background: color-mix(in srgb, var(--maj-accent, #047857) 9%, #fff); border-color: color-mix(in srgb, var(--maj-accent, #047857) 22%, #fff); font-weight: 700; }
.naat-maj-tax-topic { color: #475569; background: #f1f5f9; border-color: #e2e8f0; }
.naat-maj-tax-tag { color: #64748b; background: #fff; border-color: #e2e8f0; }

/* Urdu side (RTL, right aligned): icon rail on the RIGHT, text flows RTL. */
.naat-maj-row-en + .naat-maj-row-ur { border-left: 1px solid #f1f5f9; padding-left: 20px; }
.naat-maj-row-ur { text-align: right; padding-right: 6px; }
.naat-maj-row-ur .naat-maj-row-urbook { grid-template-columns: 1fr 22px; }
.naat-maj-row-ur .naat-maj-row-ico { order: 2; }
.naat-maj-row-ur .naat-maj-row-urbook .naat-maj-row-txt { order: 1; }
.naat-maj-row-ur .naat-maj-row-txt { text-align: right; }
.naat-maj-row-urline .naat-maj-row-txt { font-family: "NaatFont", serif !important; font-size: 18px; color: #0f2a22; line-height: 1.95; }
.naat-maj-row-ur .naat-maj-row-meta .naat-maj-row-txt { font-family: "Lateef", serif; font-size: 15px; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.naat-maj-row-urbook .naat-maj-row-txt { color: #94a3b8; }

@media (max-width: 720px) {
    .naat-maj-row { grid-template-columns: 1fr; gap: 14px; padding: 16px 16px; }
    .naat-maj-row-en + .naat-maj-row-ur { border-left: 0; border-top: 1px solid #f1f5f9; padding-left: 6px; padding-top: 14px; }
    .naat-maj-row-ur { text-align: right; }
    .naat-maj-row-entax { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) { .naat-maj-row { transition: none; } }

/* ===== Sidebar: instant filters + Popular + Recommended ===== */
.naat-maj-sidesticky { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1024px) { .naat-maj-sidesticky { position: sticky; top: 96px; } }
.naat-maj-widget { background: var(--ds-surface, #fff); border: 1px solid var(--ds-line, #eef1f5); border-radius: var(--ds-r-lg, 20px); padding: 16px 16px 18px; box-shadow: var(--ds-shadow-sm, 0 4px 18px -12px rgba(15,23,42,.12)); }
.naat-maj-wtitle { display: flex; align-items: center; gap: 8px; font-family: var(--naat-font-ui, sans-serif); font-size: 13px; font-weight: 800; color: #0f172a; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.naat-maj-wtitle i { color: #059669; }
.naat-maj-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.naat-maj-chip { font-family: var(--naat-font-ui, sans-serif); font-size: 12px; font-weight: 600; color: #475569; background: #f8fafc; border: 1px solid #e9eef3; border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: all .14s; }
.naat-maj-chip:hover { border-color: #34d399; color: #047857; background: #f0fdf4; }
.naat-maj-chip.is-active { background: #059669; border-color: #059669; color: #fff; }

.naat-maj-poplist, .naat-maj-reclist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.naat-maj-popitem + .naat-maj-popitem, .naat-maj-recitem + .naat-maj-recitem { border-top: 1px solid #f4f6f9; }
.naat-maj-popitem a, .naat-maj-recitem a { display: grid; gap: 3px; padding: 10px 4px; text-decoration: none; }
.naat-maj-popitem a:hover, .naat-maj-recitem a:hover { background: #f8fafc; border-radius: 10px; }
.naat-maj-pop-en, .naat-maj-rec-en { font-family: var(--naat-font-ui, sans-serif); font-size: 13px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.naat-maj-pop-ur, .naat-maj-rec-ur { font-family: "NaatFont", serif; font-size: 15px; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.naat-maj-pop-meta { font-family: var(--naat-font-ui, sans-serif); font-size: 11px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.naat-maj-rec-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.naat-maj-rec-topic, .naat-maj-rec-tag { font-family: var(--naat-font-ui, sans-serif); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.naat-maj-rec-topic { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.naat-maj-rec-tag { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.naat-maj-rec-writer { font-family: "Lateef", serif; font-size: 13px; color: #94a3b8; margin-top: 2px; }

/* Infinite loading */
.naat-maj-sentinel { height: 1px; }
.naat-maj-loading { display: inline-flex; align-items: center; gap: 8px; font-family: var(--naat-font-ui, sans-serif); font-size: 13px; color: #64748b; }
.naat-maj-spinner { width: 16px; height: 16px; border: 2px solid #d1fae5; border-top-color: #059669; border-radius: 50%; animation: naat-maj-spin .7s linear infinite; }
@keyframes naat-maj-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .naat-maj-spinner { animation: none; } }

/* ============================================================
   Majmua-e-Kalam — Premium White card (cover + title + writer + count).
   ============================================================ */
.naat-mc {
	position: relative; display: flex; flex-direction: column; align-items: center;
	text-align: center; text-decoration: none; height: 100%;
	background: #ffffff; border: 1px solid #f2f2f2; border-radius: 22px;
	padding: 22px 18px 16px; overflow: hidden;
	box-shadow: 0 10px 30px -20px rgba(15,23,42,.22);
	transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.naat-mc-tint {
	position: absolute; inset: 0 0 auto 0; height: 46%; pointer-events: none;
	background: linear-gradient(180deg, color-mix(in srgb, var(--mc-accent, #047857) 10%, #fff) 0%, rgba(255,255,255,0) 100%);
}
.naat-mc > * { position: relative; z-index: 1; }
.naat-mc:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 50px -24px color-mix(in srgb, var(--mc-accent, #047857) 45%, rgba(15,23,42,.3));
	border-color: color-mix(in srgb, var(--mc-accent, #047857) 35%, #f2f2f2);
}
.naat-mc-cat {
	align-self: center; font-family: var(--naat-font-ui, "Bricolage Grotesque", sans-serif);
	font-size: 10px; font-weight: 700; text-transform: uppercase; color: #fff;
	background: var(--mc-accent, #047857); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
	box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--mc-accent, #047857) 80%, transparent);
}
.naat-mc-cover-wrap { width: 96px; aspect-ratio: 4 / 5; margin-bottom: 16px; flex: 0 0 auto; }
.naat-mc-cover {
	width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
	box-shadow: 0 12px 24px -12px rgba(15,23,42,.4); background: #f1f5f9;
}
.naat-mc-cover-ph {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	border-radius: 12px; color: #fff; font-size: 34px; font-weight: 700;
	font-family: var(--naat-font-ui, "Bricolage Grotesque", sans-serif);
	background: linear-gradient(140deg, var(--mc-accent, #047857), color-mix(in srgb, var(--mc-accent, #047857) 55%, #0b1f17));
}
.naat-mc-body { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; margin-bottom: 14px; }
.naat-mc-title {
	font-size: 19px; line-height: 1.55; color: #0b1220; font-weight: 600; width: 100%;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.naat-mc-title.font-urdu { font-size: 20px; line-height: 1.9; }
.naat-mc-roman {
	font-size: 12.5px; color: #94a3b8; width: 100%;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.naat-mc-writer { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; max-width: 100%; }
.naat-mc-avatar {
	flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: inline-flex;
	align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff;
	font-family: var(--naat-font-ui, "Bricolage Grotesque", sans-serif);
	background: linear-gradient(140deg, var(--mc-accent, #047857), color-mix(in srgb, var(--mc-accent, #047857) 60%, #0b1f17));
}
.naat-mc-writer-name {
	font-size: 14px; color: #475569; font-weight: 600;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.naat-mc-foot {
	margin-top: auto; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding-top: 14px; border-top: 1px solid #f1f5f9;
}
.naat-mc-book {
	font-size: 12.5px; color: #64748b; display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.naat-mc-book i { color: var(--mc-accent, #047857); flex: 0 0 auto; }
.naat-mc-count {
	display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #0b1220;
	background: color-mix(in srgb, var(--mc-accent, #047857) 8%, #fff);
	border: 1px solid color-mix(in srgb, var(--mc-accent, #047857) 22%, #f2f2f2);
	padding: 5px 14px; border-radius: 999px;
}
.naat-mc-count i { color: var(--mc-accent, #047857); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .naat-mc { transition: none; } }

/* Kalam archive: optional sticky contextual sidebar (desktop only). */
.naat-maj-layout { display: block; }
.naat-maj-primary { min-width: 0; }
@media (min-width: 1024px) {
	.naat-maj-layout.has-side { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 2rem; align-items: start; }
}
@media (min-width: 1024px) {
	.naat-maj-layout.has-ctx { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 2rem; align-items: start; }
	.naat-maj-layout.has-ctx .naat-maj-aside { align-self: start; }
}
.naat-maj-aside { width: 100%; margin-top: 28px; }
@media (min-width: 1024px) { .naat-maj-aside { margin-top: 0; } }
