/* css/fas-comfort.css
   Version: 1.1.0 (2026-12-01: small buttons at the far right, bigger menu, accessibility audit fixes)
   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; }

/* Reading buttons: small and quiet at the far right; the menu matters more */
html body header.site-header .fas-comfort { display: flex; gap: 3px; align-items: center; margin: 0 0 0 4px; }
html body header.site-header .fas-comfort button { min-width: 28px; min-height: 28px; height: 28px; padding: 0 6px !important; margin: 0; cursor: pointer; background: transparent !important; color: inherit !important; border: 1px solid currentColor !important; border-radius: 4px !important; font-family: system-ui, sans-serif !important; font-size: 13px; font-weight: 600 !important; line-height: 1; box-shadow: none !important; transform: none !important; }
html body.fas-layout-spotlight header.site-header .fas-comfort button { color: #fff !important; border-color: rgba(255, 255, 255, .6) !important; }
html body header.site-header .fas-comfort button:disabled { opacity: .45; cursor: default; }
@media (max-width: 768px) { html body header.site-header .fas-comfort { order: 6; flex: 1 0 100%; width: 100%; justify-content: flex-end; margin: 0; } }

/* The menu is the main thing at the top: its own full line under the logo and tools */
html body.fas-layout-spotlight header.site-header .main-navigation ul#primary-menu a { font-size: 1.25rem !important; font-weight: 600 !important; padding: 8px 4px; }
html body.fas-layout-spotlight header.site-header .main-navigation ul#primary-menu a[aria-current="page"] { text-decoration: underline !important; text-underline-offset: 6px; text-decoration-thickness: 3px; }
@media (min-width: 769px) {
  html body.fas-layout-spotlight header.site-header { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; column-gap: 20px; row-gap: 10px; padding-top: 12px !important; padding-bottom: 8px !important; }
  html body.fas-layout-spotlight header.site-header .site-branding { order: 1; flex: 0 1 auto; margin: 0 !important; }
  html body.fas-layout-spotlight header.site-header .header-actions { order: 2; display: flex !important; flex: 0 0 auto; align-items: center; gap: 8px; margin: 0 0 0 auto !important; width: auto !important; }
  html body.fas-layout-spotlight header.site-header .main-navigation { order: 3; flex: 1 0 100% !important; width: 100% !important; margin: 0 !important; border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 6px; }
  html body.fas-layout-spotlight header.site-header .main-navigation ul#primary-menu { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 32px; row-gap: 0; margin: 0; width: 100%; }
  html body.fas-layout-spotlight header.site-header .fas-header-search-field { width: 170px !important; }
}

/* 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; }

/* Audit 2026-12-01: dark mode panels that stayed white or grey (words could not be read) */
html body #page .card-inner-frost, html body #page .faa-archive-card-inner-frost, html body #page .fas-top-glass-pane,
html body.tax-product_cat #page #primary.site-main, html body.tax-product_brand #page #primary.site-main, html body.tax-product_tag #page #primary.site-main, html body.post-type-archive-product #page #primary.site-main,
html body #page .contact-form-container { background: var(--game-card, #fff) !important; border-color: var(--game-edge, #aabacd) !important; }
html body .contact-form-container label { color: var(--game-text, #14161c) !important; }
html body .contact-form-container input, html body .contact-form-container textarea { background: var(--game-bg, #f8fafc) !important; color: var(--game-text, #14161c) !important; border: 1px solid var(--game-text, #64748b) !important; }
/* Shop and cart buttons from WooCommerce blocks had dark words on a dark button */
html body .wp-element-button, html body a.wp-element-button, html body .wp-block-button__link, html body .wc-block-components-button { background: var(--game-accent, #0b3a6f) !important; color: var(--game-on-accent, #fff) !important; }
html body .wp-element-button span, html body .wc-block-components-button span { color: var(--game-on-accent, #fff) !important; }
/* Links inside a line of words are underlined, not told apart by colour alone */
html body .entry-content p a:not(.button):not(.wp-element-button), html body .entry-content li a:not(.button):not(.wp-element-button), html body .site-info p a, html body .woocommerce-breadcrumb a, html body .ss-credit a { text-decoration: underline !important; }
html body .show-password-input { min-width: 28px; min-height: 28px; }
html body footer.site-footer h2.widget-title { font-size: 1.05rem; }
html body #page #primary.fas-archive-frosted-pane.fas-clean-template-container.site-main { background: var(--game-card, #fff) !important; border-color: var(--game-edge, #aabacd) !important; }
html body a.wp-block-button__link.wp-block-button__link, html body a.add_to_cart_button.add_to_cart_button { color: var(--game-on-accent, #fff) !important; background: var(--game-accent, #0b3a6f) !important; font-size: 15px !important; }
html body .woocommerce-breadcrumb.woocommerce-breadcrumb a { text-decoration: underline !important; }
html body .wp-block-woocommerce-cart .woocommerce-Price-amount, html body .wc-block-grid__product-price .woocommerce-Price-amount { font-size: 15px; }
html body .woocommerce-products-header, html body h1.woocommerce-products-header__title.page-title { background: transparent !important; }
