/* SanatMali v21 — scoped category/author layouts and core WP sidebar widgets. */
#sm-archive-v21{--sma-navy:#203a70;--sma-ink:#25384f;--sma-muted:#687c93;--sma-line:#e2e8f1;--sma-bg:#fff;max-width:1280px;margin:22px auto 38px;padding:0 16px;color:var(--sma-ink);direction:rtl}
#sm-archive-v21, #sm-archive-v21 *{box-sizing:border-box}
#sm-archive-v21 .sm-archive__grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:24px}
#sm-archive-v21 .sm-archive__content{min-width:0}
#sm-archive-v21 .sm-archive__hero,#sm-archive-v21 .sm-archive__results{background:#fff;border:1px solid var(--sma-line);border-radius:16px;padding:24px 26px;margin-bottom:18px;box-shadow:0 6px 20px rgba(29,46,77,.04)}
#sm-archive-v21 .sm-archive__crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--sma-muted);margin-bottom:16px}
#sm-archive-v21 .sm-archive__crumbs a{color:var(--sma-muted);text-decoration:none}
#sm-archive-v21 .sm-archive__crumbs a:hover{color:var(--sma-navy)}
#sm-archive-v21 .sm-archive__eyebrow{font-size:12px;font-weight:700;color:#5576a3;margin:0 0 6px}
#sm-archive-v21 .sm-archive__title{font-size:clamp(23px,2vw,29px);font-weight:800;line-height:1.65;color:#172c4c;margin:0 0 8px}
#sm-archive-v21 .sm-archive__description{color:#4f6077;font-size:14px;line-height:2;margin-top:10px}
#sm-archive-v21 .sm-archive__description p{margin:0 0 12px}
#sm-archive-v21 .sm-archive__identity{display:flex;align-items:center;gap:22px}
#sm-archive-v21 .sm-archive__portrait,#sm-archive-v21 .sm-archive__portrait-placeholder{display:flex;align-items:center;justify-content:center;flex:none;width:112px;height:112px;object-fit:cover;border-radius:18px;background:#eef3fa;border:1px solid #dbe3f0}
#sm-archive-v21 .sm-archive__portrait-placeholder{font-size:28px;color:#73849a}
#sm-archive-v21 .sm-archive__identity-content{min-width:0}
#sm-archive-v21 .sm-archive__author-site{display:inline-block;margin-top:8px;color:var(--sma-navy);font-weight:700;font-size:13px}
#sm-archive-v21 .sm-archive__section-heading h2{font-size:18px;color:#1e365c;line-height:1.75;margin:0 0 16px;font-weight:800}
#sm-archive-v21 .sm-archive__card{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:18px 0;border-bottom:1px solid var(--sma-line)}
#sm-archive-v21 .sm-archive__card:first-child{padding-top:0}
#sm-archive-v21 .sm-archive__card:last-child{padding-bottom:0;border-bottom:0}
#sm-archive-v21 .sm-archive__thumb{display:block;overflow:hidden;border-radius:12px;aspect-ratio:16/10;background:#f1f4f8}
#sm-archive-v21 .sm-archive__thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
#sm-archive-v21 .sm-archive__card:hover .sm-archive__thumb img{transform:scale(1.02)}
#sm-archive-v21 .sm-archive__card-text{min-width:0;align-self:center}
#sm-archive-v21 .sm-archive__category{display:inline-flex;color:var(--sma-navy);background:#eef4fb;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:750}
#sm-archive-v21 .sm-archive__kicker{font-size:12px;color:#75869b;margin:8px 0 2px;line-height:1.8}
#sm-archive-v21 .sm-archive__card-title{font-size:17px;line-height:1.9;font-weight:800;color:#203452;margin:7px 0}
#sm-archive-v21 .sm-archive__card-title a{color:inherit;text-decoration:none}
#sm-archive-v21 .sm-archive__card-title a:hover,#sm-archive-v21 .sm-archive__card-title a:focus-visible{color:#416ca3}
#sm-archive-v21 .sm-archive__excerpt{font-size:13px;line-height:2;color:#66778e;margin:7px 0}
#sm-archive-v21 .sm-archive__card-meta{display:flex;gap:14px;flex-wrap:wrap;color:#8995a6;font-size:11px}
#sm-archive-v21 .sm-archive__pagination{margin-top:22px}
#sm-archive-v21 .sm-archive__empty{color:#6a7b90;font-size:14px}
#sm-archive-v21 .sm-archive__sidebar{min-width:0}
#sm-archive-v21 .sm-archive__sidebar > div{max-width:100%;width:100%;padding:0}
#sm-archive-v21 .sm-archive__sidebar .l-sidebar{width:100%}
/* Shared, gentle WordPress sidebar UI; do not affect Elementor widgets. */
.l-sidebar .widget,.r-sidebar .widget,.l-sidebar .sm-widget,.r-sidebar .sm-widget{background:#fff;border:1px solid #e2e8f1;border-radius:14px;box-shadow:0 5px 18px rgba(30,48,78,.035);padding:13px 14px;margin-bottom:15px}
.l-sidebar .widget-title,.r-sidebar .widget-title,.l-sidebar .widget h3,.r-sidebar .widget h3{color:#203a70;font-size:15px;font-weight:800;line-height:1.7}
.l-sidebar .widget a:hover,.r-sidebar .widget a:hover,.l-sidebar .sm-widget a:hover,.r-sidebar .sm-widget a:hover{color:#416ca3!important;background:transparent!important;transform:none!important;box-shadow:none!important;text-decoration:none}
.l-sidebar .widget a,.r-sidebar .widget a{transition:color .16s ease}
.l-sidebar :is(.tagcloud,.wp-block-tag-cloud),.r-sidebar :is(.tagcloud,.wp-block-tag-cloud){display:flex;flex-wrap:wrap;gap:7px}
.l-sidebar :is(.tagcloud,.wp-block-tag-cloud) a,.r-sidebar :is(.tagcloud,.wp-block-tag-cloud) a{display:inline-flex;align-items:center;margin:0;padding:5px 9px;border-radius:999px;border:1px solid #dae5f3;color:#35577f;font-size:12px!important;line-height:1.65}
@media(max-width:991px){#sm-archive-v21 .sm-archive__grid{grid-template-columns:minmax(0,1fr)}#sm-archive-v21 .sm-archive__hero,#sm-archive-v21 .sm-archive__results{padding:18px}}
@media(max-width:600px){#sm-archive-v21{padding:0 10px;margin:12px auto 22px}#sm-archive-v21 .sm-archive__card{grid-template-columns:116px minmax(0,1fr);gap:12px;padding:14px 0}#sm-archive-v21 .sm-archive__card-title{font-size:14px;line-height:1.8}#sm-archive-v21 .sm-archive__excerpt{display:none}#sm-archive-v21 .sm-archive__identity{align-items:flex-start;gap:12px}#sm-archive-v21 .sm-archive__portrait,#sm-archive-v21 .sm-archive__portrait-placeholder{width:76px;height:76px;border-radius:12px}#sm-archive-v21 .sm-archive__title{font-size:22px}}
@media(prefers-reduced-motion:reduce){#sm-archive-v21 .sm-archive__thumb img{transition:none;transform:none!important}}
