/* Year grids, year index and the posts-per-year chart (home, blog, archives, timeline template).
   Bars read --df-v (0..1); set it server-side, e.g. style="--df-v:.42". */
.df-years{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 var(--df-gutter);margin-block-start:28px;border-block-start:var(--hl);font-variant-numeric:tabular-nums}
.df-years li{border-block-end:var(--hl);padding-block:10px 12px}
.df-years a,.df-years .df-y{display:block;font-weight:600}
.df-years a,.df-year-index a{color:var(--ink);text-decoration:none}
.df-years a:hover,.df-year-index a:hover{color:var(--acc);text-decoration:underline}
.df-years .df-c{display:block;font-size:var(--fs-s);color:var(--mute);font-stretch:var(--df-narrow);font-family:"Archivo","Archivo Narrow Fallback",Arial,sans-serif}
.df-years .is-empty .df-y{color:var(--mute);font-weight:400}
.df-bar{display:block;height:2px;background:var(--line);margin-block-start:8px}
.df-bar > i{display:block;height:100%;width:calc(var(--df-v,0) * 100%);background:var(--mute)}
.df-year-index{columns:2;column-gap:var(--df-gutter);border-block-start:var(--hl);font-variant-numeric:tabular-nums}
@media (min-width:760px){.df-year-index{columns:4}}
@media (min-width:1200px){.df-year-index{columns:5}}
.df-year-index li{break-inside:avoid;border-block-end:var(--hl)}
.df-year-index a,.df-year-index .df-y{display:flex;justify-content:space-between;gap:8px;padding-block:7px}
.df-year-index span + span,.df-year-index .df-y{color:var(--mute)}
.df-year-index [aria-current]{font-weight:600}
.df-chart{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;align-items:end;height:180px;border-block-end:var(--hd)}
.df-chart li,.df-chart a{height:100%;display:flex;flex-direction:column;justify-content:flex-end}
.df-chart__bar{display:block;height:calc(var(--df-v,0) * 100%);min-height:1px;background:var(--mute);transition:background-color .16s ease-out}
.df-chart :is(a:hover,a:focus-visible,.is-peak) .df-chart__bar{background:var(--acc)}
.df-chart-x{display:flex;justify-content:space-between;margin-block-start:6px}
@media (max-width:759px){.df-chart-wrap .df-chart{grid-auto-columns:24px;gap:0;width:max-content} .df-chart a{padding-inline:2px} .df-chart-wrap{padding-block-end:8px;overflow-x:auto}}
.df-author--page{margin-block-start:var(--s40)}
.df-author-facts{margin-block-start:var(--s30)}
.df-author-facts:empty{display:none}
.df-chart-wrap{position:relative}
