/* P2 - Święta + Boża Rodzicielka v1.3.2
   Wzorzec: obowiązujący styl przewodników Msza-Online.
*/

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

/* Usuń wyłącznie duplikaty tytułu generowane przez motyw/Elementor. */
body.p2-sb-target .elementor-widget-theme-post-title,
body.p2-sb-target .entry-title,
body.p2-sb-target header.entry-header {
	display: none !important;
}

/* Na stronach docelowych nie pozwalamy motywowi ścisnąć przewodnika. */
body.p2-sb-target .site-content > .ast-container,
body.p2-sb-target .site-content .ast-container,
body.p2-sb-target .content-area,
body.p2-sb-target .site-main,
body.p2-sb-target article.page,
body.p2-sb-target .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

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

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

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

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

.p2-sb-hero {
	max-width: 1120px;
}

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

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

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

.p2-sb-guide h1 {
	margin: 0;
	letter-spacing: -0.016em;
	text-wrap: balance;
}

/* Długi H1: świadomie mniejszy niż krótki tytuł przewodnika. */
.p2-sb-guide--swieta h1 {
	max-width: 1020px;
	font-size: 52px;
	line-height: 1.08;
}

.p2-sb-guide--maryja h1 {
	max-width: 1080px;
	font-size: 56px;
	line-height: 1.08;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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


.p2-sb-text-link,
.p2-sb-context-link,
.p2-sb-source-link,
.p2-sb-author-link {
	color: inherit;
	text-decoration-line: underline;
	text-decoration-color: rgba(164, 123, 47, .55);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .18s ease, text-decoration-color .18s ease;
}

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

.p2-sb-author-link {
	color: var(--p2-text);
}

/* Krótki przewodnik pomocniczy / hub: mniejsza skala H2, bez TOC. */
.p2-sb-guide--swieta .p2-sb-section {
	max-width: 960px;
	margin-top: 76px;
	padding-top: 68px;
	border-top: 1px solid var(--p2-line);
}

.p2-sb-guide--swieta .p2-sb-section h2 {
	max-width: 900px;
	margin: 0 0 34px;
	font-size: 34px;
	line-height: 1.2;
}

/* Długi przewodnik redakcyjny: TOC jak w aktualnym systemie. */
.p2-sb-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-sb-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;
	transition: border-color .18s ease, color .18s ease;
}

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

/* Długi przewodnik redakcyjny: duże H2/H3 + mocny rytm sekcji. */
.p2-sb-guide--maryja .p2-sb-mary-body {
	max-width: 960px;
	margin-top: 84px;
}

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

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

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

/* W skrócie: istniejący typ pełnego panelu, bez nowego języka wizualnego. */
.p2-sb-guide--maryja .p2-sb-section--summary {
	padding: 40px 44px 42px;
	background: var(--p2-panel);
	border: 1px solid var(--p2-line);
}

.p2-sb-guide--maryja .p2-sb-section--summary .p2-sb-section-kicker {
	margin-bottom: 24px;
}

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

.p2-sb-guide--maryja .p2-sb-summary-list {
	margin: 0;
	padding: 0;
}

.p2-sb-guide--maryja .p2-sb-summary-item {
	margin: 0 0 16px;
}

.p2-sb-guide--maryja .p2-sb-summary-item:last-child {
	margin-bottom: 0;
}

.p2-sb-guide--maryja .p2-sb-summary-item dt,
.p2-sb-guide--maryja .p2-sb-summary-item dd {
	display: inline;
	margin: 0;
	padding: 0;
}

.p2-sb-guide--maryja .p2-sb-summary-item dt {
	color: var(--p2-text);
	font-weight: 600;
}

.p2-sb-guide--maryja .p2-sb-summary-item dt::after {
	content: " ";
}

.p2-sb-guide--maryja .p2-sb-summary-item dd {
	color: var(--p2-muted);
	font-weight: 200;
}

.p2-sb-guide--maryja .p2-sb-section--faq h3 {
	margin-top: 42px;
}

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

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

/* 9 kart - dokładnie istniejący język kart przewodników. */
.p2-sb-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1180px;
	margin-top: 54px;
	padding-top: 1px;
	padding-left: 1px;
}

.p2-sb-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 222px;
	margin-top: -1px;
	margin-left: -1px;
	padding: 30px 32px 28px;
	flex-direction: column;
	justify-content: space-between;
	gap: 30px;
	background: var(--p2-panel);
	border: 1px solid var(--p2-card-line);
	color: var(--p2-text);
	text-decoration: none;
	border-radius: 0;
	box-shadow: none;
	transition: background-color .18s ease, border-color .18s ease;
}

.p2-sb-card:hover,
.p2-sb-card:focus-visible {
	z-index: 1;
	background: #14130F;
	border-color: var(--p2-gold);
	outline: none;
}

.p2-sb-card__title {
	max-width: 340px;
	color: var(--p2-text);
	font-family: "Playfair Display", serif;
	font-size: clamp(28px, 2.2vw, 34px);
	font-weight: 400;
	line-height: 1.18;
	text-wrap: balance;
}

.p2-sb-card__cta {
	color: var(--p2-gold);
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
}

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

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

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

/* Dolna nawigacja przewodnika. */
.p2-sb-footer-nav {
	max-width: 1180px;
	margin-top: 90px;
	padding-top: 28px;
	border-top: 1px solid var(--p2-line);
}

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

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

	.p2-sb-guide--swieta h1,
	.p2-sb-guide--maryja h1 {
		font-size: 50px;
	}

	.p2-sb-guide--maryja .p2-sb-section h2 {
		font-size: 50px;
	}

	.p2-sb-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

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

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

	.p2-sb-guide--swieta h1,
	.p2-sb-guide--maryja h1 {
		font-size: 40px;
		line-height: 1.1;
	}

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

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

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

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

	.p2-sb-guide--swieta .p2-sb-section {
		margin-top: 62px;
		padding-top: 58px;
	}

	.p2-sb-guide--swieta .p2-sb-section h2 {
		margin-bottom: 30px;
		font-size: 34px;
		line-height: 1.2;
	}

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

	.p2-sb-guide--maryja .p2-sb-mary-body {
		margin-top: 68px;
	}

	.p2-sb-guide--maryja .p2-sb-section {
		padding: 62px 0 68px;
	}

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

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

	.p2-sb-guide--maryja .p2-sb-section--summary {
		padding: 26px 22px 28px;
	}

	.p2-sb-guide--maryja .p2-sb-section--summary h2 {
		font-size: 34px;
	}

	.p2-sb-grid {
		grid-template-columns: 1fr;
		margin-top: 44px;
	}

	.p2-sb-card {
		min-height: 188px;
		padding: 26px 22px;
	}

	.p2-sb-card__title {
		font-size: 28px;
	}

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

@media (prefers-reduced-motion: reduce) {
	.p2-sb-card,
	.p2-sb-breadcrumb a,
	.p2-sb-toc a,
	.p2-sb-text-link,
	.p2-sb-context-link,
	.p2-sb-source-link,
	.p2-sb-author-link {
		transition: none;
	}
}


/* v1.3.2 - hub renderowany na ID 1967; bez zmian języka wizualnego */
.p2-sb-guide--swieta .p2-sb-hero h1 span {
	display: block;
}

.p2-sb-guide--swieta .p2-sb-guide-jump {
	max-width: 960px;
	margin-top: 58px;
}

.p2-sb-guide--swieta .p2-sb-guide-jump a {
	color: var(--p2-gold);
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
	text-decoration: none;
	transition: color .18s ease;
}

.p2-sb-guide--swieta .p2-sb-guide-jump a:hover,
.p2-sb-guide--swieta .p2-sb-guide-jump a:focus-visible {
	color: var(--p2-text);
}

.p2-sb-guide--swieta .p2-sb-grid {
	margin-top: 34px;
}

.p2-sb-guide--swieta .p2-sb-card {
	min-height: 164px;
	padding: 24px 28px 22px;
	gap: 22px;
}

.p2-sb-guide--swieta .p2-sb-card__title {
	font-size: clamp(26px, 2vw, 31px);
	line-height: 1.16;
}

.p2-sb-guide--swieta .p2-sb-sw-description {
	margin-top: 92px;
	padding-top: 82px;
	border-top: 1px solid var(--p2-line);
	scroll-margin-top: 28px;
}

.p2-sb-guide--swieta .p2-sb-sw-description .p2-sb-intro {
	margin-top: 0;
}

@media (max-width: 900px) {
	.p2-sb-guide--swieta .p2-sb-card {
		min-height: 158px;
	}
}

@media (max-width: 600px) {
	.p2-sb-guide--swieta .p2-sb-guide-jump {
		margin-top: 48px;
	}

	.p2-sb-guide--swieta .p2-sb-grid {
		margin-top: 30px;
	}

	.p2-sb-guide--swieta .p2-sb-card {
		min-height: 144px;
		padding: 22px;
	}

	.p2-sb-guide--swieta .p2-sb-sw-description {
		margin-top: 72px;
		padding-top: 62px;
	}
}
