/* css/fas-comfort.css
   Version: 1.0.0 (2026-12-01)
   Easier reading on every page: no glow behind letters, text size and light/dark buttons, a clear focus outline,
   a smaller article picture on a clear background, and a tighter bottom of the page. Loaded last. */
html body, html body *, html body *::before, html body *::after { text-shadow: none !important; }

/* Buttons at the top: A- A+ and Dark or Light */
html body header.site-header .fas-comfort { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
html body header.site-header .fas-comfort button { min-width: 44px; min-height: 44px; padding: 0 12px !important; margin: 0; cursor: pointer; background: #fff !important; color: #14161c !important; border: 2px solid #14161c !important; border-radius: 22px !important; font-family: system-ui, sans-serif !important; font-size: 16px; font-weight: 700 !important; line-height: 1; box-shadow: none !important; transform: none !important; }
html body header.site-header .fas-comfort button:disabled { opacity: .5; cursor: default; }
@media (max-width: 768px) { html body header.site-header .fas-comfort { order: 6; flex: 1 0 100%; width: 100%; } }

/* Keyboard users: always show where you are; jump past the menu */
html body a:focus-visible, html body button:focus-visible, html body input:focus-visible, html body select:focus-visible, html body textarea:focus-visible, html body summary:focus-visible { outline: 3px solid #ffbf47 !important; outline-offset: 2px; }
html body a.fas-skip { position: absolute; left: -9999px; }
html body a.fas-skip:focus { position: fixed; left: 12px; top: 12px; z-index: 100000; background: #fff !important; color: #14161c !important; padding: 12px 18px; font-weight: 700; }

/* Articles, tutorials and questions: clear background, small picture, words soon */
html body.single-post article.fas-article-card-main, html body.single-fas_tutorial article.fas-article-card-main, html body.single-fas_faq article.fas-article-card-main { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 8px 16px !important; margin-bottom: 20px !important; }
html body .fas-single-featured { margin: 0 0 16px; background: transparent !important; }
html body .fas-single-featured img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: min(320px, 40vh) !important; }
html body.single-post .entry-content img, html body.single-fas_tutorial .entry-content img, html body.single-fas_faq .entry-content img { max-height: 45vh; }
html body.single-post .entry-content > figure:first-child img, html body.single-fas_tutorial .entry-content > figure:first-child img, html body.single-fas_faq .entry-content > figure:first-child img { max-height: min(320px, 40vh); }

/* Bottom of the page: no spare room */
html body #page { margin-bottom: 8px !important; padding-bottom: 8px !important; min-height: 0 !important; }
html body footer.site-footer { margin-bottom: 0 !important; }
html body footer.site-footer .site-footer-inner { padding-top: 20px !important; padding-bottom: 8px !important; row-gap: 16px; }
html body footer.site-footer .footer-link-col li { margin-bottom: 6px; }
html body footer.site-footer .site-info { padding: 8px !important; margin-top: 8px !important; }
html body footer.site-footer .site-info p { margin: 0 !important; }
html body .ss-credit.ss-credit-footer { margin: 0 !important; padding: 0 12px 8px !important; font-size: .85rem; }

/* Reading pages: larger words, and no script lettering on Previous and Next */
html body.single-post .entry-content p, html body.single-post .entry-content li, html body.single-fas_tutorial .entry-content p, html body.single-fas_tutorial .entry-content li, html body.single-fas_faq .entry-content p, html body.single-fas_faq .entry-content li { font-size: 18px; line-height: 1.7; }
html body .post-navigation a, html body .post-navigation .nav-title, html body .post-navigation .nav-subtitle { font-family: system-ui, sans-serif !important; text-transform: none !important; }
