/* Běžné stránky, právní texty, blog, archiv a vyhledávání – ve stylu nové landing page (css/web.css). */
.wh-page { padding: 56px 0 96px; }
.wh-article { max-width: 760px; }
.wh-meta { margin-bottom: 12px; font: 12px/1.4 'Geist Mono', ui-monospace, monospace; color: #7E858E; }
.wh-meta a { color: #A8AEB7; }
.wh-title { margin: 0 0 16px; font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.wh-lead { margin: 0 0 32px; font-size: 16px; line-height: 1.55; color: #A8AEB7; }
.wh-figure { margin: 0 0 32px; }
.wh-figure img { display: block; max-width: 100%; height: auto; border: 1px solid #24272C; border-radius: 12px; }

.wh-prose { font-size: 15px; line-height: 1.7; color: #D5D8DD; overflow-wrap: anywhere; }
.wh-prose > :first-child { margin-top: 0; }
.wh-prose h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.014em; color: #F2F3F5; }
.wh-prose h3 { margin: 28px 0 8px; font-size: 17px; line-height: 1.3; font-weight: 600; color: #F2F3F5; }
.wh-prose h4, .wh-prose h5, .wh-prose h6 { margin: 24px 0 8px; font-size: 15px; font-weight: 600; color: #F2F3F5; }
.wh-prose p, .wh-prose ul, .wh-prose ol, .wh-prose table, .wh-prose blockquote, .wh-prose pre { margin: 0 0 16px; }
.wh-prose ul, .wh-prose ol { padding-left: 22px; }
.wh-prose li { margin-bottom: 6px; }
.wh-prose strong { color: #F2F3F5; font-weight: 600; }
.wh-prose a { text-decoration: underline; text-underline-offset: 2px; }
.wh-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.wh-prose blockquote { padding: 4px 0 4px 16px; border-left: 3px solid #9F63E9; color: #A8AEB7; }
.wh-prose code { padding: 1px 5px; border-radius: 4px; background: #16181B; font: 13px 'Geist Mono', ui-monospace, monospace; color: #F2F3F5; }
.wh-prose pre { padding: 12px 14px; border: 1px solid #33373E; border-radius: 8px; background: #101113; overflow-x: auto; }
.wh-prose pre code { padding: 0; background: none; }
.wh-prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.wh-prose th, .wh-prose td { padding: 8px 10px; border-bottom: 1px solid #24272C; text-align: left; vertical-align: top; }
.wh-prose th { color: #F2F3F5; font-weight: 500; }
.wh-prose hr { margin: 32px 0; border: 0; border-top: 1px solid #24272C; }

.wh-box { margin-top: 40px; padding: 20px 24px; border: 1px solid #24272C; border-radius: 12px; background: #101113; font-size: 14px; line-height: 1.6; color: #A8AEB7; }
.wh-box h2 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: #F2F3F5; }
.wh-box p { margin: 0; }

.wh-cta { margin-top: 48px; padding: 28px; border: 1px solid #24272C; border-radius: 16px; background: #101113; }
.wh-cta h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.014em; }
.wh-cta p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #A8AEB7; }
.wh-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 8px; font: 500 13px/1 'Geist', system-ui; text-decoration: none !important; }
.wh-btn-primary { background: #832CED; color: #FFFFFF !important; }
.wh-btn-primary:hover { background: #9F63E9; }
.wh-btn-ghost { border: 1px solid #33373E; color: #F2F3F5 !important; }
.wh-btn-ghost:hover { background: #16181B; }
.wh-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.wh-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.wh-card { padding: 20px 24px; border: 1px solid #24272C; border-radius: 12px; background: #101113; }
.wh-card h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; font-weight: 600; }
.wh-card h2 a { color: #F2F3F5; }
.wh-card p { margin: 0; font-size: 14px; line-height: 1.6; color: #A8AEB7; }

.wh-postnav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #24272C; font-size: 14px; }
.wh-tags { margin-top: 24px; font-size: 13px; color: #7E858E; }

.wh-page .navigation.pagination { margin-top: 32px; }
.wh-page .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.wh-page .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; box-sizing: border-box; border: 1px solid #33373E; border-radius: 8px; font-size: 13px; color: #A8AEB7; text-decoration: none; }
.wh-page .page-numbers.current { background: #2A1352; border-color: #2A1352; color: #D8BFFB; }

.wh-search { display: flex; gap: 8px; max-width: 480px; margin: 0 0 32px; }
.wh-search input[type="search"] { flex: 1; min-width: 0; height: 38px; padding: 0 12px; box-sizing: border-box; border: 1px solid #33373E; border-radius: 8px; background: #08090A; color: #F2F3F5; font: 14px 'Geist', system-ui; }
.wh-search input[type="search"]:focus { outline: 2px solid #BE96F6; outline-offset: 1px; }
.wh-search button { height: 38px; padding: 0 16px; border: 0; border-radius: 8px; background: #832CED; color: #FFFFFF; font: 500 13px/1 'Geist', system-ui; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 720px) {
  .wh-page { padding: 32px 0 64px; }
  .wh-title { font-size: 26px; }
  .wh-cta { padding: 20px; }
  .wh-actions .wh-btn { flex: 1; height: 44px; font-size: 14px; }
}
