/* heartofalion.games only, on top of kit/arcade.css: the home page's guides list and the articles.
   Kept out of the kit, which every site copies (CatKraft's page sits just under its 3 MB budget). */

/* Articles (a folder per article under sites/<site>/): a prose page with picks, a quick answer and a signup. */
.article { max-width: 760px; }
.article h1 { font-size: clamp(34px, 6vw, 58px); }
.article h2 { font-size: clamp(24px, 3.4vw, 32px); margin-top: 56px; }
.article h3 { font-size: 20px; color: var(--txt); margin: 0 0 6px; line-height: 1.2; }
.article a { color: var(--cyan); text-underline-offset: 3px; }
.byline { font: 11px/2 var(--px); color: var(--dim); margin: 0 0 28px; }
.quick { background: var(--panel); border: 2px solid var(--yel); padding: 22px 26px; margin: 28px 0; }
.quick p { margin: 0; color: var(--txt); }
.toc ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.toc a { display: inline-block; padding: 10px 0; font-size: 16px; }
.quick .px { display: block; font-size: 11px; color: var(--yel); margin-bottom: 10px; }
.picks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.picks > li { background: rgba(22,15,56,.82); border-left: 4px solid var(--cyan); padding: 18px 22px; }
.picks p { margin: 6px 0 0; }
.picks .facts { font: 12px/2.1 var(--px); color: var(--lime); margin: 0; }
.picks .mac { font-size: 15px; color: var(--dim); }
.ours > li { border-left-color: var(--mag); }
.article .hiscore { text-align: left; margin: 56px 0 0; padding: 28px; background: var(--panel); border: 2px solid var(--mag); }
.article .hiscore .entry { justify-content: flex-start; }
.article .hiscore .notice { margin-left: 0; }

/* Guides: a quiet list of links on the home page, between the games and the signup. */
/* A small pixel label, not a .title: the block is a signpost between the games and the signup, not a section of its own. */
section.guides { padding: 0; }
.guides .wrap { max-width: 760px; }
.guides h2 { font: 12px/2 var(--px); color: var(--yel); margin: 0 0 12px; text-align: center; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide-list a { display: block; min-height: 44px; padding: 14px 20px; background: rgba(22,15,56,.82); border-left: 4px solid var(--cyan); color: var(--soft); text-decoration: none; }
.guide-list strong { display: block; color: var(--cyan); font-size: 18px; }
.guide-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.guide-list span { font-size: 15px; }
.guides h3 { font: 12px/2 var(--px); color: var(--yel); margin: 28px 0 12px; text-align: center; }
.guide-list.pair { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .guide-list.pair { grid-template-columns: 1fr; } }
.guides-all { text-align: center; margin: 14px 0 0; }
.guides-all a { display: inline-block; padding: 10px 4px; color: var(--cyan); text-underline-offset: 3px; }

/* The guides list at /guides/ and the posts built from content/guides/*.md. */
.guide-list.all { margin-top: 8px; }
.guide-list time { display: block; margin-top: 8px; font: 11px/2 var(--px); color: var(--dim); }
.crumb { font: 11px/2 var(--px); margin: 0 0 12px; }
.crumb a { display: inline-block; padding: 14px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.14); vertical-align: top; }
.article th { color: var(--yel); font-weight: 600; }
.article .table-scroll { overflow-x: auto; }
.article img { max-width: 100%; height: auto; }
.article blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--mag); color: var(--soft); }
/* Post bodies are any markdown, so every block it makes has a look here, not the browser default. */
.post h3 { margin: 36px 0 8px; }
.post h4 { font-size: 17px; color: var(--yel); margin: 28px 0 6px; line-height: 1.3; }
.post ol { padding-left: 1.4em; }
.post li + li { margin-top: 6px; }
.post code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--panel); padding: 2px 6px; }
.post pre { overflow-x: auto; background: var(--panel); border-left: 4px solid var(--cyan); padding: 16px 20px; margin: 20px 0; }
.post pre code { background: none; padding: 0; }
.post hr { border: 0; border-top: 2px solid rgba(255,255,255,.14); margin: 40px 0; }

/* Questions at the foot of /guides/: plain h3 and answer, the answer first. */
.faq h3 { margin-top: 24px; }
.faq h3:first-child { margin-top: 16px; }
