/* P2 - Wszystkich Świętych + Boże Narodzenie v1.1.0
   Obowiązujący styl przewodników Msza-Online.
*/

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

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

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

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

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

.p2-wb-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-wb-shell {
	width: min(100%, 1360px);
	margin: 0 auto;
	padding: 70px 24px 88px;
}

.p2-wb-hero {
	max-width: 1140px;
}

.p2-wb-kicker,
.p2-wb-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-wb-kicker {
	margin: 0 0 28px;
}

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

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

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

.p2-wb-guide h1 span {
	display: block;
}

.p2-wb-guide h1 span + span {
	margin-top: 4px;
}

.p2-wb-guide--wszystkich h1 {
	max-width: 980px;
	font-size: 56px;
}

.p2-wb-guide--boze-narodzenie h1 {
	max-width: 1100px;
	font-size: 52px;
}

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

.p2-wb-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-wb-breadcrumb a {
	color: var(--p2-muted);
	text-decoration: none;
	transition: color .18s ease;
}

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

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

.p2-wb-prose {
	max-width: 960px;
}

.p2-wb-intro {
	margin-top: 62px;
}

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

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

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

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

.p2-wb-prose li:last-child {
	margin-bottom: 0;
}

.p2-wb-prose li::marker {
	color: var(--p2-gold);
}

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

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

/* TOC - istniejący wzorzec długich przewodników */
.p2-wb-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-wb-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-wb-toc a:hover,
.p2-wb-toc a:focus-visible {
	border-color: var(--p2-gold);
	color: var(--p2-gold);
	outline: none;
}

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

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

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

.p2-wb-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-wb-section--summary {
	padding: 40px 44px 42px;
	background: var(--p2-panel);
	border: 1px solid var(--p2-line);
}

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

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

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

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

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

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

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

.p2-wb-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-wb-signature hr {
	height: 1px;
	margin: 0 0 28px;
	border: 0;
	background: var(--p2-line);
}

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

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

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

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

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

	.p2-wb-guide--wszystkich h1,
	.p2-wb-guide--boze-narodzenie h1 {
		font-size: 50px;
	}

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

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

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

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

	.p2-wb-guide--wszystkich h1,
	.p2-wb-guide--boze-narodzenie h1 {
		font-size: 40px;
		line-height: 1.1;
	}

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

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

	.p2-wb-intro {
		margin-top: 52px;
	}

	.p2-wb-prose p {
		margin-bottom: 24px;
	}

	.p2-wb-toc {
		margin-top: 50px;
	}

	.p2-wb-body {
		margin-top: 68px;
	}

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

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

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

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

	.p2-wb-section--summary h2 {
		font-size: 34px;
	}

	.p2-wb-section--sources h2 {
		font-size: 36px;
	}

	.p2-wb-footer-nav {
		margin-top: 72px;
	}
}

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


/* v1.1.0: semantic equivalents of existing visual patterns. */
.p2-wb-section--summary .p2-wb-summary-list {
	margin: 0;
	padding: 0;
}

.p2-wb-section--summary .p2-wb-summary-row {
	margin: 0 0 16px;
	color: var(--p2-muted);
	font: inherit;
}

.p2-wb-section--summary .p2-wb-summary-row:last-child {
	margin-bottom: 0;
}

.p2-wb-section--summary .p2-wb-summary-row dt,
.p2-wb-section--summary .p2-wb-summary-row dd {
	display: inline;
	margin: 0;
	padding: 0;
}

.p2-wb-section--summary .p2-wb-summary-row dt {
	color: var(--p2-text);
	font-weight: 600;
}

.p2-wb-section--summary .p2-wb-summary-row dt::after {
	content: " ";
}

.p2-wb-context-link,
.p2-wb-source-link,
.p2-wb-author {
	color: var(--p2-gold);
	font-weight: 500;
	text-decoration: none;
}

.p2-wb-context-link:hover,
.p2-wb-context-link:focus-visible,
.p2-wb-source-link:hover,
.p2-wb-source-link:focus-visible,
.p2-wb-author:hover,
.p2-wb-author:focus-visible {
	color: var(--p2-text);
	text-decoration: none;
}
