/* GamesOnTV Blog — self-contained styles (this is a separate service from the
   main React app, so tokens are duplicated to match, not imported). Dark
   navy + gold, Georgia serif headings, same voice as gamesontv.online. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { min-width: 320px; margin: 0; background: radial-gradient(circle at 10% 5%, #173c62 0, transparent 31rem), #08111f; color: #f5f7fb; font: 16px/1.6 Georgia, 'Times New Roman', serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #91edff; outline-offset: 3px; }

.blog-eyebrow { margin: 0; color: #9ddff0; font-family: -apple-system, Segoe UI, sans-serif; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Masthead */
.blog-masthead { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; max-width: 1080px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 32px) 0; font-family: -apple-system, Segoe UI, sans-serif; }
.blog-brand { display: inline-flex; align-items: center; gap: 8px; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; text-decoration: none; color: #f5f7fb; }
.blog-brand span { color: #f4ca76; }
.blog-topnav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.blog-topnav a { color: #a9c6de; font-size: .95rem; font-weight: 700; text-decoration: none; }
.blog-topnav a[aria-current], .blog-topnav a:hover { color: #fff; }
.blog-search { display: flex; margin-left: auto; }
.blog-search input { min-height: 42px; padding: 8px 14px; border: 1px solid #486b88; border-radius: 10px 0 0 10px; background: #0b1928; color: #f5f7fb; font: 15px/1.4 -apple-system, Segoe UI, sans-serif; width: 200px; }
.blog-search button { min-height: 42px; padding: 8px 16px; border: 1px solid #486b88; border-left: 0; border-radius: 0 10px 10px 0; background: #17324d; color: #dcecf7; font-family: -apple-system, Segoe UI, sans-serif; font-weight: 700; cursor: pointer; }

.blog-main { max-width: 780px; margin: 0 auto; padding: clamp(20px, 4vw, 32px) clamp(16px, 4vw, 32px) 80px; }

.blog-breadcrumb { margin: 18px 0 6px; color: #7f9bb2; font-family: -apple-system, Segoe UI, sans-serif; font-size: .86rem; }
.blog-breadcrumb a { color: #a9ddef; text-decoration: none; }

.blog-preview-banner { margin: 16px 0; padding: 12px 16px; border: 1px solid #f5c667; border-radius: 12px; background: #4a3a12; color: #fff1cc; font-family: -apple-system, Segoe UI, sans-serif; font-weight: 700; }

.blog-hero { padding: clamp(20px, 4vw, 32px) 0 8px; }
.blog-hero h1, .blog-post-header h1 { max-width: 20ch; margin: 10px 0 12px; font-family: Georgia, serif; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -.01em; }
.blog-lede { max-width: 62ch; margin: 0; color: #c4d6e6; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.6; }

.blog-section { margin-top: clamp(30px, 5vw, 48px); }
.blog-section h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); }

.blog-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-chip { display: inline-flex; padding: 8px 14px; border: 1px solid #486b88; border-radius: 999px; background: #0b1928; color: #cee3f2; font-family: -apple-system, Segoe UI, sans-serif; font-size: .88rem; font-weight: 700; text-decoration: none; }
.blog-chip:hover { border-color: #91edff; background: #16324c; }

/* Cards */
.blog-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.blog-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid #35577a; border-radius: 16px; background: #102337; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 150ms ease, transform 150ms ease; }
.blog-card:hover { border-color: #91edff; transform: translateY(-2px); }
.blog-card-image { display: block; height: 140px; background-color: #0b1a2b; background-size: cover; background-position: center; }
.blog-card-body { display: grid; gap: 6px; padding: 16px; align-content: start; }
.blog-card-cat { justify-self: start; padding: 3px 10px; border-radius: 999px; background: #17324d; color: #9ddff0; font-family: -apple-system, Segoe UI, sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.blog-card-title { font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.25; }
.blog-card-desc { color: #c3d3e0; font-size: .92rem; line-height: 1.5; font-family: -apple-system, Segoe UI, sans-serif; }
.blog-card-meta { color: #8fa6b7; font-size: .78rem; font-family: -apple-system, Segoe UI, sans-serif; }
.blog-card-more { color: #fff2cc; font-weight: 800; font-size: .86rem; font-family: -apple-system, Segoe UI, sans-serif; }
.blog-empty { color: #9fb6c6; font-family: -apple-system, Segoe UI, sans-serif; }

/* Pager */
.blog-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; color: #9fb6c6; font-family: -apple-system, Segoe UI, sans-serif; font-size: .9rem; }
.blog-pager a { color: #a9ddef; font-weight: 700; text-decoration: none; }

/* TOC */
.blog-toc { margin: 26px 0; padding: 18px 22px; border: 1px solid #294964; border-radius: 14px; background: #0d1c2ddd; font-family: -apple-system, Segoe UI, sans-serif; }
.blog-toc-title { margin: 0 0 8px; color: #9ddff0; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-toc ol { margin: 0; padding-left: 20px; }
.blog-toc li { margin: 4px 0; }
.blog-toc .blog-toc-3 { margin-left: 16px; font-size: .92em; }
.blog-toc a { color: #cee3f2; text-decoration: none; }
.blog-toc a:hover { color: #91edff; }

/* Post header/body */
.blog-post-header .blog-card-cat { text-decoration: none; }
.blog-post-meta { margin: 10px 0 0; color: #8fa6b7; font-family: -apple-system, Segoe UI, sans-serif; font-size: .9rem; }
.blog-post-image { display: block; width: 100%; margin: 22px 0; border-radius: 16px; }
.blog-post-body { max-width: 68ch; font-size: 1.08rem; line-height: 1.75; color: #dbe6ee; }
.blog-post-body h2 { margin: 2em 0 .5em; font-family: Georgia, serif; font-size: 1.65rem; color: #f5f7fb; scroll-margin-top: 16px; }
.blog-post-body h3 { margin: 1.6em 0 .5em; font-family: Georgia, serif; font-size: 1.3rem; color: #f5f7fb; scroll-margin-top: 16px; }
.blog-post-body h4 { margin: 1.4em 0 .4em; font-size: 1.1rem; }
.blog-post-body p { margin: 0 0 1.1em; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.blog-post-body li { margin: .35em 0; }
.blog-post-body a { color: #9ddff0; text-decoration: underline; text-underline-offset: 2px; }
.blog-post-body blockquote { margin: 1.6em 0; padding: 4px 20px; border-left: 4px solid #e8bc60; color: #c8d9e6; font-style: italic; }
.blog-post-body strong, .blog-post-body b { color: #fff; }
.blog-post-body table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: .95rem; }
.blog-post-body th, .blog-post-body td { padding: 10px 12px; border: 1px solid #2b4a67; text-align: left; }
.blog-post-body th { background: #102337; color: #9ddff0; }
.blog-post-body img { border-radius: 12px; margin: 1.2em 0; }
.blog-post-body figure { margin: 1.4em 0; }
.blog-post-body figcaption { margin-top: 6px; color: #8fa6b7; font-size: .85rem; font-family: -apple-system, Segoe UI, sans-serif; text-align: center; }
.blog-post-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; margin: 1.6em 0; }
.blog-post-body a.btn-cta { display: inline-block; margin: 6px 0; padding: 12px 24px; border-radius: 10px; background: #b98128; border: 1px solid #ffda86; color: #fffaf0 !important; font-family: -apple-system, Segoe UI, sans-serif; font-weight: 800; text-decoration: none !important; }
.blog-post-body hr { border: 0; border-top: 1px solid #294964; margin: 2em 0; }

/* Try these games / FAQ */
.blog-try-games { padding: 22px; border: 1px solid #294964; border-radius: 16px; background: #0d1c2ddd; }
/* FAQ blocks the editor's "FAQ block" button inserts inline in the article
   body (also parsed out separately for FAQPage structured data — see
   sanitize.js extractFaq). */
.blog-post-body .faq-block { display: grid; gap: 12px; margin: 1.6em 0; }
.blog-post-body .faq-item { padding: 16px 18px; border: 1px solid #294963; border-radius: 12px; background: #102236; }
.blog-post-body .faq-q { margin: 0; font-size: 1.05rem; color: #f4ca76; }
.blog-post-body .faq-a { margin-top: 8px; color: #bdd0df; }
.blog-post-body .faq-a p:last-child { margin-bottom: 0; }

/* CTA */
.blog-cta { margin-top: clamp(30px, 5vw, 48px); padding: clamp(26px, 5vw, 40px); border: 1px solid #e5b555; border-radius: 20px; background: linear-gradient(135deg, #4b3212, #1b2735); text-align: center; }
.blog-cta h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 1.9rem; }
.blog-cta p { margin: 0 0 18px; color: #e6d9c2; font-family: -apple-system, Segoe UI, sans-serif; }
.blog-cta-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 26px; border: 1px solid #ffda86; border-radius: 12px; background: #b98128; color: #fffaf0; font-family: -apple-system, Segoe UI, sans-serif; font-weight: 800; text-decoration: none; }
.blog-cta-btn:hover { background: #d19835; }

/* Footer */
.blog-footer { margin-top: 60px; border-top: 1px solid #23405c; padding: 32px 0 46px; font-family: -apple-system, Segoe UI, sans-serif; }
.blog-footer-inner { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(0, 1fr); gap: 30px; max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.blog-footer-tag { max-width: 46ch; margin: 8px 0 16px; color: #9fb6c6; line-height: 1.6; }
.blog-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.blog-footer-links a { color: #bcd0df; font-size: .92rem; font-weight: 600; text-decoration: none; }
.blog-footer-links a:hover { color: #fff; }

@media (max-width: 640px) {
  .blog-search { width: 100%; margin-left: 0; order: 3; }
  .blog-search input { flex: 1; width: auto; }
  .blog-footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}

/* Category introduction text */
.blog-category-intro { max-width: 72ch; }
.blog-category-intro p { margin: 0 0 1em; color: #c4d6e6; font-size: 1.05rem; line-height: 1.7; }

