/*
 * Tampilan artikel Catatan Partikular (templates/single-post.php), padanan reader di situs lama.
 * Shell halaman (.ptk-page--article), tanggal (.ptk-meta) ada di global.css.
 * Warna dan font mengikuti variabel desain situs (--ptk-*), dengan cadangan nilai bila variabel tidak ada.
 */
.ptk-article {
	max-width: 760px;
	margin: 0 auto;
}

.ptk-back {
	display: block;
	width: fit-content;
	margin-bottom: 24px;
	font-size: var(--ptk-fs-back, 16px);
	font-weight: var(--ptk-fw-back, 600);
	color: inherit;
	text-decoration: none;
	opacity: 0.7;
}

.ptk-back:hover {
	opacity: 1;
}

.ptk-chip {
	display: inline-block;
	text-decoration: none; /* chip kini tautan ke arsip kategori */
	margin-bottom: 20px;
	padding: 5px 9px;
	border-radius: var(--ptk-radius-lg, 20px);
	background-color: var(--ptk-ink, #1f4343);
	color: var(--ptk-paper, #ffffff);
	font-size: var(--ptk-fs-chip, 10px);
	font-weight: var(--ptk-fw-chip, 600);
	letter-spacing: var(--ptk-ls-chip, 0.14em);
	text-transform: uppercase;
	line-height: 1.4;
}

/* chip adalah tautan: warna tetap saat hover (menimpa a:hover bawaan tema Hello Elementor) */
.ptk-chip:hover,
.ptk-chip:focus-visible {
	color: var(--ptk-paper, #ffffff);
}

.ptk-title {
	margin: 14px 0;
	font-family: inherit;
	font-weight: var(--ptk-fw-article-title, 200);
	font-size: var(--ptk-fs-article-title, clamp(30px, 4.5vw, 52px));
	line-height: var(--ptk-lh-article-title, 1.05);
	letter-spacing: var(--ptk-ls-article-title, -0.01em);
	color: inherit;
}

.ptk-figure {
	margin: 26px 0;
}

.ptk-figure .ptk-hero-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--ptk-radius-sm, 10px);
}

/* Isi artikel */
.ptk-body {
	font-size: var(--ptk-fs-article-body, 18px);
	font-weight: var(--ptk-fw-article-body, 500);
	line-height: var(--ptk-lh-article-body, 1.8);
	overflow-wrap: break-word;
}

.ptk-body > *:first-child {
	margin-top: 0;
}

.ptk-body p {
	margin: 0 0 1.1em;
}

.ptk-body h2,
.ptk-body h3,
.ptk-body h4 {
	margin: 1.8em 0 0.5em;
	font-family: inherit;
	color: inherit;
}

.ptk-body h2 {
	font-size: var(--ptk-fs-article-h2, 28px);
	font-weight: var(--ptk-fw-article-h2, 700);
	line-height: var(--ptk-lh-article-h2, 1.25);
	letter-spacing: var(--ptk-ls-article-h2, -0.01em);
}

.ptk-body h3,
.ptk-body h4 {
	font-size: var(--ptk-fs-article-h3, 22px);
	font-weight: var(--ptk-fw-article-h3, 700);
	line-height: var(--ptk-lh-article-h3, 1.25);
	letter-spacing: var(--ptk-ls-article-h3, -0.01em);
}

/* H4 mengikuti ukuran isi artikel (sama dengan situs lama: 18px) */
.ptk-body h4 {
	font-size: 1em;
}

.ptk-body a {
	color: var(--ptk-accent, #c0512f);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ptk-body ul,
.ptk-body ol {
	margin: 0 0 1.1em;
	padding-left: 1.4em;
}

.ptk-body li {
	margin-bottom: 0.4em;
}

.ptk-body blockquote {
	margin: 1.6em 0;
	padding: 0 0 0 1.2em;
	border-left: 3px solid var(--ptk-accent, #c0512f);
	font-style: italic;
	opacity: 0.9;
}

.ptk-body figure {
	margin: 26px 0;
}

.ptk-body img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--ptk-radius-sm, 10px);
}

.ptk-body figcaption {
	margin-top: 8px;
	font-size: var(--ptk-fs-article-caption, 13px);
	font-weight: var(--ptk-fw-article-caption, 500);
	opacity: 0.6;
}

