/* Shared reading and onboarding improvements. */
[hidden] { display: none !important; }
:root { --header-height: 96px; }
body { background: #050a08; }
body, button, input, select { font-size: 1rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.brand { font-size: 1.55rem; }
.primary-nav ul { gap: .75rem; }
.primary-nav a { font-size: .82rem; }
h1, h2, h3 { letter-spacing: 0; }
.page-hero h1, .field-guide .mechanics-guide-hero h1 { font-size: 3.25rem; line-height: 1.1; max-width: 1050px; overflow-wrap: normal; word-break: normal; }
.page-hero { padding-block: 3.5rem; }
.section { padding-block: 3.5rem; }
.section h2, .section-head h2 { font-size: 2.25rem; line-height: 1.2; }
.prose h2, .field-guide .guide-prose h2 { font-size: 1.9rem; overflow-wrap: anywhere; }
.prose h3, .field-guide .guide-prose h3 { font-size: 1.25rem; }
.prose p, .prose li { font-size: 1rem; line-height: 1.8; }
.prose a:not(.button):not(.source-card) { text-decoration: underline; text-underline-offset: 3px; }
.article-card h2, .section .article-card h2 { font-size: 1.4rem; line-height: 1.25; }
.card-body { display: flex; flex-direction: column; gap: .75rem; }
.card-body > * { margin: 0; }
.card-body .eyebrow { align-self: flex-start; }
.card-body .text-link { margin-top: auto; padding-top: .5rem; }
.news-grid { align-items: stretch; }
.content-grid > *, .tank-type-card > *, .tank-type-content { min-width: 0; }
.tank-type-content .tank-examples { flex-wrap: wrap; }
.article-card { display: flex; flex-direction: column; }
.article-card .card-body { flex: 1; }
.article-card > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.starter-hero { position: relative; padding: 4rem 0; background: linear-gradient(90deg,rgba(3,8,6,.96),rgba(3,8,6,.68) 52%,rgba(3,8,6,.2)),url('/assets/images/hero-battlefield-ai.jpg') center / cover; }
.starter-hero h1 { max-width: 740px; font-size: 4rem; line-height: 1.05; margin: 1rem 0 1.5rem; }
.starter-hero .lead { max-width: 620px; font-size: 1.2rem; }
.starter-hero .hero-actions { margin-top: 1.75rem; }
.starter-hero .affiliate-note { max-width: 620px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; padding: 0; list-style: none; color: var(--ink); font-size: .95rem; }
.hero-facts li { border-bottom: 2px solid var(--teal); padding-bottom: .4rem; }
.affiliate-note, .article-byline, .editorial-note { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.affiliate-note a, .article-byline a, .editorial-note a { text-decoration: underline; }
.route-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.route-grid > article { padding-block: 1rem; border-top: 2px solid var(--teal); min-width: 0; }
.route-grid h3 { font-size: 1.3rem; margin: .65rem 0; }
.route-grid p { color: var(--muted); }
.route-step { font-size: 1rem; font-weight: 800; color: var(--yellow); }
.link-list { display: grid; gap: .65rem; padding-left: 1.25rem; }
.start-strip { padding: 2rem 0; border-block: 1px solid var(--line); background: #101b17; }
.start-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.start-strip h2 { font-size: 1.8rem; margin: 0 0 .5rem; }
.start-strip p { margin: 0; color: var(--muted); max-width: 650px; }
.starter-checklist { padding-left: 1.5rem; }
.starter-checklist li { padding: .8rem .2rem; border-bottom: 1px solid var(--line); }
.article-byline { margin: 1.25rem 0 0; }
.archive-notice, .offer-status { border-left: 3px solid var(--yellow); padding: 1rem 1.25rem; background: #151b17; margin-block: 1.5rem; }
.archive-notice p, .offer-status p { margin: .4rem 0 0; }
.reader-cta { padding-block: 1.5rem; border-block: 1px solid var(--line); margin-block: 2rem; }
.reader-cta h2, .reader-cta h3 { font-size: 1.5rem; margin-top: 0; }
.reader-cta p { max-width: 65ch; }
.reader-cta .hero-actions { margin-top: 1rem; }
.guide-sidebar h2, .guide-sidebar h3 { font-size: 1.4rem; line-height: 1.25; }
.blog-toolbar { display: grid; grid-template-columns: minmax(200px,1fr) minmax(180px,.6fr) auto; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.blog-toolbar label { display: grid; gap: .4rem; font-weight: 700; }
.blog-toolbar input, .blog-toolbar select, .pc-dialog input { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1px solid #66786f; background: #0e1914; color: var(--ink); border-radius: 4px; }
.blog-toolbar select { color-scheme: dark; }
.quiet-button { background: transparent; color: var(--ink); border: 1px solid #66786f; padding: .65rem 1rem; min-height: 44px; cursor: pointer; border-radius: 4px; }
.quiet-button:hover { border-color: var(--yellow); color: var(--yellow); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block: 2rem; }
.pagination a, .pagination span { display: inline-flex; min-width: 44px; min-height: 44px; padding: .5rem .9rem; align-items: center; justify-content: center; border: 1px solid var(--line); }
.pagination [aria-current] { color: #070b08; background: var(--yellow); }
.guide-nav-band { position: sticky; top: var(--header-height); z-index: 30; }
#obsah [id] { scroll-margin-top: calc(var(--header-height) + 90px); }
.article-jump-links { margin-top: 1.5rem; line-height: 2; }
.article-jump-links a { text-decoration: underline; }
.guide-nav-band .container { overflow-x: auto; flex-wrap: nowrap; }
.guide-nav-band a { flex-shrink: 0; }
.footer-settings { border: 0; background: none; padding: .5rem 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.cookie-banner { max-height: 85dvh; overflow-y: auto; }
.cookie-actions .button { font-size: .9rem; padding-inline: 1rem; flex: 1 1 150px; text-align: center; justify-content: center; }
.mobile-play { display: none; }
.pc-dialog { width: min(520px,calc(100% - 32px)); background: #0d1713; color: var(--ink); border: 1px solid #66786f; border-radius: 8px; padding: 1.5rem; }
.pc-dialog::backdrop { background: rgba(0,0,0,.75); }
.pc-dialog h2 { font-size: 1.7rem; margin-right: 2rem; }
.pc-dialog .dialog-close { position: absolute; top: .65rem; right: .65rem; width: 44px; height: 44px; font-size: 1.5rem; padding: 0; }
.pc-dialog label { display: block; margin-bottom: .5rem; }
.pc-dialog .hero-actions { margin-top: 1rem; }
.content-table { width: 100%; border-collapse: collapse; margin-block: 1.5rem; font-size: 1rem; }
.content-table th, .content-table td { text-align: left; vertical-align: top; padding: .8rem; border: 1px solid var(--line); }
.content-table th { background: #17241d; }
.table-scroll { overflow-x: auto; }
.table-scroll .content-table { min-width: 620px; }
.reading-links { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.article-checklist input { width: 20px; height: 20px; accent-color: var(--yellow); margin-right: .7rem; }
.article-checklist label { display: flex; align-items: baseline; padding-block: .7rem; }
.registration-hero { padding-block: 2rem; }
.registration-hero .container > .lead { max-width: 760px; }
.registration-hero h1 { max-width: 900px; }
.registration-next { max-width: 720px; margin-top: 1rem; }
.registration-next p { margin-block: .35rem; }
.tank-finder { border-bottom: 1px solid var(--line); }
.tank-finder .blog-toolbar { margin-top: 1.5rem; }
.tank-finder [role="status"] { min-height: 1.75rem; color: var(--muted); }
.tank-index { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 1.5rem; list-style: none; padding: 0; }
.tank-index li { min-width: 0; border-bottom: 1px solid var(--line); }
.tank-index a { display: flex; flex-direction: column; justify-content: center; min-height: 80px; padding: .65rem 0; overflow-wrap: anywhere; }
.tank-index strong { color: var(--yellow); }
.tank-index span { color: var(--muted); font-size: .9rem; }
.tank-index a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .tank-index { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) {
  .registration-hero .breadcrumbs { margin-bottom: 1rem; }
  .registration-hero .hero-facts { gap: .5rem 1rem; }
  .registration-hero .hero-actions { margin-top: 1rem; }
  .registration-hero .hero-actions .button { max-width: 100%; white-space: normal; }
}
@media (max-width: 1250px) and (min-width: 1101px) {
  .brand { font-size: 1.35rem; }
  .brand-logo { width: 48px; height: 48px; }
  .site-header .header-actions .header-cta { width: 270px; padding-left: 2.4rem; gap: .65rem; }
  .primary-nav ul { gap: .55rem; }
}
@media (max-width: 1100px) {
  :root { --header-height: 74px; }
  .mobile-play { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; display: flex; gap: .6rem; padding: .65rem max(16px,env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)); background: #08110e; border-top: 1px solid #41564a; }
  .mobile-play .button { flex: 1; justify-content: center; min-height: 48px; font-size: .95rem; padding: .7rem .8rem; }
  .mobile-play .quiet-button { font-size: .9rem; }
  body:has(.mobile-play) { padding-bottom: 90px; }
  .consent-open .mobile-play, .nav-open .mobile-play { display: none; }
  .primary-nav { max-height: calc(100dvh - 74px); overflow-y: auto; }
}
@media (max-width: 700px) {
  .brand { font-size: 1.25rem; }
  .brand-logo { width: 48px; height: 48px; }
  .starter-hero { padding-block: 1.75rem; background-position: 62% center; }
  .starter-hero h1 { font-size: 2.25rem; }
  .starter-hero .lead { font-size: 1.1rem; }
  .page-hero h1, .field-guide .mechanics-guide-hero h1 { font-size: 2.25rem; overflow-wrap: break-word; }
  .page-hero, .section { padding-block: 2.25rem; }
  .section h2, .section-head h2 { font-size: 1.8rem; }
  .prose h2, .field-guide .guide-prose h2 { font-size: 1.65rem; }
  .route-grid, .blog-toolbar { grid-template-columns: 1fr; }
  .start-strip .container { display: block; }
  .start-strip .button { margin-top: 1rem; }
  .hero-actions { gap: .7rem; }
  .hero-actions .button { font-size: .95rem; }
  .cookie-banner { bottom: .5rem; right: .5rem; width: calc(100% - 16px); }
  .guide-nav-band .container { width: 100%; padding-inline: 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .pc-dialog .hero-actions { display: grid; }
}
@media (max-width: 380px) {
  .starter-hero h1 { font-size: 2rem; }
  .page-hero h1, .field-guide .mechanics-guide-hero h1 { font-size: 2rem; }
  .tank-type-content { padding: 1rem; }
  .tank-type-content h2 { font-size: 1.5rem; }
  .prose h2, .field-guide .guide-prose h2 { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print {
  .site-header, .site-footer, .mobile-play, .cookie-banner, .pc-dialog, .hero-actions, .reader-cta, .guide-sidebar { display: none !important; }
  body { background: #fff; color: #000; padding: 0 !important; }
  .page-hero { background: none; padding: 1rem 0; }
  .container { width: 100%; }
  .content-grid { display: block; }
  .prose p, .prose li, .kicker, .lead { color: #000; }
}
