/* Portal PPOŻ – style całego serwisu (nadpisują Motyw Z Verseo). Paleta „sygnalizacja”: czerwień ppoż, antracyt, zieleń ewakuacyjna, żółć ostrzegawcza. */
:root {
	--ppz-red: #B3261E;
	--ppz-red-d: #8C1D17;
	--ppz-red-l: #FBEDEB;
	--ppz-coal: #1C1F22;
	--ppz-coal-2: #2A2E33;
	--ppz-green: #0B7A47;
	--ppz-green-d: #08603A;
	--ppz-green-l: #DDF1E6;
	--ppz-yellow: #F2B705;
	--ppz-ash: #F4F2EE;
	--ppz-line: #E2DED6;
	--ppz-text: #22262A;
	--ppz-muted: #5C6168;
	--ppz-r: 2px;
	--ppz-hazard: repeating-linear-gradient(-45deg, var(--ppz-yellow) 0 10px, var(--ppz-coal) 10px 20px);
}
body { font-family: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ppz-text); }
h1, h2, h3, h4, .site-branding__name, .entry-title, .archive-title, .post-card__title, .widget__title, .footer-brand__name, .page-title { font-family: 'Montserrat', system-ui, sans-serif; font-weight: 700; letter-spacing: -.01em; }

/* Nagłówek: taśma ostrzegawcza pod paskiem, czerwony blok pod aktywną pozycją menu */
.site-header { position: relative; background: #fff; border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--ppz-hazard); pointer-events: none; z-index: 2; }
.primary-nav a { font-family: 'Montserrat', sans-serif; font-weight: 600; text-decoration: none; position: relative; }
.primary-nav a:hover { color: var(--ppz-red); }
.primary-nav .current-menu-item > a, .primary-nav .current-category-ancestor > a, .primary-nav .current-post-ancestor > a, .primary-nav .current-menu-parent > a { color: var(--ppz-red-d); box-shadow: inset 0 -4px 0 var(--ppz-red); }
.custom-logo { max-height: 52px; width: auto; }

/* Okruszki */
.breadcrumb, .breadcrumbs { font-size: .85rem; color: var(--ppz-muted); }
.breadcrumb a, .breadcrumbs a { color: var(--ppz-red-d); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover, .breadcrumbs a:hover { text-decoration: underline; }

/* Karty wpisów: ostre narożniki, obramowanie, przy hover czerwona belka z lewej */
.post-card { border-radius: var(--ppz-r); border: 1px solid var(--ppz-line); box-shadow: none; transition: box-shadow .15s, border-color .15s; }
.post-card:hover { border-color: var(--ppz-coal); box-shadow: inset 5px 0 0 var(--ppz-red); transform: none; }
.post-card__thumbnail, .post-card__thumbnail img { border-radius: 0; }
.post-card__category, .post-card__categories a { background: var(--ppz-coal); color: #fff; border-radius: 0; text-transform: uppercase; letter-spacing: .04em; font-size: .7rem; font-weight: 700; }
.post-card__title a:hover { color: var(--ppz-red); }

/* Przyciski */
.btn, button, input[type=submit] { border-radius: var(--ppz-r); }
.btn--primary { background: var(--ppz-red); border-color: var(--ppz-red); }
.btn--primary:hover { background: var(--ppz-red-d); border-color: var(--ppz-red-d); }
.btn--accent { background: var(--ppz-green); border-color: var(--ppz-green); color: #fff; }
.btn--accent:hover { background: var(--ppz-green-d); }

/* Treść wpisów: H2 ze znakiem ewakuacyjnym, tabele z antracytowym nagłówkiem */
.entry-content h2 { position: relative; padding-left: 40px; margin-top: 2.2em; }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .15em; width: 28px; height: 28px; background: var(--ppz-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h11M12 7l5 5-5 5' fill='none' stroke='%23fff' stroke-width='2.6'/%3E%3C/svg%3E") center / 20px no-repeat; border-radius: var(--ppz-r); }
.entry-content h3 { color: var(--ppz-coal); }
.entry-content a { color: var(--ppz-red-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ppz-red); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; display: block; overflow-x: auto; }
.entry-content thead th { background: var(--ppz-coal); color: #fff; text-align: left; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.entry-content th, .entry-content td { border: 1px solid var(--ppz-line); padding: .55em .75em; vertical-align: top; }
.entry-content tbody tr:nth-child(even) { background: var(--ppz-ash); }
.entry-content blockquote { border-left: 5px solid var(--ppz-yellow); background: var(--ppz-ash); margin: 1.5em 0; padding: 1em 1.25em; font-style: normal; }
.entry-content figcaption, .wp-caption-text { font-size: .82rem; color: var(--ppz-muted); border-left: 3px solid var(--ppz-red); padding-left: .6em; margin-top: .4em; }

/* Stopka: antracyt z taśmą ostrzegawczą */
.site-footer { background: var(--ppz-coal); color: #D9DCE0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ppz-hazard); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--ppz-yellow); }
.footer-col__title, .footer-brand__name { color: #fff; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .12); }

/* Formularz kontaktu */
.ppz-kontakt input, .ppz-kontakt textarea { border: 1px solid #9AA0A6; border-radius: var(--ppz-r); padding: .6em .7em; font: inherit; }
.ppz-kontakt input:focus, .ppz-kontakt textarea:focus { outline: 3px solid var(--ppz-yellow); outline-offset: 1px; }
.ppz-kontakt__info { background: var(--ppz-green-l); border-left: 4px solid var(--ppz-green); padding: .7em 1em; }

/* Działy: nagłówek z taśmą, FAQ działu */
.ppz-cat-header { position: relative; background: var(--ppz-ash); border: 1px solid var(--ppz-line); border-left: 8px solid var(--ppz-red); padding: 22px 24px; margin-bottom: 28px; }
.ppz-cat-header__eyebrow { font: 700 .75rem/1 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ppz-red); margin-bottom: 8px; }
.ppz-cat-header .archive-title { margin: 0 0 10px; }
.ppz-cat-intro p { margin: 0 0 10px; line-height: 1.65; }
.ppz-cat-header__count { display: inline-block; margin: 6px 0 0; font: 700 .78rem 'Montserrat', sans-serif; background: var(--ppz-coal); color: #fff; padding: 5px 8px; }
.ppz-cat-faq { margin-top: 40px; border-top: 6px solid transparent; border-image: var(--ppz-hazard) 6; padding-top: 18px; }
.ppz-cat-faq h2 { font-size: 1.3rem; margin: 0 0 12px; }
.ppz-cat-faq details { border-bottom: 1px solid var(--ppz-line); padding: 12px 0; }
.ppz-cat-faq summary { cursor: pointer; font-weight: 700; }
.ppz-cat-faq details p { margin: 8px 0 0; line-height: 1.65; }
.ppz-cat-empty { padding: 18px; background: var(--ppz-ash); border-left: 4px solid var(--ppz-yellow); }

/* Ocena przydatności (kwadratowe przyciski 1–5) */
.ppz-rate { margin: 2.5em 0 1em; padding: 18px 20px; border: 2px solid var(--ppz-coal); background: #fff; }
.ppz-rate__q { margin: 0 0 10px; font: 700 1rem 'Montserrat', sans-serif; }
.ppz-rate__stars { display: flex; gap: 6px; }
.ppz-rate__stars button { width: 40px; height: 40px; border: 2px solid var(--ppz-coal); background: #fff; color: var(--ppz-coal); font: 800 1rem 'Montserrat', sans-serif; cursor: pointer; border-radius: 0; padding: 0; }
.ppz-rate__stars button.is-on { background: var(--ppz-red); border-color: var(--ppz-red); color: #fff; }
.ppz-rate.is-done .ppz-rate__stars button { cursor: default; }
.ppz-rate__sum { margin: 10px 0 0; font-size: .9rem; color: var(--ppz-muted); }
