.dtr-editorial-byline {
	margin: 42px 0 10px;
	padding: 22px 24px;
	border: 1px solid rgba(127, 127, 127, .28);
	border-left: 4px solid #e00000;
	border-radius: 12px;
	background: rgba(127, 127, 127, .07);
	max-width: 100%;
	text-align: left;
}
.dtr-editorial-byline__eyebrow {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .72;
}
.dtr-editorial-byline__name {
	font-size: 20px;
	font-weight: 750;
	line-height: 1.25;
}
.dtr-editorial-byline__name a,
.dtr-editorial-byline__publisher a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.dtr-editorial-byline__role,
.dtr-editorial-byline__publisher {
	font-size: 13px;
	opacity: .78;
}
.dtr-editorial-byline__profile {
	margin: 8px 0 4px;
	font-size: 14px;
	font-weight: 700;
}
.dtr-editorial-byline__profile a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.dtr-editorial-byline__bio {
	margin: 12px 0 8px !important;
	font-size: 15px;
	line-height: 1.55;
}
.dtr-author-profile {
	width: min(1180px, calc(100% - 40px));
	margin: 48px auto 72px;
}
.dtr-author-profile__header {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 32px;
	border: 1px solid rgba(127, 127, 127, .28);
	border-left: 5px solid #e00000;
	border-radius: 14px;
	background: rgba(127, 127, 127, .07);
}
.dtr-author-profile__avatar img {
	display: block;
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: 50%;
}
.dtr-author-profile__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .7;
}
.dtr-author-profile__header h1 { margin: 5px 0 2px; }
.dtr-author-profile__role { margin: 0 0 10px; font-weight: 700; }
.dtr-author-profile__intro {
	max-width: 760px;
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}
.dtr-author-profile__links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.dtr-author-profile__about {
	margin-top: 18px;
	padding: 0 24px;
	border: 1px solid rgba(127, 127, 127, .24);
	border-radius: 12px;
	background: rgba(127, 127, 127, .04);
}
.dtr-author-profile__about summary {
	cursor: pointer;
	padding: 16px 0;
	font-weight: 700;
}
.dtr-author-profile__about[open] summary { border-bottom: 1px solid rgba(127, 127, 127, .2); }
.dtr-author-profile__bio {
	max-width: 820px;
	padding: 18px 0 8px;
	line-height: 1.65;
}
.dtr-author-profile__articles { margin-top: 30px; }
.dtr-author-profile .dtr-author-profile__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	width: 100%;
}
.dtr-author-profile .dtr-author-profile__article {
	display: flex !important;
	flex-direction: column;
	float: none !important;
	position: relative !important;
	isolation: isolate;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid rgba(127, 127, 127, .25);
	border-radius: 12px;
	background: rgba(127, 127, 127, .05);
	box-sizing: border-box;
}
.dtr-author-profile .dtr-author-profile__article[data-dtr-author-card] {
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(9, 105, 218, .18);
}
.dtr-author-profile .dtr-author-profile__article[data-dtr-author-card] h3 a::after {
	position: absolute;
	z-index: 2;
	inset: 0;
	content: "";
}
.dtr-author-profile .dtr-author-profile__article[data-dtr-author-card] h3 a:focus-visible::after {
	outline: 3px solid #0969da;
	outline-offset: -3px;
}
.dtr-author-profile .dtr-author-profile__thumbnail {
	display: block !important;
	width: 100% !important;
	min-height: 0 !important;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: rgba(127, 127, 127, .12);
}
.dtr-author-profile .dtr-author-profile__thumbnail img {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
}
.dtr-author-profile .dtr-author-profile__article-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: auto !important;
	min-width: 0;
	padding: 20px !important;
}
.dtr-author-profile__article-body time { font-size: 13px; opacity: .72; }
.dtr-author-profile .dtr-author-profile__article-body h3 {
	margin: 7px 0 10px;
	font-size: 20px;
	line-height: 1.28;
	overflow-wrap: anywhere;
}
.dtr-author-profile .dtr-author-profile__article-body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}
.dtr-author-profile .dtr-author-profile__load-card {
	position: relative !important;
	border-color: rgba(9, 105, 218, .68);
	background: linear-gradient(155deg, rgba(9, 105, 218, .15), rgba(127, 127, 127, .045) 62%);
	box-shadow: inset 0 3px 0 #0969da, 0 8px 24px rgba(0, 0, 0, .1);
}
.dtr-author-profile .dtr-author-profile__load-card.is-complete {
	border-color: rgba(27, 132, 82, .72);
	background: linear-gradient(155deg, rgba(27, 132, 82, .15), rgba(127, 127, 127, .045) 62%);
	box-shadow: inset 0 3px 0 #1b8452, 0 8px 24px rgba(0, 0, 0, .08);
}
.dtr-author-profile__load-visual {
	display: grid;
	place-content: center;
	justify-items: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 20px;
	color: #fff;
	background: radial-gradient(circle at 70% 20%, #3288ec, transparent 32%), linear-gradient(135deg, #062e64, #0969da);
	text-align: center;
}
.dtr-author-profile__load-visual span,
.dtr-author-profile__load-visual small { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dtr-author-profile__load-visual span { font-size: 13px; }
.dtr-author-profile__load-visual strong { margin: 3px 0; font-size: 58px; line-height: 1; }
.dtr-author-profile__load-visual small { font-size: 11px; opacity: .82; }
.dtr-author-profile__load-card.is-complete .dtr-author-profile__load-visual {
	background: radial-gradient(circle at 70% 20%, #36ad75, transparent 32%), linear-gradient(135deg, #0b4a30, #1b8452);
}
.dtr-author-profile .dtr-author-profile__load-body {
	gap: 16px;
}
.dtr-author-profile__load-copy span {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	opacity: .68;
}
.dtr-author-profile__load-copy h3 { margin: 4px 0 8px; font-size: 20px; }
.dtr-author-profile__load-copy p { margin: 0; font-size: 14px; opacity: .76; }
.dtr-author-profile__load-sentinel { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; pointer-events: none; }
.dtr-author-profile__load-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	margin-top: auto;
	padding: 12px 24px;
	border-radius: 8px;
	background: #0969da;
	color: #fff !important;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.dtr-author-profile__load-button:hover { background: #075bbd; }
.dtr-author-profile__load-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.dtr-author-profile__load-button[aria-busy="true"] { opacity: .62; pointer-events: none; }
.dtr-author-profile__load-status { min-height: 22px; font-size: 13px; opacity: .75; text-align: center; }
.dtr-author-profile__load-card.is-complete .dtr-author-profile__load-status { color: #75d7a8; font-weight: 700; opacity: 1; }
@media (max-width: 980px) {
	.dtr-author-profile .dtr-author-profile__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.dtr-editorial-byline {
		margin-top: 32px;
		padding: 18px;
	}
	.dtr-author-profile { width: min(100% - 24px, 1180px); margin-top: 24px; }
	.dtr-author-profile__header { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 20px; }
	.dtr-author-profile__avatar img { width: 112px; height: 112px; }
	.dtr-author-profile .dtr-author-profile__grid { grid-template-columns: 1fr; }
	.dtr-author-profile__load-button { min-width: 0; }
}
@media (max-width: 430px) {
	.dtr-author-profile__header { grid-template-columns: 1fr; }
	.dtr-author-profile__about { padding: 0 18px; }
}


/* R-DTR Theme — kompaktowa wizytówka autora pod tytułem artykułu */
.dtr-editorial-top-author {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	vertical-align: middle;
	color: inherit;
}
.dtr-editorial-top-author__avatar {
	display: block;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 2px rgba(255,255,255,.10);
}
.dtr-editorial-top-author__avatar img {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 50%;
}
.dtr-editorial-top-author__copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}
.dtr-editorial-top-author__name {
	font-size: .96rem;
	font-weight: 700;
	line-height: 1.15;
	color: inherit;
}
.dtr-editorial-top-author__name-link {
	color: inherit;
	text-decoration: none;
}
.dtr-editorial-top-author__name-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.dtr-editorial-top-author__details {
	font-size: .78rem;
	line-height: 1.25;
	opacity: .72;
	white-space: normal;
}
@media (max-width: 900px) {
	.dtr-editorial-top-author { gap: 9px; }
	.dtr-editorial-top-author__avatar,
	.dtr-editorial-top-author__avatar img { width: 38px; height: 38px; }
	.dtr-editorial-top-author__avatar { flex-basis: 38px; }
	.dtr-editorial-top-author__name { font-size: .9rem; }
	.dtr-editorial-top-author__details { font-size: .74rem; }
}
