/* Logłowno – style całego serwisu (nadpisują Motyw Z Verseo). Motyw: tablica, kreda, zeszyt w kratkę. */
:root {
	--lgw-board: #24433A;
	--lgw-board-d: #18302A;
	--lgw-board-l: #3D6658;
	--lgw-chalk: #F6F4EC;
	--lgw-paper: #FFFDF7;
	--lgw-pencil: #E8B730;
	--lgw-pencil-l: #F7E3A3;
	--lgw-red: #B23A3A;
	--lgw-red-d: #8F2D2D;
	--lgw-blue: #2E5F8F;
	--lgw-grid: #E3EAF1;
	--lgw-line: #DCD8CB;
	--lgw-wood: #7A5230;
	--lgw-text: #1F2A26;
	--lgw-mute: #56625D;
	--lgw-r: 6px;
}
body { font-family: 'PT Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--lgw-text); }
h1, h2, h3, h4, .site-branding__name, .entry-title, .archive-title, .post-card__title, .widget__title, .footer-brand__name { font-family: 'Lora', Georgia, serif; letter-spacing: 0; }

/* Nagłówek: „linijka” pod paskiem, menu podkreślane żółtym zakreślaczem */
.site-header { position: relative; border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; z-index: 2; background: var(--lgw-pencil) repeating-linear-gradient(90deg, rgba(24, 48, 42, .55) 0 1px, transparent 1px 10px); background-size: 10px 4px; background-repeat: repeat-x; background-position: 0 0; pointer-events: none; }
.primary-nav a { font-weight: 700; letter-spacing: .01em; background-image: linear-gradient(transparent 62%, var(--lgw-pencil-l) 62%); background-size: 0 100%; background-repeat: no-repeat; transition: background-size .2s; }
.primary-nav a:hover { background-size: 100% 100%; color: var(--lgw-board-d); }
.primary-nav .current-menu-item > a, .primary-nav .current-category-ancestor > a, .primary-nav .current-post-ancestor > a { background-size: 100% 100%; color: var(--lgw-board-d); background-image: linear-gradient(transparent 58%, var(--lgw-pencil) 58%); }
.custom-logo { max-height: 50px; width: auto; }

/* Okruszki z czerwonym ukośnikiem */
.breadcrumb, .breadcrumbs { font-size: .86rem; color: var(--lgw-mute); }
.breadcrumb a, .breadcrumbs a { color: var(--lgw-blue); text-decoration: none; }
.breadcrumb a:hover, .breadcrumbs a:hover { color: var(--lgw-red); }

/* Karty wpisów: kartka z cieniem ołówka */
.post-card { border-radius: var(--lgw-r); border: 1px solid var(--lgw-line); box-shadow: none; background: var(--lgw-paper); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 3px 4px 0 var(--lgw-pencil); }
.post-card__category, .post-card__category a { color: var(--lgw-red); font-weight: 700; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }

/* Treść wpisów: margines zeszytu przy H2, zakreślacz w linkach */
.entry-content h2 { padding-left: .9rem; border-left: 4px double var(--lgw-red); }
.entry-content h3 { color: var(--lgw-board); }
.entry-content a { color: var(--lgw-blue); text-decoration: none; background-image: linear-gradient(transparent 70%, var(--lgw-pencil-l) 70%); }
.entry-content a:hover { background-image: linear-gradient(transparent 40%, var(--lgw-pencil-l) 40%); color: var(--lgw-board-d); }
.entry-content ul li::marker { color: var(--lgw-red); }
.entry-content ol li::marker { color: var(--lgw-board); font-weight: 700; }
.entry-content figure figcaption, .wp-block-image figcaption { font-size: .8rem; font-style: italic; color: var(--lgw-mute); border-left: 3px solid var(--lgw-pencil); padding: .3rem .6rem; margin-top: .4rem; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.entry-content th, .entry-content td { padding: .5rem .7rem; text-align: left; vertical-align: top; border: 1px solid var(--lgw-line); }
.entry-content thead th { background: var(--lgw-board); color: #fff; border-color: var(--lgw-board); }
.entry-content tbody tr:nth-child(even) td { background: var(--lgw-chalk); }
.entry-content blockquote { border-left: 4px solid var(--lgw-board); background: var(--lgw-chalk); padding: .9rem 1.1rem; font-style: italic; }
.lgw-photo-credit { font-size: .8rem; color: var(--lgw-mute); margin-top: 2rem; }
.ai-note { font-size: .78rem; }

/* Przyciski i linki akcentu */
.lgw-btn, .btn--primary { display: inline-block; background: var(--lgw-red); color: #fff !important; border: 0; border-radius: var(--lgw-r); padding: .7rem 1.3rem; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--lgw-red-d); }
.lgw-btn:hover, .btn--primary:hover { background: var(--lgw-red-d); }
.lgw-ghost { display: inline-block; background: transparent; color: var(--lgw-board); border: 2px solid var(--lgw-board); border-radius: var(--lgw-r); padding: .5rem 1rem; font-weight: 700; cursor: pointer; }
.lgw-ghost:hover { background: var(--lgw-board); color: #fff; }
.lgw-link { color: var(--lgw-blue); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lgw-pencil); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.lgw-link:hover { color: var(--lgw-red); }
.lgw-mute { color: var(--lgw-mute); }

/* Formularz kontaktowy */
.lgw-kontakt { max-width: 640px; }
.lgw-kontakt input, .lgw-kontakt textarea { width: 100%; max-width: 100%; box-sizing: border-box; border: 1px solid #B9C3BE; border-bottom: 2px solid var(--lgw-board); border-radius: var(--lgw-r) var(--lgw-r) 0 0; padding: .6rem .75rem; font: inherit; background: var(--lgw-paper); }
.lgw-kontakt input:focus, .lgw-kontakt textarea:focus { outline: 2px solid var(--lgw-pencil); outline-offset: 1px; }
.lgw-kontakt__rodo { font-size: .85rem; color: var(--lgw-mute); }
.lgw-kontakt__info { background: var(--lgw-chalk); border-left: 5px solid var(--lgw-board); padding: .7rem 1rem; }

/* Działy */
.lgw-cat-header { position: relative; padding: 1.3rem 1.4rem 1.2rem 2.2rem; margin-bottom: 1.5rem; background: var(--lgw-paper) linear-gradient(var(--lgw-grid) 1px, transparent 1px) 0 0 / 100% 1.6rem; border: 1px solid var(--lgw-line); border-radius: var(--lgw-r); }
.lgw-cat-header::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.2rem; border-left: 3px double var(--lgw-red); }
.lgw-cat-header__eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lgw-board-d); background: var(--lgw-pencil); padding: .1rem .6rem; }
.lgw-cat-intro p { margin: .6rem 0 0; }
.lgw-cat-header__count { margin: .8rem 0 0; font-size: .86rem; color: var(--lgw-mute); }
.lgw-cat-faq { margin-top: 2.5rem; padding: 1.3rem 1.4rem; background: var(--lgw-chalk); border-top: 4px solid var(--lgw-board); }
.lgw-cat-faq h2 { margin-top: 0; font-size: 1.3rem; }
.lgw-cat-faq details { border-bottom: 1px dashed var(--lgw-line); padding: .7rem 0; }
.lgw-cat-faq details:last-child { border-bottom: 0; }
.lgw-cat-faq summary { cursor: pointer; font-weight: 700; color: var(--lgw-board); }
.lgw-cat-empty { padding: 1rem; background: var(--lgw-chalk); }

/* Ocena wpisu: szkolna skala */
.lgw-rate { margin: 2.5rem 0 1rem; padding: 1.1rem 1.2rem; background: var(--lgw-chalk); border-left: 4px double var(--lgw-red); }
.lgw-rate__q { margin: 0 0 .6rem; font-family: 'Lora', Georgia, serif; font-weight: 700; color: var(--lgw-board); }
.lgw-rate__pts { display: flex; gap: .35rem; flex-wrap: wrap; }
.lgw-rate__pts button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 2px solid var(--lgw-board); background: #fff; color: var(--lgw-board); font-weight: 700; cursor: pointer; }
.lgw-rate__pts button.is-on { background: var(--lgw-board); color: var(--lgw-pencil); }
.lgw-rate.is-done .lgw-rate__pts button { cursor: default; }
.lgw-rate__sum { margin: .6rem 0 0; font-size: .9rem; color: var(--lgw-mute); }

/* Stopka: tablica w drewnianej ramie */
.site-footer { background: var(--lgw-board-d) radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, .06), transparent 60%); border-top: 8px solid var(--lgw-wood); }
.site-footer a:hover { color: var(--lgw-pencil); }
