/* Malacina – wygląd całego serwisu (nadpisuje motyw-z-verseo). Fonty lokalne: Rubik (nagłówki), Fira Sans (tekst). */
:root {
	--mlc-slate: #1f2e3b;
	--mlc-night: #15212b;
	--mlc-red: #b23a2b;
	--mlc-red-d: #8e2c20;
	--mlc-pine: #3c6b4c;
	--mlc-pine-l: #7fb08c;
	--mlc-snow: #f5f7f4;
	--mlc-mist: #e6ece8;
	--mlc-line: #d3dbd6;
	--mlc-ink: #1a2229;
	--mlc-muted: #55626c;
	--mlc-head: 'Rubik', system-ui, sans-serif;
	--mlc-body: 'Fira Sans', system-ui, sans-serif;
}
body { font-family: var(--mlc-body); }
h1, h2, h3, h4, .entry-title, .post-card__title, .site-title { font-family: var(--mlc-head); }

/* Nagłówek: zygzak grani pod paskiem i znak szlaku pod aktywną pozycją menu. */
.site-header { position: relative; }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; background: linear-gradient(135deg, var(--mlc-pine) 25%, transparent 25%) -4px 0 / 8px 8px, linear-gradient(225deg, var(--mlc-pine) 25%, transparent 25%) -4px 0 / 8px 8px; pointer-events: none; z-index: 5; }
.primary-nav a { font-family: var(--mlc-head); font-weight: 500; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 18px; height: 6px; transform: translateX(-50%) scaleX(0); background: linear-gradient(#fff 0 33%, var(--mlc-red) 33% 67%, #fff 67%); box-shadow: 0 0 0 1px var(--mlc-line); transition: transform .2s; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav .current-menu-parent > a::after, .primary-nav .current-post-ancestor > a::after { transform: translateX(-50%) scaleX(1); }

/* Karty wpisów: zaokrąglone, zielony pasek u dołu przy najechaniu. */
.post-card { border-radius: 16px; border: 1px solid var(--mlc-line); box-shadow: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: inset 0 -4px 0 var(--mlc-pine), 0 8px 22px rgba(31, 46, 59, .1); }

/* Treść wpisów. */
.entry-content h2 { padding-left: .7rem; border-left: 4px solid var(--mlc-red); }
.entry-content blockquote { background: var(--mlc-mist); border-left: 4px solid var(--mlc-pine); border-radius: 0 12px 12px 0; padding: 1rem 1.3rem; font-style: normal; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.entry-content th { background: var(--mlc-slate); color: #fff; text-align: left; }
.entry-content th, .entry-content td { border: 1px solid var(--mlc-line); padding: .55rem .7rem; }
.entry-content tbody tr:nth-child(even) { background: var(--mlc-snow); }
.entry-content figure img { border-radius: 12px; }
.entry-content figcaption, .mlc-photo-credit { font-size: .82rem; color: var(--mlc-muted); font-style: italic; margin-top: .4rem; }
.mlc-see { background: var(--mlc-mist); border-radius: 12px; padding: .9rem 1.1rem; border: 1px dashed var(--mlc-pine); }
.mlc-see strong { color: var(--mlc-slate); }

/* Okruszki i stopka z sylwetką gór. */
.breadcrumbs a, .yoast-breadcrumbs a { color: var(--mlc-pine); }
.site-footer { background: var(--mlc-night); position: relative; margin-top: 46px; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -45px; height: 46px; background: var(--mlc-night); clip-path: polygon(0 100%, 0 70%, 6% 40%, 11% 62%, 18% 20%, 24% 55%, 31% 30%, 37% 64%, 45% 8%, 52% 50%, 58% 32%, 65% 66%, 72% 24%, 79% 58%, 86% 36%, 93% 64%, 100% 44%, 100% 100%); }

/* Formularz kontaktowy. */
.mlc-form input, .mlc-form textarea { border: 1px solid var(--mlc-line); border-radius: 10px; padding: .6rem .75rem; font: inherit; background: #fff; }
.mlc-form__rodo { color: var(--mlc-muted); }

/* Działy (kategorie). */
.mlc-cat-head { background: linear-gradient(135deg, var(--mlc-slate), var(--mlc-night)); color: #fff; border-radius: 16px; padding: 1.6rem 1.8rem; position: relative; overflow: hidden; }
.mlc-cat-head::after { content: ''; position: absolute; right: -10px; bottom: 0; width: 220px; height: 70px; background: rgba(255, 255, 255, .06); clip-path: polygon(0 100%, 30% 20%, 45% 55%, 65% 0, 100% 100%); }
.mlc-cat-head .archive-title { color: #fff; margin: .3rem 0 .6rem; }
.mlc-cat-head__eyebrow { font: 600 .75rem/1 var(--mlc-head); letter-spacing: .16em; text-transform: uppercase; color: var(--mlc-pine-l); }
.mlc-cat-intro p { color: #dbe3de; position: relative; z-index: 1; }
.mlc-cat-head__count { display: inline-block; margin-top: .4rem; padding: .25rem .75rem; background: var(--mlc-red); color: #fff; font-weight: 600; font-size: .85rem; border-radius: 999px; }
.mlc-cat-faq { margin-top: 2.5rem; }
.mlc-cat-faq h2 { font-family: var(--mlc-head); }
.mlc-cat-faq details { background: var(--mlc-snow); border: 1px solid var(--mlc-line); border-radius: 12px; padding: .8rem 1rem; margin-bottom: .5rem; }
.mlc-cat-faq summary { cursor: pointer; font: 600 1rem var(--mlc-head); color: var(--mlc-slate); }
.mlc-cat-empty { background: var(--mlc-mist); padding: 1rem 1.2rem; border-radius: 12px; }

/* Oceny artykułów. */
.mlc-rate { margin: 2.5rem 0 1rem; padding: 1.2rem 1.4rem; background: var(--mlc-snow); border: 1px solid var(--mlc-line); border-radius: 16px; text-align: center; }
.mlc-rate__q { margin: 0 0 .4rem; font: 600 1.05rem var(--mlc-head); color: var(--mlc-slate); }
.mlc-rate__stars button { background: none; border: 0; font-size: 2rem; line-height: 1; color: #c3ccc6; cursor: pointer; padding: 0 .12rem; }
.mlc-rate__stars button.is-on, .mlc-rate__stars button:hover { color: #e2a019; }
.mlc-rate.is-done .mlc-rate__stars button { cursor: default; }
.mlc-rate__sum { margin: .4rem 0 0; font-size: .92rem; color: var(--mlc-muted); }
