/* ==========================================================================
   Peplogy — blog (designs: Blog article 1/2 and 2/2, 1440px artboards).
   The blog index, archives and author pages follow the same system.
   1. Shared   2. Article header   3. Layout & sidebar   4. Article body
   5. After the article   6. Cards & listings   7. Author page   8. Responsive
   ========================================================================== */

.article,
.blog-list,
.author-hero,
.blog-hero,
.article-comments {
	--pl-blog-pad: clamp(16px, 11.1vw, 160px);
}

/* Blog headers line up with the blog grid below them. */
.page-hero.blog-hero {
	--pl-page-pad: var(--pl-blog-pad);
}

/* 1. Shared ----------------------------------------------------------------- */
.avatar {
	width: var(--avatar, 52px);
	height: var(--avatar, 52px);
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 3px solid var(--pl-white);
	border-radius: 50%;
	box-shadow: 0 0 0 1px #c6d3e2;
	background: var(--pl-blue);
	color: var(--pl-white);
	font-size: calc(var(--avatar, 52px) * 0.35);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
}

.avatar--navy {
	background: var(--pl-navy);
}

.avatar__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.side-box {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px;
	border: 1px solid var(--pl-line);
	border-radius: 16px;
	background: var(--pl-white);
}

.side-box__label {
	margin: 0;
	padding-bottom: 8px;
	font-family: var(--pl-sans);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pl-muted);
}

/* 2. Article header --------------------------------------------------------- */
.article-hero {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 28px var(--pl-blog-pad) 48px;
}

.article-hero__inner {
	width: min(100%, 880px);
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.article-hero__eyebrow {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pl-muted);
}

.article-hero__eyebrow a {
	color: var(--pl-blue);
	text-decoration: none;
}

.article-hero__dot {
	color: #9eadc0;
}

.article-hero__title {
	margin: 0;
	font-size: clamp(34px, 3.7vw, 52px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--pl-ink);
}

.article-hero__dek {
	margin: 0;
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.55;
	color: var(--pl-muted);
}

.article-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 18px 0;
	border-top: 1px solid var(--pl-line);
	border-bottom: 1px solid var(--pl-line);
}

.article-byline__people {
	display: flex;
	align-items: center;
	gap: 14px;
}

.avatar-stack {
	display: flex;
}

.avatar-stack .avatar + .avatar {
	margin-left: -12px;
}

.article-byline__names {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.article-byline__line {
	font-size: 15px;
	color: var(--pl-ink);
}

.article-byline__line--sm {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 14px;
}

.article-byline__line--sm .icon {
	color: var(--pl-blue);
}

.article-byline__muted {
	color: var(--pl-muted);
}

.person-link,
.article-byline strong {
	font-weight: 800;
	color: var(--pl-ink);
}

.person-link:hover {
	color: var(--pl-blue);
}

.article-byline__dates {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 3px;
	font-size: 13px;
	color: var(--pl-muted);
}

.article-byline__dates time {
	font-weight: 700;
	color: var(--pl-ink);
}

.article-hero__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-tag {
	height: 30px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	border: 1px solid #c6d3e2;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-white);
	color: var(--pl-navy);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.article-tag:hover {
	border-color: var(--pl-sky);
	color: var(--pl-navy);
}

.article-share {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.article-share__label {
	font-size: 12px;
	font-weight: 700;
	color: var(--pl-muted);
}

.article-share__btn {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #c6d3e2;
	border-radius: 50%;
	background: var(--pl-white);
	color: var(--pl-navy);
	transition: border-color 0.2s, color 0.2s;
}

.article-share__btn:hover {
	border-color: var(--pl-sky);
	color: var(--pl-blue);
}

.article-share__status {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	color: #1a8a45;
}

.article-hero__figure {
	margin: 8px 0 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.article-hero__img {
	width: 100%;
	height: auto;
	max-height: 460px;
	object-fit: cover;
	border: 1px solid #1b3257;
	border-radius: 20px;
}

.article-hero__figure figcaption {
	font-size: 13px;
	line-height: 1.5;
	color: var(--pl-muted);
}

/* 3. Layout & sidebar ------------------------------------------------------- */
.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"toc main"
		"side main";
	column-gap: 32px;
	row-gap: 20px;
	align-items: start;
	padding: 56px var(--pl-blog-pad) 64px;
}

.article-layout--narrow {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"main"
		"side";
	max-width: calc(880px + 2 * var(--pl-blog-pad));
	margin-inline: auto;
}

.article-aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.article-aside--top {
	grid-area: toc;
}

.article-aside--bottom {
	grid-area: side;
}

.article-main {
	grid-area: main;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.article-toc__details > summary {
	cursor: default;
	list-style: none;
}

.article-toc__details > summary::-webkit-details-marker {
	display: none;
}

.article-toc__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-toc__link {
	display: block;
	padding: 8px 10px;
	border-left: 3px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #34445e;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.article-toc__link:hover {
	background: #f3f8fe;
	color: var(--pl-navy);
}

.article-toc__link.is-active {
	border-left-color: var(--pl-blue);
	background: #e8f3fe;
	font-weight: 800;
	color: var(--pl-navy);
}

.article-facts {
	gap: 10px;
	padding: 20px;
}

.article-facts .side-box__label {
	padding-bottom: 0;
}

.article-facts__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.article-facts__list > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--pl-line-soft);
}

.article-facts__list dt {
	font-size: 12px;
	color: var(--pl-muted);
}

.article-facts__list dd {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--pl-ink);
}

.side-box--product {
	overflow: hidden;
	padding: 16px 0 0;
}

.side-box--product .side-box__label {
	padding: 0 18px;
}

.product-grid--side {
	display: block;
	margin: 0;
	padding: 0;
}

.product-grid--side .product-card {
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.product-grid--side .product-card__media {
	height: 200px;
	margin: 12px 18px 0;
	border-radius: 12px;
}

.product-grid--side .product-card__body {
	padding: 14px 18px;
}

.article-standards {
	gap: 12px;
	padding: 20px;
}

.article-standards .side-box__label {
	padding-bottom: 0;
}

.article-standards__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-standards__list li {
	display: flex;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #2e3d55;
}

.article-standards__list .icon {
	flex-shrink: 0;
	margin-top: 1px;
	color: var(--pl-blue);
}

.article-standards__link {
	font-size: 13px;
	font-weight: 700;
	color: var(--pl-blue);
}

/* 4. Article body ----------------------------------------------------------- */
.article-takeaways {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 26px;
	border: 1px solid #b7d8f7;
	border-radius: 16px;
	background: #e8f3fe;
}

.article-takeaways__label,
.article-how__label {
	margin: 0;
	font-family: var(--pl-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0b4d99;
}

.article-takeaways ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-takeaways li {
	display: flex;
	gap: 10px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pl-ink);
}

.article-takeaways__tick {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--pl-blue);
	color: var(--pl-white);
}

.article-content {
	max-width: none;
	margin: 0;
}

.article-content h2 {
	font-size: clamp(26px, 2.1vw, 30px);
	scroll-margin-top: calc(var(--pl-header-h) + 24px);
}

.article-content h3 {
	scroll-margin-top: calc(var(--pl-header-h) + 24px);
}

.article-content sup.ref {
	font-size: 11px;
	line-height: 0;
}

.article-content sup.ref a {
	font-weight: 700;
	text-decoration: none;
}

.article-content figure > blockquote {
	margin: 0;
}

.article-content figure:has(> blockquote) {
	padding: 20px 24px;
	border-left: 4px solid var(--pl-sky);
	border-radius: 0 12px 12px 0;
	background: var(--pl-white);
}

.article-content figure:has(> blockquote) blockquote {
	padding: 0;
	border: none;
	background: none;
}

.article-ruo {
	padding: 22px 24px;
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.65;
	color: #e3ecf7;
}

.article-ruo strong {
	color: var(--pl-white);
}

.article-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.article-faq__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border: 1px solid var(--pl-line);
	border-radius: 12px;
	background: var(--pl-white);
}

.prose .article-faq__q {
	margin: 0;
	font-family: var(--pl-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
}

.article-faq__a {
	font-size: 15px;
	line-height: 1.65;
	color: #2e3d55;
}

.article-faq__a p {
	margin: 0 0 8px;
}

.article-faq__a p:last-child {
	margin-bottom: 0;
}

.article-refs {
	gap: 10px;
	font-size: 14px;
	line-height: 1.6;
	color: #2e3d55;
	overflow-wrap: anywhere;
}

.article-refs li {
	scroll-margin-top: calc(var(--pl-header-h) + 24px);
}

.article-refs li:target {
	border-radius: 6px;
	background: #fff6d6;
}

.prose .article-refs a {
	font-weight: 600;
}

.article-how {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px;
	border: 1px solid var(--pl-line);
	border-radius: 14px;
	background: var(--pl-white);
}

.article-content .article-how__label {
	margin: 0;
	font-family: var(--pl-sans);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.12em;
	color: var(--pl-muted);
	scroll-margin-top: 0;
}

.article-how p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #2e3d55;
}

.article-how .article-how__dates {
	font-size: 13px;
	color: var(--pl-muted);
}

.article-comments {
	padding: 0 var(--pl-blog-pad, 16px) 72px;
	background: var(--pl-page);
}

.comments-area {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	border: 1px solid var(--pl-line);
	border-radius: 18px;
	background: var(--pl-white);
}

.comments-title,
.comment-reply-title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: var(--pl-ink);
}

.comment-list,
.comment-list .children {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-top: 16px;
	padding-left: 24px;
	border-left: 2px solid var(--pl-line-soft);
}

.comment-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 15px;
	line-height: 1.65;
	color: #2e3d55;
}

.comment-meta,
.comment-metadata {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--pl-muted);
}

.comment-meta .avatar {
	--avatar: 32px;
	border-width: 2px;
}

.comment-author .fn {
	font-weight: 800;
	color: var(--pl-ink);
}

.comment-body .reply a {
	font-size: 13px;
	font-weight: 700;
	color: var(--pl-blue);
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.comment-form p {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	color: var(--pl-muted);
}

.comment-form label {
	font-size: 13px;
	font-weight: 700;
	color: var(--pl-ink);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #c6d3e2;
	border-radius: 10px;
	background: var(--pl-white);
	color: var(--pl-ink);
	font: inherit;
	font-size: 15px;
}

.comment-form textarea {
	height: auto;
	min-height: 140px;
	padding: 12px 14px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--pl-sky);
	outline: none;
	box-shadow: 0 0 0 3px rgba(77, 163, 245, 0.25);
}

.comment-form .comment-form-cookies-consent {
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
}

.comment-form .comment-form-cookies-consent label {
	font-weight: 500;
	color: var(--pl-muted);
}

.comment-form .submit {
	align-self: flex-start;
	height: 48px;
	padding: 0 22px;
	border: none;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-blue);
	color: var(--pl-white);
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

/* 5. After the article ------------------------------------------------------ */
.article-after {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 0 var(--pl-blog-pad);
}

.article-people,
.article-after__stack {
	width: min(100%, 880px);
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.article-after__h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--pl-ink);
}

.article-after__h2--lg {
	font-size: clamp(26px, 2.3vw, 32px);
}

.person-box {
	display: flex;
	gap: 22px;
	padding: 28px;
	border: 1px solid var(--pl-line);
	border-radius: 18px;
	background: var(--pl-white);
	scroll-margin-top: calc(var(--pl-header-h) + 24px);
}

.person-box__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.person-box__body > * {
	margin: 0;
}

.person-box__role {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pl-blue);
}

.person-box__name {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--pl-ink);
}

.person-box__name a {
	color: inherit;
	text-decoration: none;
}

.person-box__name a:hover {
	color: var(--pl-blue);
}

.person-box__job {
	font-size: 14px;
	font-weight: 700;
	color: var(--pl-muted);
}

.person-box__bio {
	font-size: 15px;
	line-height: 1.65;
	color: #2e3d55;
}

.person-box__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	padding-top: 4px;
	font-size: 13px;
	font-weight: 700;
}

.person-box__links a {
	color: var(--pl-blue);
}

.article-more {
	gap: 10px;
	padding: 24px 26px;
}

.article-more__label {
	margin: 0;
	font-family: var(--pl-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pl-blue);
}

.article-more ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-more a {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--pl-line-soft);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--pl-navy);
	text-decoration: none;
}

.article-more a:hover {
	color: var(--pl-blue);
}

.article-more__arrow {
	flex-shrink: 0;
	color: var(--pl-blue);
}

.article-compliance {
	margin: 0;
	padding: 18px 22px;
	border: 1px solid var(--pl-line);
	border-left: 4px solid var(--pl-blue);
	border-radius: 12px;
	background: var(--pl-white);
	font-size: 13px;
	line-height: 1.65;
	color: #2e3d55;
}

.article-compliance strong {
	color: var(--pl-ink);
}

.article-section-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.article-section-head--row {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
}

.article-section-head--row > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.article-section-head__note {
	margin: 0;
	font-size: 14px;
	color: var(--pl-muted);
}

.article-compounds {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 64px;
	padding: 56px var(--pl-blog-pad);
	background: var(--pl-white);
}

.article-keep {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 64px;
	padding: 64px var(--pl-blog-pad) 72px;
}

.article-compounds + .article-keep {
	margin-top: 0;
}

.article-keep__all {
	font-size: 14px;
	font-weight: 800;
	color: var(--pl-blue);
}

.article-keep__back {
	align-self: flex-start;
	height: 46px;
}

/* 6. Cards & listings ------------------------------------------------------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--pl-line);
	border-radius: 16px;
	background: var(--pl-white);
	color: var(--pl-ink);
}

.post-card__media {
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card:hover .post-card__img {
	transform: scale(1.03);
}

.post-card__mark {
	display: flex;
	opacity: 0.5;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 22px;
}

.post-card__body > * {
	margin: 0;
}

.post-card__eyebrow {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--pl-blue);
}

.post-card__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.post-card__title a {
	color: var(--pl-ink);
	text-decoration: none;
}

.post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.post-card {
	position: relative;
}

.post-card__title a:hover {
	color: var(--pl-blue);
}

.post-card__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: var(--pl-muted);
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 6px;
	font-size: 13px;
	color: var(--pl-muted);
}

.post-card__meta .avatar {
	font-size: 9px;
}

.post-card--wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.post-card--wide .post-card__media {
	height: 100%;
	min-height: 300px;
}

.post-card--wide .post-card__body {
	justify-content: center;
	gap: 12px;
	padding: 32px 36px;
}

.post-card--wide .post-card__title {
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1.2;
}

.blog-hero .blog-pills {
	margin-top: 12px;
}

.blog-pills ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 56px var(--pl-blog-pad) 88px;
}

.blog-empty {
	margin: 0;
	padding: 24px;
	border: 1px dashed #c6d3e2;
	border-radius: 14px;
	color: var(--pl-muted);
}

.blog-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.blog-pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--pl-line);
	border-radius: var(--pl-radius-pill);
	background: var(--pl-white);
	color: var(--pl-ink);
	font-weight: 700;
	text-decoration: none;
}

.blog-pagination .page-numbers.current {
	border-color: var(--pl-navy);
	background: var(--pl-navy);
	color: var(--pl-white);
}

/* 7. Author page ------------------------------------------------------------ */
.author-hero {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 32px var(--pl-blog-pad) 48px;
	border-bottom: 1px solid var(--pl-line);
}

.author-hero__inner {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	max-width: 960px;
}

.author-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.author-hero__copy > * {
	margin: 0;
}

.author-hero__name {
	font-size: clamp(34px, 3.2vw, 46px);
	font-weight: 500;
	line-height: 1.08;
	color: var(--pl-ink);
}

.author-hero__job {
	font-size: 15px;
	font-weight: 700;
	color: var(--pl-muted);
}

.author-hero__bio {
	max-width: 680px;
	font-size: 17px;
	line-height: 1.65;
	color: #2e3d55;
}

.author-hero__stats {
	font-size: 14px;
	font-weight: 700;
	color: var(--pl-navy);
}

.author-hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 4px;
}

.author-bio {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 880px;
}

.author-bio__text {
	margin: 0;
}

.author-posts {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.author-reviewed {
	max-width: 880px;
}

/* 8. Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-compounds .product-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.article-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-template-areas:
			"toc"
			"main"
			"side";
		padding-top: 40px;
	}

	.article-toc__details > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-bottom: 0;
		cursor: pointer;
	}

	.article-toc__details > summary::after {
		content: "+";
		font-size: 18px;
		line-height: 1;
		color: var(--pl-navy);
	}

	.article-toc__details[open] > summary {
		padding-bottom: 8px;
	}

	.article-toc__details[open] > summary::after {
		content: "−";
	}

	.article-aside--bottom {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.post-card--wide {
		display: flex;
	}

	.post-card--wide .post-card__media {
		height: 240px;
		min-height: 0;
	}

	.post-card--wide .post-card__body {
		padding: 18px 20px 22px;
	}
}

@media (max-width: 700px) {
	.article-byline {
		flex-direction: column;
		align-items: flex-start;
	}

	.article-byline__dates {
		align-items: flex-start;
	}

	.article-aside--bottom,
	.post-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.person-box {
		flex-direction: column;
		gap: 16px;
		padding: 22px;
	}

	.person-box .avatar {
		--avatar: 72px !important;
	}

	.author-hero__inner {
		flex-direction: column;
		gap: 20px;
	}

	.article-hero {
		gap: 20px;
		padding-top: 20px;
	}

	.article-compounds,
	.article-keep {
		margin-top: 40px;
		padding-block: 40px 48px;
	}

	.article-compounds .product-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.article-share__label {
		display: none;
	}
}
