/* Wpis na blogu (.bwr-art). Czarną belkę z tytułem bierze ze stylów strony odcinka (odcinek.css, .bwr-epage). */

.bwr-art .bwr-epage__hero.bwr-art__hero--plain {
	padding-bottom: 36px;
}

.bwr-art .bwr-epage__title {
	font-size: clamp(28px, 7.4vw, 50px);
}

.bwr-art .bwr-epage__meta a.bwr-epage__day:hover {
	background: #ffffff;
	color: var(--bwr-black);
	text-decoration: none;
}

/* ---- obrazek wpisu: karta zachodząca na czarną belkę ---- */

.bwr-art .bwr-art__image {
	margin: -56px 0 28px;
	border-radius: 16px;
	overflow: hidden;
	background: #222222;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	line-height: 0;
	aspect-ratio: 2 / 1;
}

.bwr-art .bwr-art__image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
}

.bwr-art .bwr-art__hero--plain + .bwr-epage__wrap {
	padding-top: 28px;
}

/* ---- spis treści ---- */

.bwr-art .bwr-art__toc {
	margin: 0 0 28px;
	padding: 4px 20px;
	border-radius: 16px;
	background: var(--bwr-bg);
}

.bwr-art .bwr-art__toc summary {
	padding: 12px 0;
	color: var(--bwr-black);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
}

.bwr-art .bwr-art__toc ol {
	margin: 0;
	padding: 4px 0 14px 22px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--bwr-muted);
}

.bwr-art .bwr-art__toc li {
	margin: 0 0 6px;
}

.bwr-art .bwr-art__toc a {
	color: var(--bwr-black);
	font-weight: 500;
	text-decoration: none;
}

.bwr-art .bwr-art__toc a:hover {
	text-decoration: underline;
}

/* ---- treść ---- */

.bwr-art .bwr-art__content {
	font-size: 18px;
	line-height: 1.7;
	color: var(--bwr-text);
	text-align: left;
	overflow-wrap: break-word;
}

.bwr-art .bwr-art__content > p:first-child {
	font-size: 20px;
	line-height: 1.6;
	color: var(--bwr-black);
}

.bwr-art .bwr-art__content p {
	margin: 0 0 20px;
}

.bwr-art .bwr-art__content h2 {
	margin: 44px 0 16px;
	font-family: "BowlbyOneSC-Regular", sans-serif;
	font-size: clamp(24px, 6vw, 30px);
	line-height: 1.15;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--bwr-black);
	text-align: left;
	scroll-margin-top: 96px;
}

.bwr-art .bwr-art__content h3 {
	margin: 32px 0 12px;
	font-family: "Poppins", sans-serif;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--bwr-black);
	text-align: left;
}

.bwr-art .bwr-art__content h4 {
	margin: 24px 0 10px;
	font-family: "Poppins", sans-serif;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--bwr-black);
}

.bwr-art .bwr-art__content a {
	color: var(--bwr-black);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--bwr-yellow);
	text-decoration-thickness: 3px;
	text-underline-offset: 3px;
}

.bwr-art .bwr-art__content a:hover {
	background: var(--bwr-yellow-soft);
}

.bwr-art .bwr-art__content ul,
.bwr-art .bwr-art__content ol {
	margin: 0 0 22px;
	padding: 0 0 0 24px;
}

.bwr-art .bwr-art__content li {
	margin: 0 0 10px;
}

.bwr-art .bwr-art__content li::marker {
	color: var(--bwr-black);
	font-weight: 700;
}

.bwr-art .bwr-art__content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.bwr-art .bwr-art__content iframe {
	max-width: 100%;
}

.bwr-art .bwr-art__content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	font-size: 15px;
}

/* cytat: jasna karta z żółtą krawędzią */

.bwr-art .bwr-art__content blockquote {
	margin: 28px 0;
	padding: 20px 22px 20px 24px;
	border: 0;
	border-left: 6px solid var(--bwr-yellow);
	border-radius: 0 16px 16px 0;
	background: var(--bwr-bg);
	color: var(--bwr-black);
	font-size: 19px;
	line-height: 1.6;
	font-style: normal;
	font-weight: 500;
	quotes: none;
}

.bwr-art .bwr-art__content blockquote::before,
.bwr-art .bwr-art__content blockquote::after {
	content: none;
}

.bwr-art .bwr-art__content blockquote p {
	margin: 0 0 10px;
}

.bwr-art .bwr-art__content blockquote > :last-child {
	margin-bottom: 0;
}

/* odnośnik biblijny tuż pod cytatem przykleja się do karty */

.bwr-art .bwr-art__content blockquote + p > .bwr-ep--inline:first-child {
	display: inline-block;
	margin-top: -14px;
}

/* notka o źródłach (nowa i dotychczasowa) */

.bwr-art .bwr-art__content .bwr-zrodla,
.bwr-art .bwr-art__content .disclaimer {
	margin-top: 40px;
	padding-top: 18px;
	border-top: 1px solid var(--bwr-line);
	font-size: 14px;
	line-height: 1.6;
	color: var(--bwr-muted);
}

.bwr-art .bwr-art__content .disclaimer p {
	margin: 0 0 10px;
}

.bwr-art .bwr-art__content .disclaimer a,
.bwr-art .bwr-art__content .bwr-zrodla a {
	color: var(--bwr-muted);
	font-weight: 500;
	text-decoration-thickness: 1px;
	text-decoration-color: currentColor;
}

/* ---- karty odcinków w sekcji "Posłuchaj w podcaście" ---- */

.bwr-art .bwr-art__eps {
	display: grid;
	gap: 10px;
	margin: 0 0 24px;
}

.bwr-art .bwr-art__ep {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 10px;
	border-radius: 16px;
	background: var(--bwr-bg);
}

.bwr-art .bwr-art__content a.bwr-art__ep-play {
	position: relative;
	flex: 0 0 68px;
	width: 68px;
	height: 68px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bwr-black);
	line-height: 0;
	text-decoration: none;
}

.bwr-art .bwr-art__ep-play img {
	width: 68px;
	height: 68px;
	border-radius: 0;
	object-fit: cover;
	opacity: 0.72;
}

/* żółte kółko z trójkątem "odtwórz"; w trakcie odtwarzania dwie kreski pauzy */
.bwr-art .bwr-art__ep-play::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border-radius: 50%;
	background: var(--bwr-yellow);
}

.bwr-art .bwr-art__ep-play::after {
	content: "";
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	margin: -7px 0 0 -4px;
	border-style: solid;
	border-width: 7px 0 7px 11px;
	border-color: transparent transparent transparent var(--bwr-black);
}

.bwr-art .bwr-art__ep-play.is-playing::after {
	width: 10px;
	height: 12px;
	margin: -6px 0 0 -5px;
	border-width: 0 3px;
	border-color: var(--bwr-black);
}

.bwr-art .bwr-art__content a.bwr-art__ep-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 2px 4px 2px 0;
	color: var(--bwr-black);
	font-weight: 400;
	text-decoration: none;
}

.bwr-art .bwr-art__content a.bwr-art__ep-body:hover,
.bwr-art .bwr-art__content a.bwr-art__ep-play:hover {
	background: none;
}

.bwr-art .bwr-art__content a.bwr-art__ep-play:hover {
	background: var(--bwr-black);
}

.bwr-art .bwr-art__ep-meta {
	font-size: 13px;
	line-height: 1.4;
	color: var(--bwr-muted);
}

.bwr-art .bwr-art__ep-title {
	font-size: 16px;
	line-height: 1.35;
	font-weight: 700;
}

.bwr-art .bwr-art__ep-body:hover .bwr-art__ep-title {
	text-decoration: underline;
}

.bwr-art .bwr-art__ep-note {
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bwr-text);
}

.bwr-art .bwr-art__content .bwr-art__more {
	font-size: 16px;
}

/* ---- czytaj dalej ---- */

.bwr-art .bwr-art__related {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--bwr-line);
}

.bwr-art .bwr-art__related-title {
	margin: 0 0 16px;
	font-family: "BowlbyOneSC-Regular", sans-serif;
	font-size: 26px;
	line-height: 1.15;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--bwr-black);
	text-align: left;
}

.bwr-art .bwr-art__related-list {
	display: grid;
	gap: 12px;
}

.bwr-art .bwr-art__related-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px;
	border-radius: 16px;
	background: var(--bwr-bg);
	color: var(--bwr-black);
	font-size: 16px;
	line-height: 1.35;
	font-weight: 700;
	text-decoration: none;
}

.bwr-art .bwr-art__related-card:hover {
	background: var(--bwr-yellow-soft);
	text-decoration: none;
}

.bwr-art .bwr-art__related-card img {
	flex: 0 0 104px;
	width: 104px;
	height: 60px;
	border-radius: 10px;
	object-fit: cover;
}

@media (min-width: 768px) {
	.bwr-art .bwr-art__content {
		font-size: 19px;
	}

	.bwr-art .bwr-art__content > p:first-child {
		font-size: 22px;
	}

	.bwr-art .bwr-art__content blockquote {
		padding: 24px 28px;
		font-size: 21px;
	}

	.bwr-art .bwr-art__eps {
		grid-template-columns: 1fr 1fr;
	}

	.bwr-art .bwr-art__related-list {
		grid-template-columns: repeat(3, 1fr);
	}

	.bwr-art .bwr-art__related-card {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 10px 10px 14px;
	}

	.bwr-art .bwr-art__related-card img {
		flex: none;
		width: 100%;
		height: auto;
		aspect-ratio: 2 / 1;
	}

	.bwr-art .bwr-art__related-card span {
		padding: 0 4px;
	}
}
