/* Zeszyt i Serce – style całego serwisu (paleta „tablica szkolna”: zieleń tablicy, malinowa kredka, żółta kreda, błękit, papier). */
:root {
	--font-serif: 'Lexend', 'Segoe UI', Arial, sans-serif;
	--font-sans: 'Atkinson Hyperlegible', 'Segoe UI', Arial, sans-serif;
	--zis-board: #1E4D45;
	--zis-board-2: #143631;
	--zis-chalk: #F4F1E8;
	--zis-yellow: #F2C14E;
	--zis-yellow-l: #FCF1D2;
	--zis-rasp: #B23A48;
	--zis-rasp-2: #962F3C;
	--zis-rasp-l: #FBEDEF;
	--zis-sky: #2F6E99;
	--zis-wood: #8A5A36;
	--zis-paper: #FBF8F1;
	--zis-ink: #1D2420;
	--zis-muted: #5A635E;
	--zis-line: #E3E0D6;
}
body { background: var(--zis-paper); color: var(--zis-ink); font-family: var(--font-sans); font-size: 1.06rem; line-height: 1.7; }
h1, h2, h3, h4, .post-card__title, .archive-title, .post-header__title, .widget__title, .footer-brand__name { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; color: var(--zis-ink); }

/* Nagłówek: pasek „kredek” u dołu */
.site-header { position: relative; background: #fff; border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; z-index: 2; background: linear-gradient(90deg, var(--zis-board) 0 30%, var(--zis-yellow) 30% 48%, var(--zis-rasp) 48% 66%, var(--zis-sky) 66% 84%, #3F8A5E 84% 100%); }
.custom-logo { max-height: 52px; width: auto; }
@media (max-width: 600px) { .custom-logo { max-height: 40px; } }

/* Menu: serduszko pod aktywną pozycją, malina przy hover */
.primary-nav a { font-family: var(--font-serif); font-weight: 500; font-size: .95rem; position: relative; }
.primary-nav > ul > li > a:hover { color: var(--zis-rasp); }
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-category-ancestor > a,
.primary-nav > ul > li.current-post-ancestor > a { color: var(--zis-board); font-weight: 700; }
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li.current-category-ancestor > a::after,
.primary-nav > ul > li.current-post-ancestor > a::after { content: "♥"; position: absolute; left: 50%; bottom: -.55rem; transform: translateX(-50%); font-size: .7rem; color: var(--zis-rasp); }

/* Karty wpisów: zaokrąglone, kolorowa „zakładka” przy hover */
.post-card { border: 1px solid var(--zis-line); border-radius: 12px; background: #fff; box-shadow: none; overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card::before { content: ""; position: absolute; right: 18px; top: -4px; width: 16px; height: 0; background: var(--zis-rasp); border-radius: 0 0 3px 3px; transition: height .25s; z-index: 2; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(29, 36, 32, .1); border-color: #CFCBBE; }
.post-card:hover::before { height: 30px; }
.post-card__category { background: var(--zis-yellow-l); color: var(--zis-board); border-radius: 6px; font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

/* Okruszki */
.breadcrumbs, .breadcrumb { font-size: .86rem; color: var(--zis-muted); }
.breadcrumbs a, .breadcrumb a { color: var(--zis-sky); }

/* Treść wpisów i stron */
.entry-content h2 { margin-top: 2.2rem; padding-left: 1.1rem; position: relative; }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--zis-rasp) 0 50%, var(--zis-yellow) 50% 100%); }
.entry-content h3 { color: var(--zis-board); }
.entry-content blockquote { border: 0; background: var(--zis-board); color: var(--zis-chalk); border-radius: 12px; padding: 1.1rem 1.3rem; font-style: normal; }
.entry-content blockquote p { color: var(--zis-chalk); }
.entry-content figure figcaption, .entry-content .wp-caption-text { font-size: .82rem; color: var(--zis-muted); margin-top: .45rem; border-left: 3px solid var(--zis-yellow); padding-left: .6rem; }
.entry-content figure img { border-radius: 12px; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .94rem; background: #fff; display: block; overflow-x: auto; }
.entry-content th { background: var(--zis-board); color: #fff; text-align: left; }
.entry-content th, .entry-content td { padding: .55rem .75rem; border-bottom: 1px solid var(--zis-line); }
.entry-content tr:nth-child(even) td { background: var(--zis-paper); }
.entry-content a { color: var(--zis-sky); text-decoration-color: var(--zis-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--zis-rasp); }
.entry-content ul > li::marker { color: var(--zis-rasp); }
.entry-content ol > li::marker { color: var(--zis-board); font-weight: 700; }
.zis-photo-credit { font-size: .82rem; color: var(--zis-muted); }

/* Formularz kontaktowy */
.zis-kontakt { max-width: 640px; }
.zis-kontakt label { font-weight: 700; }
.zis-kontakt input[type="text"], .zis-kontakt input[type="email"], .zis-kontakt textarea { border: 2px solid var(--zis-line); border-radius: 8px; padding: .65rem .8rem; font: inherit; background: #fff; }
.zis-kontakt input:focus, .zis-kontakt textarea:focus { outline: none; border-color: var(--zis-sky); }
.zis-kontakt__rodo { color: var(--zis-muted); }
.zis-kontakt__info { background: var(--zis-yellow-l); border-left: 4px solid var(--zis-yellow); padding: .6rem .9rem; }

/* Kategorie */
.zis-cat-header { background: var(--zis-board); color: var(--zis-chalk); border-radius: 12px; padding: 1.6rem 1.7rem 1.8rem; margin-bottom: 1.6rem; border-bottom: 8px solid var(--zis-wood); }
.zis-cat-header .archive-title { color: #fff; }
.zis-cat-header .archive-description, .zis-cat-header p { color: #DCE6E1; }
.zis-cat-header__eyebrow { display: inline-block; font-family: var(--font-serif); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--zis-ink); background: var(--zis-yellow); padding: .15rem .6rem; border-radius: 4px; }
.zis-cat-header__count { font-size: .9rem; margin: .6rem 0 0; }
.zis-cat-faq { margin-top: 2.2rem; background: #fff; border: 1px solid var(--zis-line); border-left: 6px solid var(--zis-rasp); border-radius: 12px; padding: 1.1rem 1.3rem; }
.zis-cat-faq h2 { font-size: 1.3rem; margin-top: 0; }
.zis-cat-faq details { border-top: 1px dashed var(--zis-line); padding: .7rem 0; }
.zis-cat-faq summary { cursor: pointer; font-family: var(--font-serif); font-weight: 700; color: var(--zis-board); }
.zis-cat-faq summary::marker { color: var(--zis-rasp); }

/* Oceny wpisów */
.zis-rate { margin: 2rem 0 1rem; padding: 1rem 1.2rem; background: var(--zis-yellow-l); border: 1px solid #EAD9A6; border-radius: 12px; }
.zis-rate__q { font-family: var(--font-serif); font-weight: 700; margin: 0 0 .35rem; color: var(--zis-board); }
.zis-rate__stars button { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: #CDBF95; cursor: pointer; padding: 0 .1rem; }
.zis-rate__stars button.is-on { color: var(--zis-rasp); }
.zis-rate__sum { font-size: .9rem; color: var(--zis-muted); margin: .35rem 0 0; }
.zis-rate.is-done .zis-rate__stars button { cursor: default; }

/* Stopka: tablica z półką na kredę */
.site-footer { background: linear-gradient(160deg, var(--zis-board) 0%, var(--zis-board-2) 100%); color: #CFDCD6; border-top: 10px solid var(--zis-wood); margin-top: 3rem; }
.site-footer a { color: #F6DE9C; }
.site-footer a:hover { color: #fff; }
.footer-col__title, .footer-brand__name { color: #fff; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .14); color: #AFC1B9; }

/* Przyciski */
.btn--primary, .zis-kontakt button[type="submit"] { background: var(--zis-rasp); border-color: var(--zis-rasp); color: #fff; border-radius: 8px; font-family: var(--font-serif); font-weight: 700; }
.btn--primary:hover, .zis-kontakt button[type="submit"]:hover { background: var(--zis-rasp-2); border-color: var(--zis-rasp-2); }
