/* aesthetic-polish: 10 CSS-only polish items (owner pt1450u «go ahead», 2026-11-02). GR + EN. Not on kids book pages; on the Kids corner index only item 4. */
/* 1. Lighter, calmer card titles (homepage Κείμενα grid, thinker pages, Tools pages) */
#works .gb h3,.cpl-card .gb h3,.cpl-bookcard .gb h3,.tgrid .gc .gb h3{font-weight:500!important;line-height:1.36!important;text-wrap:balance}
#works .gth{font-size:14px}
/* 2. No one-word last lines in headings (not on the Kids corner index) */
:where(body:not(:has(.xp-cards))) :is(h1,h2,h3,.cpl-t){text-wrap:balance}
:where(body:not(:has(.xp-cards))) :is(p,li){text-wrap:pretty}
/* 3. Ask Mises: the title appears at once, same gentle rise */
.amh-in h1{animation-delay:.15s!important;animation-duration:.9s!important}
.amh-in .amh-rule{animation-delay:.25s!important;animation-duration:.9s!important}
.amh-in .sub{animation-delay:.35s!important;animation-duration:.9s!important}
.amh-in .gth{animation-delay:.45s!important;animation-duration:.9s!important}
@media (prefers-reduced-motion:reduce){.amh-in>*,.amh-in h1,.amh-in .amh-rule,.amh-in .sub,.amh-in .gth,.amh-in .gm{animation:none!important;opacity:1!important;transform:none!important}}
/* 4. Smallest running text up to about 15 px */
.ab2-tx p{font-size:15.2px!important;line-height:1.62!important}
.ab2-go{font-size:14px!important}
.htc-names{font-size:14px!important;line-height:1.65!important}
.entry .def,html[lang=en] .entry>p.x{font-size:16.5px!important}
.xp-card .b p{font-size:15px!important;line-height:1.6!important}
.mt-src{font-size:15px!important;line-height:1.6!important}
/* 5. Glossary legend: one clean column */
.gl-leg3{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
.gl-leg2{grid-template-columns:1fr!important}
.gl-leg p{font-size:15px!important;line-height:1.6!important;hyphens:manual!important}
@media (min-width:761px){.gl-leg3>div{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:baseline}}
/* 6. Thinkers: two even rows of five (wide screens) */
@media (min-width:981px){#thinkers .gallery{grid-template-columns:repeat(5,1fr)!important;gap:18px!important}}
/* 7. Homepage: gap before the footer like the other section breaks */
#about.av2+footer{margin-top:40px!important}
/* 8. Phone: centre the second row of the stats strip (3 + 2) */
@media (max-width:720px){.stats{display:grid!important;grid-template-columns:repeat(6,1fr)!important;gap:0!important}.stats>div{grid-column:span 2!important;border:0!important;padding-top:18px!important;padding-bottom:18px!important}.stats>div:nth-child(4){grid-column:2/span 2!important}}
/* 9. Book pages: the four facts on one line */
@media (min-width:721px){.pl-meta:has(>.w2){grid-template-columns:auto auto 1fr auto!important;column-gap:28px!important}.pl-meta:has(>.w2) .w2{grid-column:auto!important}}
/* 10. EN book contents: small caps instead of ALL CAPS */
html[lang=en] .bk-chs a{font-variant-caps:all-small-caps;letter-spacing:.045em;font-size:1.2em}
