/*
Theme Name: IT Crumbs
Author: IT Crumbs
Description: A quiet, responsive notebook theme with full posts, readable code, and fast search. No external fonts or theme JavaScript.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: it-crumbs
Tags: blog, one-column, custom-menu
*/
:root { color-scheme: light; --ink: #25312f; --muted: #63716d; --accent: #21634f; --line: #e0e6e2; --paper: #fff; }
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #123d30; }
:focus-visible { outline: 3px solid #438c72; outline-offset: 4px; }
.site-shell { width: min(100% - 48px, 950px); margin: auto; }
.site-header { padding: 48px 0 30px; border-bottom: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.site-title { font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: -.6px; text-decoration: none; color: var(--ink); flex: 1 1 240px; overflow-wrap: anywhere; }
.search-form { display: flex; gap: 6px; width: 260px; max-width: 100%; }
input, button, textarea { font: inherit; }
input[type=search], input:not([type]), input[type=text], input[type=email], input[type=url], input[type=password], textarea { min-width: 0; max-width: 100%; border: 1px solid #aab8b1; border-radius: 5px; padding: 9px 11px; color: var(--ink); background: #fff; }
.search-form input { width: 100%; font-size: 16px; }
button, input[type=submit] { border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #fff; padding: 9px 13px; cursor: pointer; min-height: 44px; }
button:hover, input[type=submit]:hover { background: #123d30; }
.primary-nav { width: 100%; }
.primary-nav ul { padding: 0; margin: 0; list-style: none; display: flex; gap: 12px 24px; flex-wrap: wrap; }
.primary-nav ul ul { padding-left: 16px; font-size: .9em; }
.primary-nav a { display: inline-block; padding: 6px 0; }
main { min-height: 50vh; }
.note { padding: 34px 0 36px; border-bottom: 1px solid var(--line); min-width: 0; }
.note-title { margin: 0 0 6px; font-size: clamp(22px, 3.5vw, 27px); font-weight: 650; letter-spacing: -.65px; line-height: 1.3; overflow-wrap: anywhere; }
.note-title a { color: var(--ink); text-decoration: none; }
.note-title a:hover { color: var(--accent); text-decoration: underline; }
.note-date, .note-taxonomy { color: var(--muted); font-size: 13px; }
.note-date { text-decoration: none; }
.entry-content { margin-top: 20px; overflow-wrap: anywhere; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
p, ul, ol, pre, blockquote, table { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.5em; }
li + li { margin-top: .35em; }
h1, h2, h3, h4 { line-height: 1.35; }
.entry-content h1, .entry-content h2 { font-size: 23px; }
.entry-content h3 { font-size: 20px; }
code, pre, kbd, samp { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .88em; }
code { background: #f0f4f1; padding: .15em .3em; border-radius: 3px; overflow-wrap: anywhere; }
pre { background: #f5f7f5; border: 1px solid var(--line); border-left: 3px solid #83a392; border-radius: 4px; padding: 16px 18px; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; line-height: 1.65; max-width: 100%; }
pre code { padding: 0; background: transparent; font-size: 1em; white-space: inherit; }
img, video, iframe { max-width: 100%; }
img, video { height: auto; }
figure, .wp-caption { max-width: 100%; margin: 1.2em 0; }
figcaption, .wp-caption-text { font-size: .85em; color: var(--muted); }
blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid #83a392; }
table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
th, td { border: 1px solid var(--line); padding: 8px 12px; text-align: start; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.entry-content::after { content: ""; display: table; clear: both; }
.context-title { font-size: 24px; margin: 32px 0 0; }
.note-taxonomy { margin-top: 22px; }
.navigation { padding: 28px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.nav-links a, .page-numbers.current { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; }
.page-numbers.current { background: #f0f4f1; }
.post-navigation .nav-previous, .post-navigation .nav-next { flex: 1 1 220px; overflow-wrap: anywhere; }
.site-footer { padding: 28px 0 40px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: var(--muted); }
.site-footer a { padding: 8px 0; }
.site-footer span { padding: 8px 0; }
.comments-area { padding: 24px 0; overflow-wrap: anywhere; }
.comment-list { padding-left: 22px; }
.comment-body { padding: 15px 0; }
.comment-meta { font-size: 14px; }
.comment-form label { display: block; }
.comment-form-cookies-consent label { display: inline; }
textarea { width: 100%; }
.empty-state { padding: 40px 0; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100000; background: white; padding: 12px; }
@media (max-width: 600px) {
    .site-shell { width: calc(100% - 36px); }
    .site-header { padding: 26px 0 22px; gap: 18px; }
    .site-title { flex-basis: 100%; }
    .search-form { width: 100%; }
    .note { padding: 27px 0 29px; }
    pre { padding: 13px; }
    .alignleft, .alignright { float: none; margin: 1em 0; }
}
@media print { .search-form, .primary-nav, .site-footer, .navigation, .comment-respond { display: none; } .site-shell { width: 100%; } body { color: #000; font-size: 11pt; } }
