/* P2 - Boże Ciało + Wniebowzięcie v1.2.0
   Obowiązujący styl przewodników Msza-Online.
*/

body.p2-bw-target { background: #080807 !important; }

body.p2-bw-target .elementor-widget-theme-post-title,
body.p2-bw-target .entry-title,
body.p2-bw-target header.entry-header {
	display: none !important;
}

body.p2-bw-target .site-content > .ast-container,
body.p2-bw-target .site-content .ast-container,
body.p2-bw-target .content-area,
body.p2-bw-target .site-main,
body.p2-bw-target article.page,
body.p2-bw-target .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.p2-bw-target .entry-content { margin-top: 0 !important; }

.p2-bw-guide,
.p2-bw-guide * { box-sizing: border-box; }

.p2-bw-guide {
	--p2-bg: #080807;
	--p2-panel: #11110F;
	--p2-panel-soft: #110F0A;
	--p2-text: #F2EBDD;
	--p2-muted: #BDB4A7;
	--p2-gold: #A47B2F;
	--p2-line: #45361F;

	width: 100%;
	background: var(--p2-bg);
	color: var(--p2-muted);
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 200;
	line-height: 32px;
}

.p2-bw-shell {
	width: min(100%, 1360px);
	margin: 0 auto;
	padding: 70px 24px 88px;
}

.p2-bw-hero { max-width: 1160px; }

.p2-bw-kicker,
.p2-bw-section-kicker {
	color: var(--p2-gold);
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.p2-bw-kicker { margin: 0 0 28px; }
.p2-bw-section-kicker { margin: 0 0 28px; }

.p2-bw-guide h1,
.p2-bw-guide h2,
.p2-bw-guide h3 {
	color: var(--p2-text);
	font-family: "Playfair Display", serif;
	font-weight: 400;
}

.p2-bw-guide h1 {
	margin: 0;
	line-height: 1.08;
	letter-spacing: -0.016em;
}

.p2-bw-guide h1 span { display: block; }
.p2-bw-guide h1 span + span { margin-top: 4px; }

.p2-bw-guide--boze-cialo h1 {
	max-width: 1120px;
	font-size: 50px;
}

.p2-bw-guide--wniebowziecie h1 {
	max-width: 1000px;
	font-size: 56px;
}

.p2-bw-gold-line {
	width: 239px;
	height: 1px;
	margin-top: 48px;
	background: var(--p2-gold);
}

.p2-bw-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-top: 60px;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.p2-bw-breadcrumb a {
	color: var(--p2-muted);
	text-decoration: none;
	transition: color .18s ease;
}

.p2-bw-breadcrumb a:hover,
.p2-bw-breadcrumb a:focus-visible { color: var(--p2-text); }

.p2-bw-breadcrumb__sep { color: var(--p2-gold); }

.p2-bw-prose { max-width: 960px; }
.p2-bw-intro { margin-top: 62px; }

.p2-bw-prose p {
	margin: 0 0 26px;
	color: var(--p2-muted);
	font: inherit;
}

.p2-bw-prose p:last-child { margin-bottom: 0; }

.p2-bw-prose ul,
.p2-bw-prose ol {
	margin: 0 0 28px;
	padding-left: 1.35em;
	color: var(--p2-muted);
}

.p2-bw-prose li {
	margin: 0 0 10px;
	padding-left: .22em;
}

.p2-bw-prose li:last-child { margin-bottom: 0; }
.p2-bw-prose li::marker { color: var(--p2-gold); }

.p2-bw-prose strong {
	color: var(--p2-text);
	font-weight: 600;
}

.p2-bw-prose em { font-style: italic; }

/* TOC - istniejący wzorzec długich przewodników */
.p2-bw-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 1120px;
	margin-top: 58px;
	padding-top: 22px;
	border-top: 1px solid var(--p2-line);
}

.p2-bw-toc a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid var(--p2-line);
	background: transparent;
	color: var(--p2-text);
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
	border-radius: 0;
	transition: border-color .18s ease, color .18s ease;
}

.p2-bw-toc a:hover,
.p2-bw-toc a:focus-visible {
	border-color: var(--p2-gold);
	color: var(--p2-gold);
	outline: none;
}

/* Długi przewodnik redakcyjny */
.p2-bw-body {
	max-width: 960px;
	margin-top: 84px;
}

.p2-bw-section {
	margin: 0;
	padding: 82px 0 88px;
	border-top: 1px solid var(--p2-line);
	scroll-margin-top: 28px;
}

.p2-bw-section h2 {
	max-width: 930px;
	margin: 0 0 38px;
	font-size: 56px;
	line-height: 1.12;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

.p2-bw-section h3 {
	max-width: 900px;
	margin: 50px 0 22px;
	font-size: 32px;
	line-height: 1.22;
	letter-spacing: -0.006em;
	text-wrap: balance;
}

/* Istniejący pełny panel "w skrócie" */
.p2-bw-section--summary {
	padding: 40px 44px 42px;
	background: var(--p2-panel);
	border: 1px solid var(--p2-line);
}

.p2-bw-section--summary .p2-bw-section-kicker { margin-bottom: 24px; }

.p2-bw-section--summary h2 {
	margin-bottom: 30px;
	font-size: 42px;
	line-height: 1.16;
}

.p2-bw-section--summary p { margin-bottom: 16px; }

.p2-bw-section--faq h3 { margin-top: 42px; }

.p2-bw-section--sources h2 { font-size: 44px; }

.p2-bw-section--sources ol > li { margin-bottom: 18px; }

.p2-bw-section--sources ul {
	margin-top: 8px;
	margin-bottom: 0;
}

.p2-bw-signature {
	max-width: 960px;
	margin-top: 72px;
	color: var(--p2-muted);
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 200;
	line-height: 26px;
}

.p2-bw-signature hr {
	height: 1px;
	margin: 0 0 28px;
	border: 0;
	background: var(--p2-line);
}

.p2-bw-signature p { margin: 0; }

.p2-bw-signature strong {
	color: var(--p2-text);
	font-weight: 600;
}

.p2-bw-footer-nav {
	max-width: 1180px;
	margin-top: 90px;
	padding-top: 28px;
	border-top: 1px solid var(--p2-line);
}

.p2-bw-footer-nav .p2-bw-breadcrumb { margin-top: 0; }

@media (max-width: 900px) {
	.p2-bw-shell {
		padding-right: 18px;
		padding-left: 18px;
	}

	.p2-bw-guide--boze-cialo h1,
	.p2-bw-guide--wniebowziecie h1 {
		font-size: 50px;
	}

	.p2-bw-section h2 { font-size: 50px; }
}

@media (max-width: 600px) {
	.p2-bw-guide {
		font-size: 17px;
		line-height: 30px;
	}

	.p2-bw-shell {
		padding: 52px 14px 64px;
	}

	.p2-bw-kicker { margin-bottom: 24px; }

	.p2-bw-guide--boze-cialo h1,
	.p2-bw-guide--wniebowziecie h1 {
		font-size: 40px;
		line-height: 1.1;
	}

	.p2-bw-gold-line {
		width: 150px;
		margin-top: 34px;
	}

	.p2-bw-breadcrumb {
		gap: 8px;
		margin-top: 48px;
		font-size: 14px;
		line-height: 19px;
	}

	.p2-bw-intro { margin-top: 52px; }
	.p2-bw-prose p { margin-bottom: 24px; }
	.p2-bw-toc { margin-top: 50px; }
	.p2-bw-body { margin-top: 68px; }

	.p2-bw-section { padding: 62px 0 68px; }

	.p2-bw-section h2 {
		margin-bottom: 32px;
		font-size: 38px;
		line-height: 1.14;
	}

	.p2-bw-section h3 {
		margin-top: 40px;
		font-size: 28px;
		line-height: 1.22;
	}

	.p2-bw-section--summary {
		padding: 26px 22px 28px;
	}

	.p2-bw-section--summary h2 { font-size: 34px; }
	.p2-bw-section--sources h2 { font-size: 36px; }
	.p2-bw-footer-nav { margin-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.p2-bw-breadcrumb a,
	.p2-bw-toc a {
		transition: none;
	}
}

/* v1.2.0: semantyczny markup bez zmiany wyglądu */
.p2-bw-summary-list {
	margin: 0;
	padding: 0;
}

.p2-bw-summary-item {
	margin: 0 0 16px;
}

.p2-bw-summary-list dt,
.p2-bw-summary-list dd {
	display: inline;
	margin: 0;
	padding: 0;
}

.p2-bw-summary-list dt {
	color: var(--p2-text);
	font-weight: 600;
}

.p2-bw-summary-list dt::after {
	content: " ";
}

.p2-bw-summary-list dd {
	color: var(--p2-muted);
}

.p2-bw-dynamic-date {
	margin-top: 16px !important;
}

.p2-bw-question-list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.p2-bw-question-list li {
	margin: 0 0 26px;
	padding: 0;
}

.p2-bw-prose a {
	color: var(--p2-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.p2-bw-signature a {
	color: inherit;
	text-decoration: none;
}
