/**
 * Wariant B — blogoodszkodowaniach.pl
 * Motyw: Twenty Sixteen (bez zmiany motywu).
 *
 * Ten plik = bos-post.css (typografia wpisu) + wygląd wariantu B
 * (papier, nagłówek, zajawki, kontrast banera ciasteczek).
 *
 * Wdrożenie (nic nie zostało włączone na żywej stronie):
 * 1. Skopiować CAŁY ten plik do: Wygląd → Dostosuj → Dodatkowy CSS
 *    i opublikować. To najpewniejsza ścieżka na motywie klasycznym.
 * 2. Kroki Customizera i ustawień — plik INSTRUKCJA.md w tym folderze.
 *
 * Uwaga: w API WordPress.com (wpcom/global-styles-get, wpis 6710)
 * zapisany jest sam bos-post.css, ale 28.11.2026 nie pojawiał się
 * w publicznym HTML (brak #wp-custom-css). Dlatego wklejenie tutaj,
 * w Dodatkowym CSS Customizera, jest obligatoryjne.
 */

/* --- porządki typowe dla nowych wpisów --- */
.entry-content h1:empty,
.entry-content p:empty {
	display: none;
}

/* Trochę ciaśniejsze śródtytuły: w motywie H2/H3 mają bardzo duży margines górny */
.entry-content h2 {
	margin-top: 1.65em;
	margin-bottom: 0.65em;
	line-height: 1.3;
}

.entry-content h3 {
	margin-top: 1.35em;
	margin-bottom: 0.5em;
	line-height: 1.3;
}

.entry-content p + h2,
.entry-content ul + h2,
.entry-content ol + h2,
.entry-content table + h2,
.entry-content figure + h2,
.entry-content .wp-block-group + h2,
.entry-content .bos-tldr + h2,
.entry-content .bos-example + h2,
.entry-content .bos-law + h2 {
	margin-top: 1.85em;
}

/* Mniej krzyczącego pogrubienia: zostaje, ale nie „puchnie” */
.entry-content strong {
	font-weight: 700;
}

/* --- etykiety ramek --- */
.entry-content .bos-kicker {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94335d;
	margin: 0 0 0.55em;
	line-height: 1.4;
}

/* --- W skrócie --- */
.entry-content .bos-tldr {
	background: #f6f3f1;
	border-left: 4px solid #94335d;
	padding: 1.15em 1.35em 0.35em;
	margin: 0 0 1.75em;
}

.entry-content .bos-tldr ul,
.entry-content .bos-tldr ol {
	margin-bottom: 1em;
}

.entry-content .bos-tldr li {
	margin-bottom: 0.35em;
}

/* --- Z praktyki --- */
.entry-content .bos-example {
	background: #faf8f5;
	border-left: 4px solid #c4a574;
	padding: 1.15em 1.35em 0.35em;
	margin: 0 0 1.75em;
}

/* --- Przepis --- */
.entry-content .bos-law {
	background: #f7f7f7;
	border-left: 4px solid #1a1a1a;
	padding: 1.15em 1.35em 0.5em;
	margin: 0 0 1.75em;
}

.entry-content .bos-law blockquote {
	border: 0;
	margin: 0 0 0.6em;
	padding: 0;
	color: #1a1a1a;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.7;
}

.entry-content .bos-law cite,
.entry-content .bos-law .bos-cite {
	display: block;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	color: #686868;
	letter-spacing: 0.02em;
	margin: 0 0 0.75em;
}

/* --- Tabele --- */
.entry-content .wp-block-table,
.entry-content figure.wp-block-table {
	overflow-x: auto;
	margin: 0 0 1.75em;
	max-width: 100%;
}

.entry-content .wp-block-table table {
	font-size: 15px;
	line-height: 1.45;
	width: 100%;
	border-color: #e0dcd7;
}

.entry-content .wp-block-table thead th {
	background: #f3f1ef;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1a1a1a;
	padding: 0.65em 0.7em;
}

.entry-content .wp-block-table td,
.entry-content .wp-block-table th {
	padding: 0.6em 0.7em;
	vertical-align: top;
	border-color: #e0dcd7;
}

.entry-content .wp-block-table tbody tr:nth-child(even) td {
	background: #fafaf9;
}

/* --- FAQ (blok Szczegóły / details) --- */
.entry-content .bos-faq {
	margin: 0 0 1.75em;
	border-top: 1px solid #e5e1dc;
}

.entry-content .bos-faq details,
.entry-content details.bos-faq-item {
	border-bottom: 1px solid #e5e1dc;
	padding: 0;
}

.entry-content .bos-faq summary {
	cursor: pointer;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	padding: 0.85em 1.8em 0.85em 0;
	list-style: none;
	position: relative;
}

.entry-content .bos-faq summary::-webkit-details-marker {
	display: none;
}

.entry-content .bos-faq summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 0.8em;
	color: #94335d;
	font-weight: 700;
}

.entry-content .bos-faq details[open] summary::after {
	content: "–";
}

.entry-content .bos-faq summary:focus {
	outline: 2px solid #94335d;
	outline-offset: 2px;
}

.entry-content .bos-faq details p {
	margin: 0 0 1em;
	padding: 0;
}

/* --- Powiązane wpisy --- */
.entry-content .bos-links {
	margin: 0 0 1.75em;
}

.entry-content .bos-links ul {
	margin-bottom: 0;
}

/* --- Stopka autora --- */
.entry-content .bos-author {
	background: #f6f3f1;
	padding: 1.35em 1.4em 0.4em;
	margin: 1.5em 0 0;
	border-top: 3px solid #94335d;
}

.entry-content .bos-author p {
	margin-bottom: 0.7em;
}

.entry-content .bos-author a {
	color: #94335d;
}

.entry-content .bos-disclaimer {
	font-size: 0.9rem;
	color: #686868;
}

/* --- Cytat otwierający (pytanie czytelnika) --- */
.entry-content > .wp-block-quote,
.entry-content > blockquote.wp-block-quote {
	margin-top: 0.25em;
}

/* Linki w treści: spokojniejsze podkreślenie */
.entry-content p a,
.entry-content li a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.entry-content p a:hover,
.entry-content li a:hover {
	color: #94335d;
}

/* Odstępy w grupach Gutenberg (klasyczny motyw czasem owija inner-container) */
.entry-content .bos-tldr .wp-block-group__inner-container,
.entry-content .bos-example .wp-block-group__inner-container,
.entry-content .bos-law .wp-block-group__inner-container,
.entry-content .bos-author .wp-block-group__inner-container,
.entry-content .bos-faq .wp-block-group__inner-container {
	padding: 0;
}


/* =====================================================================
   Wariant B — ramka strony, nagłówek, zajawki, ciasteczka
   ===================================================================== */

/* Tło zamiast czarnej ramki #1a1a1a. Karta treści zostaje jasna. */
body {
	background: #f3efe9;
}

body .site {
	background: #fff;
}

/* Ukrycie zdjęcia nagłówka (2016). W Customizerze warto je też wyłączyć,
   żeby nie pobierać niepotrzebnie pliku. */
.header-image {
	display: none !important;
}

/* Tagline widoczny także na telefonie (motyw chowa go poniżej 44.375em).
   Po zmianie opisu witryny na „Bartosz Kowalak, radca prawny”
   ten wiersz podaje autora, bez numeru telefonu w nagłówku. */
.site-description {
	display: block;
	color: #3a3a3a;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.45;
	margin: 0.6em 0 0;
}

.site-header-main {
	padding-bottom: 0.35em;
}

/* Trochę spokojniejszy tytuł witryny na wąskim ekranie */
@media screen and (max-width: 44.374em) {
	.site-title {
		font-size: 22px;
		font-size: 1.375rem;
		line-height: 1.2;
	}

	.site-header {
		padding-top: 1.25em;
		padding-bottom: 0.85em;
	}
}

/* Linki: ciemniejszy niebieski niż #007acc (4,51 — AA na granicy).
   #0b4f86 na białym spełnia AA z zapasem. Hover w burgundzie wariantu. */
.entry-content a,
.entry-summary a,
.comment-content a,
.widget a {
	color: #0b4f86;
}

.entry-content a:hover,
.entry-content a:focus,
.entry-summary a:hover,
.entry-summary a:focus,
.site-branding .site-title a:hover,
.site-branding .site-title a:focus,
.entry-title a:hover,
.entry-title a:focus {
	color: #7a2e4d;
}

.entry-content .bos-author a {
	color: #7a2e4d;
}

/* Zajawki na stronie głównej, w archiwach i w wyszukiwarce.
   Twenty Sixteen wypisuje zarówno .entry-summary, jak i pełne .entry-content.
   Ustawienia → Czytanie (rss_use_excerpt) dotyczą tylko kanału RSS
   — ten jest już ustawiony na zajawki i nie zmienia wyglądu strony. */
body.home.blog .site-main article .entry-content,
body.archive .site-main article .entry-content,
body.search-results .site-main article .entry-content,
body.blog:not(.single):not(.page) .site-main article .entry-content {
	display: none;
}

body.home.blog .site-main article .entry-summary,
body.archive .site-main article .entry-summary,
body.search-results .site-main article .entry-summary,
body.blog:not(.single):not(.page) .site-main article .entry-summary {
	display: block;
	margin-bottom: 0.4em;
	color: #3a3a3a;
}

/* Kontrast banera ciasteczek (Jetpack EU Cookie Law).
   Domyślny jasnoszary tekst na białym miał ok. 2,29 — poniżej AA.
   Kremowy tekst na ciemnym tle spełnia AAA. Treść i przycisk zostają
   stonowane, bez krzykliwego CTA. */
#eu-cookie-law,
.widget_eu_cookie_law_widget #eu-cookie-law {
	background: #2a2623;
	color: #f4f1ea;
	border: 0;
	box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
}

#eu-cookie-law a,
.widget_eu_cookie_law_widget #eu-cookie-law a {
	color: #f4f1ea;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

#eu-cookie-law input.accept,
#eu-cookie-law button.accept,
.widget_eu_cookie_law_widget input.accept,
.widget_eu_cookie_law_widget button.accept {
	background: #f4f1ea;
	color: #1a1a1a;
	border: 0;
	font-weight: 600;
}

/* Subtelniejszy akcent wyszukiwarki w pasku bocznym — bez zmiany funkcji */
.widget_search .search-submit {
	background: #1a1a1a;
}