/* ==========================================================================
   Cliktron base
   --------------------------------------------------------------------------
   A small neutral reset so the theme needs no parent theme, plus the reading
   layout for plain pages, blog posts and archives (.ck-doc).
   Colours and fonts come from cliktron.css (loaded after this file).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin-block: 0.5rem 1rem; font-weight: 600; line-height: 1.2; }
p { margin-block: 0 1rem; }
a { background-color: transparent; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
code, kbd, pre, samp { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1em; }
pre { overflow: auto; white-space: pre-wrap; }
hr { height: 0; border: 0; border-top: 1px solid rgba(16, 21, 47, 0.12); margin: 2rem 0; }
img { max-width: 100%; height: auto; border-style: none; }
figure { margin: 0 0 1rem; }
table { width: 100%; border-collapse: collapse; }
button, input, optgroup, select, textarea { margin: 0; font-family: inherit; font-size: 1rem; line-height: 1.5; color: inherit; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; appearance: button; cursor: pointer; }
textarea { overflow: auto; resize: vertical; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
details { display: block; }
summary { display: list-item; cursor: pointer; }
template, [hidden] { display: none; }

/* WordPress core classes. */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 0.875rem; color: #616576; }

/* Reading layout: plain pages, posts, archives, search. */
.ck-doc { padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 48px) clamp(64px, 9vw, 128px); }
.ck-doc__body, .ck-doc__list, .ck-doc__empty, .ck-doc .navigation { max-width: 46rem; margin-inline: auto; }
.ck-doc__body { color: #3b3f54; font-size: 1.125rem; line-height: 1.7; }
.ck-doc__body > * + * { margin-top: 1.1em; }
.ck-doc__body :is(h2, h3, h4) { color: #10152f; line-height: 1.2; margin-top: 2em; margin-bottom: 0.4em; }
.ck-doc__body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.ck-doc__body h3 { font-size: 1.35rem; }
.ck-doc__body :is(p, ul, ol) { margin-block: 0; }
.ck-doc__body :is(ul, ol) { padding-left: 1.3em; }
.ck-doc__body li + li { margin-top: 0.4em; }
.ck-doc__body a { color: #4122a7; text-underline-offset: 3px; }
.ck-doc__body blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 3px solid #7b62fc; color: #10152f; }
.ck-doc__body th, .ck-doc__body td { padding: 10px; border-bottom: 1px solid rgba(16, 21, 47, 0.12); text-align: left; vertical-align: top; }
.ck-doc__list { list-style: none; padding: 0; }
.ck-doc__list li { border-top: 1px solid rgba(16, 21, 47, 0.12); }
.ck-doc__list li:last-child { border-bottom: 1px solid rgba(16, 21, 47, 0.12); }
.ck-doc__list a { display: grid; gap: 6px; padding: 24px 0; color: inherit; text-decoration: none; }
.ck-doc__list-title { font-size: 1.35rem; font-weight: 600; color: #10152f; line-height: 1.25; }
.ck-doc__list a:hover .ck-doc__list-title { color: #4122a7; }
.ck-doc__list-meta { font-size: 0.9rem; color: #616576; }
.ck-doc__list-excerpt { color: #3b3f54; }
.ck-doc .navigation { margin-top: 32px; }
.ck-doc .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-doc .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid rgba(16, 21, 47, 0.18); border-radius: 999px; color: #10152f; text-decoration: none; }
.ck-doc .page-numbers.current { background: #10152f; color: #fff; border-color: #10152f; }
.ck-doc__empty { color: #616576; }

/* WordPress standard classes and post extras. */
.sticky, .gallery-caption, .bypostauthor { display: block; }
.gallery-caption { font-size: 0.875rem; color: #616576; }
.ck-doc__image { margin: 0 0 1.6em; border-radius: 18px; overflow: hidden; }
.ck-doc__image img { display: block; width: 100%; height: auto; }
.ck-doc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.ck-doc__tags a { padding: 6px 12px; border-radius: 999px; background: #f5f3ff; color: #4122a7; font-size: 0.9rem; text-decoration: none; }

/* Comments (blog posts). */
.ck-comments { max-width: 46rem; margin: clamp(48px, 7vw, 80px) auto 0; padding-top: 32px; border-top: 1px solid rgba(16, 21, 47, 0.12); color: #3b3f54; }
.ck-comments__title { font-size: 1.5rem; color: #10152f; margin: 0 0 20px; }
.ck-comments ol, .ck-comments ul { list-style: none; padding: 0; margin: 0; }
.ck-comments .children { padding-left: clamp(16px, 4vw, 40px); }
.ck-comments .comment-body { padding: 18px 0; border-bottom: 1px solid rgba(16, 21, 47, 0.08); }
.ck-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #10152f; }
.ck-comments .comment-author img { border-radius: 50%; }
.ck-comments .comment-metadata { font-size: 0.85rem; color: #616576; margin: 4px 0 8px; }
.ck-comments .comment-metadata a { color: inherit; }
.ck-comments .reply a { font-size: 0.9rem; color: #4122a7; }
.ck-comments .comment-respond { margin-top: 28px; }
.ck-comments :is(input[type="text"], input[type="email"], input[type="url"], textarea) { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: #f4f4f4; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow 0.2s, background-color 0.2s; }
.ck-comments :is(input, textarea):focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px #7b62fc, 0 0 0 4px rgba(123, 98, 252, 0.18); }
.ck-comments .form-submit input { padding: 14px 26px; border: 0; border-radius: 999px; background: #4122a7; color: #fff; font-weight: 600; cursor: pointer; transition: transform 0.2s, background-color 0.2s; }
.ck-comments .form-submit input:hover { background: #33188c; transform: translateY(-2px); }
.ck-comments .comment-navigation, .ck-comments .comments-pagination { display: flex; justify-content: space-between; margin: 16px 0; }
