/* BHP Optima – style całego serwisu (paleta: granat, zieleń ewakuacyjna, żółć ostrzegawcza, czerwień ppoż., beton). */
:root {
	--font-serif: 'Work Sans', 'Segoe UI', Arial, sans-serif;
	--font-sans: 'Noto Sans', 'Segoe UI', Arial, sans-serif;
	--bo-navy: #1C2B39;
	--bo-navy-2: #121C26;
	--bo-green: #0B6E4F;
	--bo-green-2: #08573E;
	--bo-yellow: #F2C200;
	--bo-red: #C1272D;
	--bo-blue: #1F5FA8;
	--bo-concrete: #F6F6F1;
	--bo-line: #D8DDE2;
	--bo-muted: #56616C;
	--radius: 2px;
	--radius-lg: 3px;
	--radius-xl: 4px;
	--shadow-sm: none;
	--shadow: 4px 4px 0 rgba(28, 43, 57, .14);
	--shadow-md: 6px 6px 0 rgba(28, 43, 57, .16);
}
h1, h2, h3, h4, .post-card__title, .archive-title, .post-header__title { font-family: var(--font-serif); letter-spacing: -.015em; }

/* Nagłówek: taśma ostrzegawcza żółto-czarna */
.site-header { border-bottom: 0; position: relative; }
.site-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; z-index: 2;
	background: repeating-linear-gradient(-45deg, var(--bo-yellow) 0 12px, var(--bo-navy-2) 12px 24px);
}
.bo-logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--bo-navy); font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1; }
.bo-logo svg { width: 40px; height: 36px; flex: 0 0 auto; }
.bo-logo b { color: var(--bo-green); font-weight: 700; }
.bo-logo:hover { color: var(--bo-navy); }
@media (max-width: 480px) { .bo-logo { font-size: 1.1rem; } .bo-logo svg { width: 32px; height: 29px; } }

/* Menu: zielony „znacznik” (kwadrat) przy aktywnej pozycji, podkreślenie przy hover */
.primary-nav a { font-family: var(--font-serif); font-weight: 600; font-size: .9rem; position: relative; }
.primary-nav > ul > li > a { text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.primary-nav > ul > li > a:hover { text-decoration-line: underline; text-decoration-color: var(--bo-yellow); }
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-category-ancestor > a { color: var(--bo-green); }
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li.current-category-ancestor > a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 7px; height: 7px; margin-left: -3.5px; background: var(--bo-green); }

/* Karty wpisów: ostre krawędzie, twardy cień przy hover, etykieta jak tabliczka */
.post-card { border: 1px solid var(--bo-line); box-shadow: none; border-radius: var(--radius); transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translate(-2px, -2px); border-color: var(--bo-navy); }
.post-card__thumbnail { border-radius: 0; }
.post-card__category { background: var(--bo-green); color: #fff; border-radius: 0; text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; font-weight: 600; }

/* Treść wpisów i stron */
.entry-content h2 { border-bottom: 2px solid var(--bo-navy); padding-bottom: .3rem; position: relative; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 4px; background: var(--bo-yellow); }
.entry-content blockquote { border-left: 0; background: var(--bo-concrete); padding: 1rem 1.25rem 1rem 3rem; position: relative; }
.entry-content blockquote::before { content: "!"; position: absolute; left: .9rem; top: 1rem; width: 1.4rem; height: 1.4rem; background: var(--bo-yellow); color: var(--bo-navy-2); font-weight: 700; text-align: center; line-height: 1.4rem; clip-path: polygon(50% 0, 100% 100%, 0 100%); font-size: .8rem; }
.entry-content figure figcaption, .entry-content .wp-caption-text { font-size: .8rem; color: var(--bo-muted); background: var(--bo-concrete); padding: .35rem .6rem; margin-top: 0; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.entry-content th { background: var(--bo-navy); color: #fff; text-align: left; }
.entry-content th, .entry-content td { padding: .55rem .7rem; border: 1px solid var(--bo-line); }
.entry-content tbody tr:nth-child(even) { background: var(--bo-concrete); }
.entry-content a { text-decoration-color: var(--bo-green); text-underline-offset: 2px; }
.bo-photo-credit { font-size: .8rem; color: var(--bo-muted); }
.author-box__avatar { display: none; }

/* Breadcrumbs */
.breadcrumb { font-size: .82rem; }
.breadcrumb__sep { color: var(--bo-green); }

/* Formularz kontaktowy */
.bo-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.bo-form input, .bo-form textarea { display: block; width: 100%; max-width: 560px; border: 2px solid var(--bo-line); border-radius: 0; padding: .6rem .75rem; font: inherit; background: #fff; }
.bo-form input:focus, .bo-form textarea:focus { outline: 0; border-color: var(--bo-green); }
.bo-form__rodo { font-size: .8rem; color: var(--bo-muted); max-width: 560px; }
.bo-form__info { background: var(--bo-concrete); border-left: 6px solid var(--bo-green); padding: .7rem 1rem; }

/* Kategorie */
.bo-cat-header { border-bottom: 0; padding-bottom: 1rem; margin-bottom: 1.5rem; position: relative; }
.bo-cat-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(-45deg, var(--bo-yellow) 0 8px, var(--bo-navy-2) 8px 16px); }
.bo-cat-header__eyebrow { display: inline-block; font-family: var(--font-serif); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--bo-navy); padding: .25rem .6rem; }
.bo-cat-intro { background: var(--bo-concrete); border: 1px solid var(--bo-line); padding: .9rem 1.1rem; }
.bo-cat-intro p:last-child { margin-bottom: 0; }
.bo-cat-header__count { font-size: .85rem; color: var(--bo-muted); margin-top: .6rem; }
.bo-cat-faq { margin-top: 2.5rem; padding-top: 1rem; }
.bo-cat-faq h2 { font-size: 1.35rem; }
.bo-cat-faq details { border: 1px solid var(--bo-line); border-left: 5px solid var(--bo-green); margin-bottom: .6rem; background: #fff; }
.bo-cat-faq summary { cursor: pointer; padding: .8rem 1rem; font-weight: 600; font-family: var(--font-serif); font-size: .96rem; }
.bo-cat-faq details[open] { border-left-color: var(--bo-yellow); }
.bo-cat-faq details p { padding: 0 1rem .9rem; margin: 0; }

/* Oceny wpisów */
.bo-rate { margin: 2rem 0 1rem; padding: 1rem 1.2rem; border: 2px solid var(--bo-navy); background: #fff; box-shadow: var(--shadow); }
.bo-rate__q { font-family: var(--font-serif); font-weight: 600; margin: 0 0 .4rem; }
.bo-rate__stars { display: flex; gap: .2rem; }
.bo-rate__stars button { background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--bo-line); cursor: pointer; padding: 0 .1rem; }
.bo-rate__stars button.is-on { color: var(--bo-yellow); text-shadow: 0 0 1px var(--bo-navy-2); }
.bo-rate.is-done .bo-rate__stars button { cursor: default; }
.bo-rate__sum { font-size: .85rem; color: var(--bo-muted); margin: .4rem 0 0; }

/* Stopka: granat z zielonym pasem ewakuacyjnym */
.site-footer { background: var(--bo-navy-2); color: #C7D0D9; border-top: 6px solid var(--bo-green); }
.site-footer a, .footer-brand__name { color: #fff; }
.site-footer a:hover { color: var(--bo-yellow); }
.footer-col__title { color: var(--bo-yellow); font-family: var(--font-serif); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-brand__tagline { color: #AEB9C4; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .12); color: #AEB9C4; }
