/* Reading pages: About, Privacy, the photography guides and the admin dashboard. Colours are the
   CSS variables from style.css, set from /api/config by pages.js; nothing here names a colour. */
html:not([lang="en"]) [lang="en"]:not(html), html[lang="en"] [lang="zh-CN"]:not(html) { display: none; }
.top a.wordmark { color: var(--ink); text-decoration: none; }
.reading { max-width: 38rem; margin: 0 auto; padding: 1rem var(--gutter) 2.5rem; }
.reading h1 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.3; color: var(--ink); margin: 1.2rem 0 .4rem; }
.reading .lede { font-size: 1.02rem; color: var(--text2); margin: 0 0 1.4rem; }
.reading h2 { font-family: var(--round); font-size: 1.12rem; color: var(--ink); margin: 2rem 0 .5rem; }
.reading h3 { font-family: var(--round); font-size: .98rem; color: var(--accent); margin: 1.3rem 0 .35rem; }
.reading p, .reading li { font-size: .98rem; line-height: 1.75; }
.reading ul, .reading ol { padding-left: 1.3rem; }
.reading li { margin: .25rem 0; }
.reading a { color: var(--accent); text-underline-offset: .18em; }
.reading .meta { font-size: .82rem; color: var(--text2); }
.reading .note { font-size: .88rem; color: var(--text2); border-left: 2px solid var(--divider); padding: .2rem 0 .2rem .9rem; margin: 1rem 0; }
.reading figure { margin: 1.4rem 0; }
.reading figure svg { width: 100%; height: auto; display: block; color: var(--ink); }
.reading figcaption { font-size: .82rem; color: var(--text2); margin-top: .4rem; }
.reading table { border-collapse: collapse; width: 100%; font-size: .88rem; margin: .8rem 0; }
.reading th, .reading td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--divider); vertical-align: top; }
.guide-list { list-style: none; padding: 0; margin: 1rem 0; }
.guide-list li { border: 1px solid var(--divider); border-radius: 1rem; padding: .85rem 1rem; margin: .7rem 0; background: var(--bg); }
.guide-list a { font-family: var(--round); font-size: 1.02rem; color: var(--ink); text-decoration: none; }
.guide-list p { margin: .25rem 0 0; font-size: .9rem; color: var(--text2); }
.next { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid var(--divider); font-size: .9rem; }
.cta-back { display: inline-block; margin-top: 1.2rem; padding: .7rem 1.2rem; border-radius: 999px; background: var(--accent); color: var(--on-accent) !important; text-decoration: none; font-family: var(--round); }
/* A reserved advertising slot: empty and hidden until advertising is approved and switched on (docs/adsense.md). */
.ad-slot[hidden] { display: none; }
.site-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: center; margin-top: .5rem; font-size: .85rem; }
.site-links a { color: var(--text2); text-decoration: none; }
.site-links a:hover { color: var(--accent); }
.top a.wordmark > span:last-child { display: inline; }  /* Two buttons here, so the name fits even on narrow phones. */
