/* =============================================
   Gentar News - Single post
   Dimuat ketika is_singular(). Termasuk post navigation,
   related posts, author bio, dan komentar.
   ============================================= */

/* Tipografi Single Post - Berdiri Sendiri & Mandiri */
.entry-single {
	--single-title-font: var(--font-heading);
	--single-title-size: clamp(1.85rem, 3.8vw, 2.45rem);
	--single-title-line-height: 1.25;
	--single-title-weight: var(--heading-weight, 700);

	--single-body-font: var(--font-body);
	--single-body-size: var(--body-size, 16px);
	--single-body-line-height: 1.8;
	--single-body-weight: var(--body-weight, 400);
}

@media (max-width: 700px) {
	.entry-single {
		--single-title-size: 27px;
		--single-title-line-height: 1.3;
		--single-body-size: var(--body-size-mobile, 16px);
		--single-body-line-height: 1.75;
	}
}

.entry-single .entry-header {
	margin-bottom: 20px;
}

/* Breadcrumb: Beranda / Kategori. Font 13px desktop, 12px mobile.
   Judul post tetap ada di DOM sebagai .screen-reader-text agar schema
   BreadcrumbList dan crawler tetap melihat item terakhir. */
.breadcrumbs {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: #111111;
}

.breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: inherit;
}

.breadcrumbs-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

/* Separator "/" sebagai pseudo-element: tidak ikut dibaca screen reader
   maupun tersalin saat teks diseleksi. */
.breadcrumbs-item + .breadcrumbs-item::before {
	content: "/";
	color: var(--color-muted);
	opacity: 0.6;
	line-height: 1;
}

/*
 * Item terakhir (judul post) dikeluarkan dari alur flex supaya separator
 * dan jarak tidak ikut tergambar, sementara elemennya tetap ada di DOM
 * untuk crawler, screen reader, dan validasi BreadcrumbList.
 */
.breadcrumbs-item.is-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.breadcrumbs-item.is-hidden::before {
	content: none;
}

.breadcrumbs-item a {
	color: var(--color-muted);
	text-decoration: none;
}

.breadcrumbs-item a:hover,
.breadcrumbs-item a:focus-visible {
	color: var(--color-accent);
	text-decoration: underline;
}

/* Item aktif yang ditampilkan (bila hide_current = false). */
.breadcrumbs-current {
	color: var(--color-text);
	font-weight: 600;
}

@media (max-width: 700px) {
	.breadcrumbs {
		font-size: 13px;
	}
}

.entry-single .entry-title {
	font-family: var(--single-title-font);
	font-size: var(--single-title-size);
	font-weight: var(--single-title-weight);
	line-height: var(--single-title-line-height);
	color: var(--color-text);
	margin: 6px 0 14px;
	letter-spacing: -0.02em;
}

@media (max-width: 700px) {
	.entry-single .entry-title {
		font-size: var(--single-title-size);
		line-height: var(--single-title-line-height);
		margin: 4px 0 12px;
	}
}

/* Kutipan manual ("Edit Kutipan") tepat di bawah judul. Maksimal 30 kata
   dipotong di PHP; di sini hanya dijaga agar tetap terbaca di layar. */
.entry-single .entry-excerpt {
	margin: 0 0 16px;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-muted);
	/* Rata kiri: paragraf ringkas lebih mudah dipindai daripada justify. */
	text-align: left;
}

@media (max-width: 700px) {
	.entry-single .entry-excerpt {
		font-size: 0.94rem;
		margin-bottom: 14px;
		/* Di mobile dibatasi 3 baris supaya kutipan tidak mendorong
		   byline terlalu jauh ke bawah. `line-clamp` butuh
		   `display: -webkit-box`, jadi tidak boleh grid/flex. */
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		overflow: hidden;
	}
}

/* Byline: avatar bulat + nama author, tanggal di bawah nama. */
.entry-single .entry-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--color-border);
}

.entry-single .byline-avatar {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--color-bg-alt);
	/* Shadow tipis + cincin tipis supaya avatar terpisah dari teks. */
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.08),
		0 1px 6px rgba(0, 0, 0, 0.06),
		0 0 0 1px rgba(0, 0, 0, 0.04);
}

.entry-single .byline-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

/* Fallback inisial: latar warna aksen global. */
.entry-single .byline-initials {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--color-accent);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	user-select: none;
}

.entry-single .byline-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	margin-bottom: 1px;
}

.entry-single .byline {
	display: block;
	font-size: 0.9rem;
	line-height: 1.25;
}

.entry-single .byline a {
	color: var(--color-text);
	font-weight: 600;
}

.entry-single .byline a:hover,
.entry-single .byline a:focus-visible {
	color: var(--color-accent);
	text-decoration: underline;
}

.entry-single .entry-date,
.entry-single .entry-time {
	font-size: 0.78rem;
	line-height: 1.25;
	color: var(--color-muted);
}

/* Baris tanggal + jam: rapat dan rata tengah horizontal */
.entry-single .entry-date-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 0;
}

.entry-single .entry-date-wrap,
.entry-single .entry-time-wrap {
	display: inline-flex;
	align-items: center;
}

.entry-single .meta-sep {
	display: inline-block;
	margin: 0 5px;
	color: var(--color-muted);
	opacity: 0.55;
	font-size: 0.78rem;
	line-height: 1.25;
}

/* Penyesuaian Byline Meta di Layar Mobile (Lebih Rapi, Proporsional, Tidak Turun) */
@media (max-width: 768px) {
	.entry-single .entry-header {
		margin-bottom: 16px;
	}

	.entry-single .entry-meta {
		gap: 10px;
		padding-bottom: 14px;
		align-items: center;
	}

	.entry-single .byline-avatar {
		width: 38px;
		height: 38px;
		flex: 0 0 38px;
	}

	.entry-single .byline-initials {
		font-size: 0.82rem;
	}

	.entry-single .byline-info {
		gap: 2px;
		justify-content: center;
	}

	.entry-single .byline {
		font-size: 0.86rem;
		line-height: 1.25;
	}

	.entry-single .entry-date-row {
		margin-top: 0;
		flex-wrap: nowrap;
		white-space: nowrap;
		align-items: center;
		gap: 3px;
		font-size: 0.75rem;
		line-height: 1.25;
	}

	.entry-single .entry-date,
	.entry-single .entry-time {
		font-size: 0.75rem;
		line-height: 1.25;
	}

	.entry-single .meta-sep {
		margin: 0 3px;
		font-size: 0.72rem;
		line-height: 1;
	}

	.entry-single .share-button {
		padding: 5px 11px;
		gap: 5px;
		font-size: 0.78rem;
	}

	.entry-single .share-icon {
		width: 18px;
		height: 18px;
		flex: 0 0 18px;
	}
}

/* Tombol Bagikan: `margin-left: auto` mendorongnya ke ujung kanan baris
   entry-meta, jadi byline tetap di kiri dan tombol rata kanan. */
.entry-single .share-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	flex: 0 0 auto;
	padding: 6px 14px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	color: var(--color-muted);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.entry-single .share-button:hover,
.entry-single .share-button:focus-visible {
	border-color: var(--color-accent);
	color: var(--color-accent);
	background: var(--color-bg-alt);
}

.entry-single .share-button.is-error {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.entry-single .share-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	display: block;
}

/* Label dinamis ("Bagikan" / "Tautan tersalin"): beri lebar minimum supaya
   baris tidak melompat saat teks berganti. */
.entry-single .share-label {
	white-space: nowrap;
}

/* --- Gambar Utama / Hero Thumbnail --- */
.entry-single .entry-thumbnail {
	position: relative;
	width: 100%;
	margin: 0 0 26px;
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-single .entry-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius);
	object-fit: cover;
}

.entry-single .entry-thumbnail figcaption,
.entry-single .entry-thumbnail .wp-caption-text {
	margin-top: 8px;
	font-size: 0.82rem;
	line-height: 1.4;
	color: var(--color-muted);
	text-align: left;
	font-style: italic;
}

@media (max-width: 700px) {
	.entry-single .entry-thumbnail {
		margin-bottom: 18px;
	}
}

/* --- Hero Video Facade (Click-to-Play di posisi entry-thumbnail) --- */
.entry-single .entry-thumbnail--video .entry-video-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: #000;
}

.entry-single .entry-video-trigger {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	margin: 0;
	background: none;
	appearance: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
	text-align: left;
}

.entry-single .entry-video-trigger::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			circle at 50% 50%,
			rgba(0, 0, 0, 0.38),
			rgba(0, 0, 0, 0.16) 55%,
			rgba(0, 0, 0, 0) 80%
		),
		linear-gradient(
			to top,
			rgba(0, 0, 0, 0.56),
			rgba(0, 0, 0, 0.22) 32%,
			rgba(0, 0, 0, 0) 65%
		);
	pointer-events: none;
	z-index: 1;
	transition: opacity 0.2s ease;
}

.entry-single .entry-thumbnail .entry-video-trigger img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	transition: transform 0.35s ease;
}

.entry-single .entry-video-play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	margin: auto;
	width: 68px;
	height: 68px;
	color: #fff;
	filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.58));
	transition: transform 0.2s ease, opacity 0.2s ease;
	pointer-events: none;
}

.entry-single .entry-video-play svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	paint-order: stroke fill;
	stroke: rgba(0, 0, 0, 0.55);
	stroke-width: 6;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.entry-single .entry-video-trigger:hover img,
.entry-single .entry-video-trigger:focus-visible img {
	transform: scale(1.03);
}

.entry-single .entry-video-trigger:hover .entry-video-play,
.entry-single .entry-video-trigger:focus-visible .entry-video-play {
	transform: scale(1.08);
}

.entry-single .entry-video-trigger:focus-visible {
	outline: 2px solid var(--color-accent, #c62828);
	outline-offset: -2px;
}

.entry-single .entry-video-player iframe,
.entry-single .entry-video-player video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	border-radius: var(--radius);
}

/* --- Inline Video Lite Facade (Embed di dalam isi artikel) --- */
.entry-single .entry-content .entry-content-video-wrap {
	margin: 2em 0;
}

.entry-single .entry-content figure .entry-content-video-wrap {
	margin: 0;
}

.entry-single .entry-content .entry-video-player--inline {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: #000;
}

.entry-single .entry-content .entry-video-player--inline.entry-video-player--no-poster {
	background: radial-gradient(circle at 50% 45%, #1e293b 0%, #090d16 100%);
}

.entry-single .entry-content .wp-block-embed__wrapper .entry-video-player--inline {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.entry-single .entry-content .entry-video-player--inline .entry-video-trigger {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.entry-single .entry-content .entry-video-player--inline .entry-video-trigger img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	margin: 0;
	display: block;
	transition: transform 0.35s ease;
}

@media (max-width: 700px) {
	.entry-single .entry-video-play {
		width: 54px;
		height: 54px;
	}
}

/* ==========================================================================
   POST CONTENT TYPOGRAPHY & ELEMENTS
   Didesain rapi, terstruktur, nyaman dibaca, dan responsif.
   ========================================================================== */

.entry-single .entry-content {
	font-family: var(--single-body-font);
	font-size: var(--single-body-size);
	font-weight: var(--single-body-weight);
	line-height: var(--single-body-line-height);
	color: var(--color-text);
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* --- Paragraf --- */
.entry-single .entry-content p {
	margin: 0 0 1.5em;
	line-height: var(--single-body-line-height);
}

.entry-single .entry-content p + p,
.entry-single .entry-content .google-auto-placed + p,
.entry-single .entry-content .ap_container + p,
.entry-single .entry-content div[style*="text-align: center"] + p {
	margin-top: 1.5em;
}

.entry-single .entry-content .google-auto-placed,
.entry-single .entry-content .ap_container,
.entry-single .entry-content .gentar-ad-slot,
.gentar-ad-slot {
	margin: 1.8em 0;
	clear: both;
	text-align: center;
	width: 100%;
}

.gentar-ad-slot .gentar-ad-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
	margin: 0 auto;
}

.gentar-ad-slot .gentar-ad-label {
	display: block;
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-text) 72%, var(--color-bg-alt));
	margin-bottom: 6px;
	line-height: 1;
}

.gentar-ad-slot .gentar-ad-content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.gentar-ad-slot .gentar-ad-content ins.adsbygoogle,
.gentar-ad-slot .gentar-ad-content iframe,
.gentar-ad-slot .gentar-ad-content img {
	max-width: 100%;
	margin: 0 auto;
	display: block;
}

.gentar-ad-slot .gentar-ad-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 120px;
	background: color-mix(in srgb, var(--color-text) 3%, var(--color-bg-alt));
	border: 1px dashed color-mix(in srgb, var(--color-text) 22%, var(--color-border));
	border-radius: var(--radius);
	color: color-mix(in srgb, var(--color-text) 55%, var(--color-bg-alt));
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.gentar-ad-slot .gentar-ad-placeholder:hover {
	background: color-mix(in srgb, var(--color-text) 6%, var(--color-bg-alt));
	border-color: color-mix(in srgb, var(--color-link) 40%, var(--color-border));
}

@media (max-width: 768px) {
	.entry-single .entry-content .gentar-ad-slot,
	.gentar-ad-slot {
		margin: 1.4em 0;
		width: 100%;
	}

	.gentar-ad-slot .gentar-ad-wrapper {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	.gentar-ad-slot .gentar-ad-content {
		width: 100%;
		max-width: 100%;
	}

	.gentar-ad-slot .gentar-ad-placeholder {
		width: 100%;
		max-width: 100%;
		min-height: 250px;
		height: auto;
		padding: 24px 16px;
	}

	.gentar-ad-slot ins.adsbygoogle {
		width: 100% !important;
		max-width: 100%;
	}
}

/* --- Hirarki Subheading (h1 - h6) --- */
.entry-single .entry-content h1,
.entry-single .entry-content h2,
.entry-single .entry-content h3,
.entry-single .entry-content h4,
.entry-single .entry-content h5,
.entry-single .entry-content h6 {
	font-family: var(--font-heading);
	font-weight: var(--heading-weight, 700);
	color: var(--color-text);
	clear: both;
}

.entry-single .entry-content h1 {
	font-size: 28px;
	line-height: 1.3;
	letter-spacing: -0.3px;
	margin: 2em 0 0.8em;
}

.entry-single .entry-content h2 {
	font-size: 24px;
	line-height: 1.35;
	letter-spacing: -0.3px;
	margin: 2em 0 0.7em;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--color-border);
}

.entry-single .entry-content h3 {
	font-size: 20px;
	line-height: 1.4;
	letter-spacing: -0.2px;
	margin: 1.8em 0 0.6em;
}

.entry-single .entry-content h4 {
	font-size: 17px;
	line-height: 1.45;
	margin: 1.6em 0 0.5em;
}

.entry-single .entry-content h5 {
	font-size: 15px;
	line-height: 1.45;
	margin: 1.4em 0 0.5em;
}

.entry-single .entry-content h6 {
	font-size: 14px;
	line-height: 1.45;
	margin: 1.3em 0 0.4em;
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* --- Blockquote --- */
.entry-single .entry-content blockquote,
.entry-single .entry-content .wp-block-quote {
	position: relative;
	margin: 2em 0;
	padding: 20px 24px 20px 28px;
	border-left: 4px solid var(--color-accent);
	background: var(--color-bg-alt);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	color: var(--color-text);
	font-size: 1.05em;
	line-height: 1.75;
}

.entry-single .entry-content blockquote p:first-child,
.entry-single .entry-content .wp-block-quote p:first-child {
	margin-top: 0;
}

.entry-single .entry-content blockquote p:last-child,
.entry-single .entry-content .wp-block-quote p:last-child {
	margin-bottom: 0;
}

.entry-single .entry-content blockquote cite,
.entry-single .entry-content .wp-block-quote cite {
	display: block;
	margin-top: 10px;
	font-size: 0.85em;
	font-style: normal;
	font-weight: 600;
	color: var(--color-muted);
}

/* --- Tabel (Table & Responsive Wrapper) --- */
.entry-single .entry-content .wp-block-table,
.entry-single .entry-content .table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 2em 0;
	border-radius: var(--radius);
}

.entry-single .entry-content table {
	width: 100%;
	min-width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 2em 0;
	font-size: 15px;
	line-height: 1.5;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.entry-single .entry-content .wp-block-table table,
.entry-single .entry-content .table-responsive table {
	margin: 0;
	border-radius: 0;
}

/* Dukungan tabel fixed-layout (Gutenberg "Fixed width table cells" / class has-fixed-layout) */
.entry-single .entry-content table.has-fixed-layout,
.entry-single .entry-content .wp-block-table.has-fixed-layout table.has-fixed-layout{
	table-layout: fixed;
	width: 100%;
	min-width: 100%;
}

.entry-single .entry-content th,
.entry-single .entry-content td {
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
	word-break: break-word;
	overflow-wrap: break-word;
}

.entry-single .entry-content th {
	background: var(--color-bg-alt);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-text);
}

.entry-single .entry-content tr:nth-child(even) {
	background: rgba(0, 0, 0, 0.018);
}

html.gentar-dark .entry-single .entry-content tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.025);
}

.entry-single .entry-content tr:hover {
	background: rgba(0, 0, 0, 0.035);
}

html.gentar-dark .entry-single .entry-content tr:hover {
	background: rgba(255, 255, 255, 0.045);
}

/* Caption tabel */
.entry-single .entry-content .wp-block-table figcaption,
.entry-single .entry-content table caption{
	margin-top: 0.6em;
	font-size: 13px;
	color: var(--color-muted);
	text-align: center;
	font-style: italic;
}

/* --- Responsive Embeds (YouTube, Video, Social Media) --- */
.entry-single .entry-content iframe,
.entry-single .entry-content embed,
.entry-single .entry-content object,
.entry-single .entry-content video {
	max-width: 100%;
	border-radius: var(--radius);
}

.entry-single .entry-content .wp-block-embed,
.entry-single .entry-content .wp-block-video {
	margin: 2em 0;
}

.entry-single .entry-content .wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%; /* Rasio 16:9 */
	height: 0;
	overflow: hidden;
	border-radius: var(--radius);
}

.entry-single .entry-content .wp-block-embed__wrapper iframe,
.entry-single .entry-content .wp-block-embed__wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--radius);
}

/* Embed media sosial (Twitter/X, Instagram, Facebook, TikTok) — rata tengah */
.entry-single .entry-content .wp-block-embed-twitter,
.entry-single .entry-content .wp-block-embed-instagram,
.entry-single .entry-content .wp-block-embed-facebook,
.entry-single .entry-content .wp-block-embed-tiktok {
	margin: 2em 0;
}

.entry-single .entry-content .wp-block-embed-twitter .wp-block-embed__wrapper,
.entry-single .entry-content .wp-block-embed-instagram .wp-block-embed__wrapper,
.entry-single .entry-content .wp-block-embed-facebook .wp-block-embed__wrapper,
.entry-single .entry-content .wp-block-embed-tiktok .wp-block-embed__wrapper {
	padding-bottom: 0;
	height: auto;
	display: flex;
	justify-content: center;
}

.entry-single .entry-content .wp-block-embed-twitter .wp-block-embed__wrapper iframe,
.entry-single .entry-content .wp-block-embed-instagram .wp-block-embed__wrapper iframe,
.entry-single .entry-content .wp-block-embed-facebook .wp-block-embed__wrapper iframe,
.entry-single .entry-content .wp-block-embed-tiktok .wp-block-embed__wrapper iframe {
	position: static;
	width: auto;
	height: auto;
	max-width: 100%;
}

/* Format legacy embed */
.entry-single .entry-content .embed-responsive,
.entry-single .entry-content .video-container,
.entry-single .entry-content .wp-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 2em 0;
	border-radius: var(--radius);
}

.entry-single .entry-content .embed-responsive iframe,
.entry-single .entry-content .video-container iframe,
.entry-single .entry-content .wp-video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --- Daftar (Lists) --- */
.entry-single .entry-content ul,
.entry-single .entry-content ol {
	padding-left: 1.8em;
	margin: 0 0 1.6em;
}

.entry-single .entry-content ul {
	list-style-type: disc;
}

.entry-single .entry-content ol {
	list-style-type: decimal;
}

.entry-single .entry-content li {
	margin-bottom: 0.5em;
	line-height: 1.75;
}

.entry-single .entry-content li > ul,
.entry-single .entry-content li > ol {
	margin-top: 0.4em;
	margin-bottom: 0;
}

.entry-single .entry-content ul ul {
	list-style-type: circle;
}

.entry-single .entry-content ul ul ul {
	list-style-type: square;
}

/* --- Kode & Preformatted --- */
.entry-single .entry-content pre,
.entry-single .entry-content .wp-block-code {
	background: #1e293b;
	color: #e2e8f0;
	padding: 18px 22px;
	border-radius: var(--radius);
	overflow-x: auto;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
	font-size: 14px;
	line-height: 1.65;
	margin: 2em 0;
	border: 1px solid #334155;
}

.entry-single .entry-content code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
	font-size: 0.88em;
	background: var(--color-bg-alt);
	color: var(--color-accent);
	padding: 2px 7px;
	border-radius: 4px;
	border: 1px solid var(--color-border);
}

.entry-single .entry-content pre code,
.entry-single .entry-content .wp-block-code code {
	background: transparent;
	padding: 0;
	color: inherit;
	font-size: inherit;
	border: 0;
}

/* --- Tautan di Dalam Konten --- */
.entry-single .entry-content a {
	color: var(--color-link);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
	text-decoration-color: color-mix(in srgb, var(--color-link) 50%, transparent);
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
	font-weight: 500;
}

.entry-single .entry-content a:hover,
.entry-single .entry-content a:focus-visible {
	color: var(--color-accent);
	text-decoration-color: currentColor;
}

/* --- Gambar & Keterangan (Figure & Caption) --- */
.entry-single .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.entry-single .entry-content figure {
	margin: 2em 0;
}

.entry-single .entry-content figure img {
	margin-bottom: 0;
}

/*
 * `display: block` wajib: core WordPress memberi
 * `display: table-caption` pada `.wp-block-image.aligncenter > figcaption`
 * (juga alignleft/alignright). Tanpa tabel induk, caption jadi anonymous
 * table box yang shrink-to-fit — itulah sebabnya caption menyempit.
 */
.entry-single .entry-content figcaption,
.entry-single .entry-content .wp-caption-text,
.entry-single .entry-content .wp-block-image figcaption,
.entry-single .entry-content .wp-block-gallery figcaption,
.entry-single .entry-content .wp-caption .wp-caption-text {
	display: block;
	font-size: 13px;
	color: var(--color-muted);
	text-align: left !important;
	margin-top: 8px;
	font-style: italic;
	line-height: 1.5;
}

/*
 * Gambar blok editor wajib mengisi lebar kolom konten.
 * `max-width: 100%` saja hanya membatasi gambar besar; gambar yang lebih kecil
 * dari kolom (mis. 640px di kolom 780px) tetap dirender seukuran aslinya dan
 * menyisakan ruang kosong di kanan sehingga layout terlihat patah.
 *
 * `figure` selalu dibuat selebar kolom (kecuali alignleft/alignright yang
 * memang float) supaya caption tidak ikut mewarisi lebar sempit `figure` saat
 * gambar di-resize di editor (`is-resized` menulis inline width di figure).
 * `!important` diperlukan untuk mengalahkan inline width tersebut.
 */
.entry-single .entry-content .wp-block-image:not(.alignleft):not(.alignright) {
	width: 100% !important;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Hanya gambar tanpa align yang dipaksa selebar kolom; gambar aligncenter
   tetap seukuran aslinya (maksimal selebar kolom) lalu dipusatkan. */
.entry-single .entry-content .wp-block-image:not(.alignleft):not(.alignright):not(.aligncenter) img:not(.aligncenter) {
	width: 100% !important;
	max-width: 100%;
	height: auto;
	display: block;
}

/* Anchor pembungkus gambar dibuat block agar tidak menyisakan celah
   baseline (ruang kosong tipis) di bawah gambar. */
.entry-single .entry-content .wp-block-image > a {
	display: block;
	line-height: 0;
}

/*
 * Perataan gambar dari editor (alignleft / aligncenter / alignright).
 * Sebelumnya kelas align ini tidak punya CSS sama sekali: `figure` tetap
 * block selebar kolom sehingga gambar inline di dalamnya menempel ke kiri
 * dan menyisakan ruang kosong di kanan — termasuk saat dipilih "Tengah".
 * `img { margin-inline: auto; display: block }` membuat gambar benar-benar
 * di tengah tanpa dipaksa selebar kolom (beda dengan gambar tanpa align),
 * sementara `figure` tetap selebar kolom agar caption tetap normal.
 */
.entry-single .entry-content .wp-block-image.aligncenter,
.entry-single .entry-content figure.aligncenter {
	display: block;
	width: 100% !important;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.entry-single .entry-content .wp-block-image.aligncenter img,
.entry-single .entry-content figure.aligncenter img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

/* Varian markup lama: kelas align menempel di <img> atau di <p>. */
.entry-single .entry-content img.aligncenter {
	display: block;
	max-width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.entry-single .entry-content p.aligncenter {
	text-align: center;
}

/*
 * Caption mengikuti perataan gambarnya. `:has()` menangani markup yang
 * menaruh kelas align di <img> atau di <a> pembungkus, bukan di <figure>.
 */
.entry-single .entry-content .wp-block-image.aligncenter figcaption,
.entry-single .entry-content figure.aligncenter figcaption,
.entry-single .entry-content figure:has(> img.aligncenter) figcaption,
.entry-single .entry-content figure:has(> a > img.aligncenter) figcaption {
	width: 100%;
	text-align: center !important;
}

.entry-single .entry-content .wp-block-image.alignleft,
.entry-single .entry-content figure.alignleft {
	float: left;
	margin: 0.4em 1.4em 1em 0;
}

.entry-single .entry-content .wp-block-image.alignright,
.entry-single .entry-content figure.alignright {
	float: right;
	margin: 0.4em 0 1em 1.4em;
}

/* Clearfix: gambar float tidak boleh meluber ke area tag/footer artikel. */
.entry-single .entry-content::after {
	content: "";
	display: block;
	clear: both;
}

/* --- Garis Pemisah (Separator / hr) --- */
.entry-single .entry-content hr,
.entry-single .entry-content .wp-block-separator {
	border: none;
	height: 1px;
	background: var(--color-border);
	margin: 2.5em 0;
}

.entry-single .entry-content .wp-block-separator.is-style-dots {
	background: none;
	text-align: center;
	height: auto;
}

.entry-single .entry-content .wp-block-separator.is-style-dots::before {
	content: "···";
	font-size: 24px;
	letter-spacing: 12px;
	color: var(--color-muted);
}

/* --- Responsif Mobile Konten (< 700px) --- */
@media (max-width: 700px) {
	.entry-single .entry-content {
		font-size: var(--single-body-size);
		line-height: var(--single-body-line-height);
	}

	/* Di layar sempit float kiri/kanan membuat teks terjepit: gambar
	   ditumpuk penuh lebar kolom dan tetap rata tengah. */
	.entry-single .entry-content .wp-block-image.alignleft,
	.entry-single .entry-content .wp-block-image.alignright,
	.entry-single .entry-content figure.alignleft,
	.entry-single .entry-content figure.alignright {
		float: none;
		margin: 1.5em 0;
	}

	.entry-single .entry-content .wp-block-image.alignleft img,
	.entry-single .entry-content .wp-block-image.alignright img,
	.entry-single .entry-content figure.alignleft img,
	.entry-single .entry-content figure.alignright img {
		max-width: 100%;
		height: auto;
	}

	.entry-single .entry-content p {
		margin-bottom: 1.4em;
	}

	.entry-single .entry-content h1 {
		font-size: 22px;
		margin: 1.5em 0 0.5em;
	}

	.entry-single .entry-content h2 {
		font-size: 20px;
		margin: 1.6em 0 0.5em;
		padding-bottom: 6px;
	}

	.entry-single .entry-content h3 {
		font-size: 18px;
		margin: 1.5em 0 0.5em;
	}

	.entry-single .entry-content h4 {
		font-size: 16px;
		margin: 1.4em 0 0.4em;
	}

	.entry-single .entry-content h5 {
		font-size: 15px;
		margin: 1.3em 0 0.4em;
	}

	.entry-single .entry-content h6 {
		font-size: 13px;
		margin: 1.2em 0 0.3em;
	}

	.entry-single .entry-content blockquote,
	.entry-single .entry-content .wp-block-quote {
		padding: 16px 18px 16px 20px;
		margin: 1.6em 0;
		font-size: 1em;
	}

	.entry-single .entry-content .wp-block-table,
	.entry-single .entry-content .table-responsive{
		margin: 1.5em 0;
	}

	.entry-single .entry-content table{
		font-size: 14px;
		margin: 1.5em 0;
		display: table;
	}

	.entry-single .entry-content .wp-block-table table,
	.entry-single .entry-content .table-responsive table{
		margin: 0;
	}

	.entry-single .entry-content th,
	.entry-single .entry-content td{
		padding: 9px 12px;
	}

	.entry-single .entry-content ul,
	.entry-single .entry-content ol {
		padding-left: 1.5em;
		margin-bottom: 1.4em;
	}

	.entry-single .entry-content pre,
	.entry-single .entry-content .wp-block-code {
		padding: 14px 16px;
		font-size: 13px;
		margin: 1.5em 0;
	}
}

/* =============================================
   Post Page Links (Multi-page post / wp_link_pages)
   Tampilan tombol navigasi halaman (halaman 1, 2, dst)
   di dalam artikel tunggal.
   ============================================= */

.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 28px 0 20px;
	padding: 14px 18px;
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-family: var(--font-body);
}

.page-links-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-text);
	margin-right: 4px;
	line-height: 1;
}

/* Tombol nomor halaman (baik a maupun span) */
.page-links .post-page-numbers,
.entry-single .entry-content .page-links a,
.entry-single .entry-content .page-links .post-page-numbers,
.page-links > span:not(.page-links-title) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	border: 1px solid var(--color-border);
	border-radius: 50px;
	background: var(--color-bg);
	color: var(--color-text);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	cursor: pointer;
	box-sizing: border-box;
}

/* Hover tombol tidak aktif */
.entry-single .entry-content .page-links a:hover,
.entry-single .entry-content .page-links a:focus-visible,
.page-links a.post-page-numbers:hover,
.page-links a.post-page-numbers:focus-visible {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
	color: #ffffff !important;
	text-decoration: none !important;
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(200, 16, 46, 0.25);
}

/* Tombol halaman aktif / saat ini: background warna aksen, teks angka putih */
.page-links .post-page-numbers.current,
.entry-single .entry-content .page-links .post-page-numbers.current,
.entry-single .entry-content .page-links > span:not(.page-links-title) {
	background-color: var(--color-accent) !important;
	border-color: var(--color-accent) !important;
	border-radius: 50px;
	color: #ffffff !important;
	font-weight: 700;
	cursor: default;
	transform: none;
	box-shadow: 0 2px 6px rgba(200, 16, 46, 0.3);
}

/* Span pembungkus angka di dalam link */
.page-links .post-page-number {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1;
}

@media (max-width: 480px) {
	.entry-single .entry-content th,
	.entry-single .entry-content td{
		padding: 8px 10px;
		font-size: 13px;
	}

	.page-links {
		padding: 12px 14px;
		gap: 6px 8px;
	}

	.page-links .post-page-numbers,
	.entry-single .entry-content .page-links a,
	.entry-single .entry-content .page-links .post-page-numbers,
	.page-links > span:not(.page-links-title) {
		min-width: 36px;
		height: 36px;
		font-size: 0.85rem;
		padding: 0 10px;
	}
}

/* Dark mode support */
html.gentar-dark .page-links {
	background: var(--color-bg-alt);
	border-color: var(--color-border);
}

html.gentar-dark .entry-single .entry-content .page-links a,
html.gentar-dark .page-links a.post-page-numbers {
	background: var(--color-bg);
	border-color: var(--color-border);
	color: var(--color-text);
}

html.gentar-dark .entry-single .entry-content .page-links .post-page-numbers.current,
html.gentar-dark .page-links .post-page-numbers.current,
html.gentar-dark .entry-single .entry-content .page-links > span:not(.page-links-title) {
	background-color: var(--color-accent) !important;
	border-color: var(--color-accent) !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

html.gentar-dark .entry-single .entry-content .page-links a:hover,
html.gentar-dark .entry-single .entry-content .page-links a:focus-visible,
html.gentar-dark .page-links a.post-page-numbers:hover,
html.gentar-dark .page-links a.post-page-numbers:focus-visible {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Entry Tags */
.entry-footer {
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	font-family: var(--font-body);
}

.entry-tags .tags-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-muted);
	flex-shrink: 0;
	margin-right: 2px;
	line-height: 1;
}

.entry-tags .tags-icon {
	color: var(--color-link);
	flex-shrink: 0;
}

.entry-tags .tags-list {
	display: contents;
}

@supports not (display: contents) {
	.entry-tags .tags-list {
		display: inline-flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 10px;
	}
}

.entry-tags a,
.entry-tags .tags-list a {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: var(--color-bg-alt);
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: var(--body-weight, 400);
	line-height: 1.35;
	color: var(--color-text);
	text-decoration: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.entry-tags a::before,
.entry-tags .tags-list a::before {
	content: "#";
	margin-right: 3px;
	color: var(--color-link);
	font-weight: 600;
	opacity: 0.85;
}

.entry-tags a:hover,
.entry-tags a:focus-visible,
.entry-tags .tags-list a:hover,
.entry-tags .tags-list a:focus-visible {
	background: var(--color-link);
	border-color: var(--color-link);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.entry-tags a:hover::before,
.entry-tags a:focus-visible::before,
.entry-tags .tags-list a:hover::before,
.entry-tags .tags-list a:focus-visible::before {
	color: #fff;
	opacity: 0.95;
}

/* ==========================================================================
   ENTRY SHARE (Tombol Bagikan Artikel ke Media Sosial)
   ========================================================================== */
.entry-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px dashed var(--color-border);
}

/* Jika tags di atasnya tidak dicetak, hilangkan jarak dan garis atas ekstra */
.entry-footer > .entry-share:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.entry-share-header {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-text);
}

.entry-share-header .entry-share-header-icon {
	color: var(--color-link);
	flex-shrink: 0;
}

.entry-share-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
}

.entry-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px;
	padding: 0 14px;
	border-radius: var(--radius);
	background-color: var(--color-bg-alt);
	color: var(--color-text);
	border: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.entry-share-btn:hover,
.entry-share-btn:focus-visible {
	background-color: var(--color-bg);
	border-color: var(--color-link);
	color: var(--color-link);
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	text-decoration: none;
}

/* Tombol hanya ikon (X & More) */
.entry-share-btn--icon {
	min-width: 38px;
	width: 38px;
	padding: 0;
}

.entry-share-btn .share-btn-icon {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.entry-share-btn .share-btn-icon--copied {
	display: none;
}

/* X (Twitter) */
.entry-share-btn--x:hover,
.entry-share-btn--x:focus-visible {
	background-color: #0f1419;
	border-color: #0f1419;
	color: #ffffff;
}

html.gentar-dark .entry-share-btn--x:hover,
html.gentar-dark .entry-share-btn--x:focus-visible {
	background-color: #e7e9ea;
	border-color: #e7e9ea;
	color: #0f1419;
}

/* Email */
.entry-share-btn--email:hover,
.entry-share-btn--email:focus-visible {
	background-color: #ea4335;
	border-color: #ea4335;
	color: #ffffff;
}

/* Copy Link */
.entry-share-btn--copy:hover,
.entry-share-btn--copy:focus-visible {
	background-color: var(--color-link);
	border-color: var(--color-link);
	color: #ffffff;
}

.entry-share-btn--copy.is-copied {
	background-color: #10b981 !important;
	border-color: #10b981 !important;
	color: #ffffff !important;
	transform: none;
}

.entry-share-btn--copy.is-copied .share-btn-icon:not(.share-btn-icon--copied) {
	display: none;
}

.entry-share-btn--copy.is-copied .share-btn-icon--copied {
	display: inline-block;
}

/* Print */
.entry-share-btn--print:hover,
.entry-share-btn--print:focus-visible {
	background-color: #4b5563;
	border-color: #4b5563;
	color: #ffffff;
}

/* More / Titik Tiga */
.entry-share-btn--more:hover,
.entry-share-btn--more:focus-visible {
	background-color: var(--color-link);
	border-color: var(--color-link);
	color: #ffffff;
}

/* Responsif Mobile (< 640px) - Tampilan Bersih Cukup Ikon Saja */
@media (max-width: 640px) {
	.entry-share {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-top: 20px;
		padding-top: 16px;
	}

	/* Sembunyikan teks judul "Bagikan Artikel" dan label tombol di mobile view */
	.entry-share-title,
	.entry-share-btn .share-btn-label {
		display: none;
	}

	.entry-share-header {
		gap: 0;
		flex-shrink: 0;
	}

	.entry-share-header .entry-share-header-icon {
		width: 20px;
		height: 20px;
	}

	.entry-share-actions {
		width: auto;
		margin-left: auto;
		justify-content: flex-end;
		gap: 8px;
		flex-wrap: nowrap;
	}

	.entry-share-btn {
		flex: 0 0 38px;
		width: 38px;
		height: 38px;
		min-width: 38px;
		padding: 0;
		justify-content: center;
	}
}

@media (max-width: 400px) {
	.entry-share {
		gap: 8px;
	}

	.entry-share-actions {
		gap: 6px;
	}

	.entry-share-btn {
		flex: 0 0 34px;
		width: 34px;
		height: 34px;
		min-width: 34px;
	}

	.entry-share-btn .share-btn-icon {
		width: 14px;
		height: 14px;
	}
}

@media print {
	.entry-share {
		display: none !important;
	}
}

/* Post navigation */
.post-navigation {
	margin: 36px 0;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	font-family: var(--font-body);
}

/* Tiap tautan = kartu flex: thumbnail + teks. */
.post-navigation .nav-links a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-bg);
	text-decoration: none;
	color: var(--color-text);
	font-family: var(--font-body);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-navigation .nav-links a:hover {
	border-color: var(--color-accent);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

/* Next: thumbnail pindah ke kanan judul, tanpa membalik urutan DOM. */
.post-navigation .nav-next a {
	flex-direction: row-reverse;
	text-align: right;
}

/* Thumbnail 1:1 kecil, membulat, tidak pernah melebar. */
.post-navigation .nav-thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg-alt);
}

.post-navigation .nav-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Postingan tanpa thumbnail: sembunyikan kotak supaya tidak tersisa
   placeholder kosong di samping judul. `:not(:has(img))` dipakai karena
   `.nav-thumb` selalu dirender (PHP hanya mengosongkan isinya). */
.post-navigation .nav-thumb:not(:has(img)) {
	display: none;
}

.post-navigation .nav-text {
	min-width: 0;
}

.post-navigation .nav-label {
	display: block;
	font-family: var(--font-body);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	/* Warna mengikuti aksen tema (Customizer Warna Aksen). */
	color: var(--color-accent);
	font-weight: 700;
	margin-bottom: 2px;
}

/* Judul dipotong 2 baris di semua ukuran layar. */
.post-navigation .nav-title,
.nav-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	font-family: var(--font-heading);
	font-weight: var(--heading-weight);
	line-height: 1.25;
}

/* Related posts */
.related-posts {
	margin: 40px 0;
	/* Warna batas garis tipis menggunakan var(--color-muted) yang dihaluskan agar serasi di light & dark mode */
	--related-divider: var(--color-border);
	--related-divider: color-mix(in srgb, var(--color-muted) 15%, transparent);
}

/*
 * Grid ter-skop: home/archive tetap auto-fill di global.css.
 * Desktop >1024px: 3 kolom x 2 baris (6 post).
 * Tablet <=1024px: 2 kolom x 3 baris.
 * Mobile <=700px:  2 kolom x 3 baris (selaras breakpoint tema).
 *
 * Pemisah dibuat dari border kartu sendiri HANYA di tengah:
 * - Garis vertikal antar kolom (border-left pada kolom selain pertama).
 * - Garis horizontal antar baris (border-top mulai baris kedua).
 * - Tepi luar grid (kiri, kanan, atas, bawah) tetap bersih tanpa garis samping.
 */
.related-posts .grid-posts-container {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0 -12px;
}

/* Kartu seragam tinggi: thumbnail 16:9 + teks dipotong rata 3 baris. */
.related-posts .grid-post {
	height: 100%;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: none;
	display: flex;
	flex-direction: column;
	padding: 0 12px;
	box-sizing: border-box;
}

.related-posts .grid-post:hover {
	box-shadow: none;
}

/* Desktop: garis pemisah hanya di tengah */
@media (min-width: 1025px) {
	/* Garis vertikal tengah: kolom ke-2 (3n + 2) dan ke-3 (3n).
	   Kolom ke-1 (3n + 1) TANPA border-left sehingga tepi kiri bersih.
	   Kolom ke-3 juga TANPA border-right sehingga tepi kanan bersih. */
	.related-posts .grid-post:nth-child(3n + 2),
	.related-posts .grid-post:nth-child(3n) {
		border-left: 1px solid var(--related-divider);
	}

	/* Baris 1: jarak napas bawah sebelum garis horizontal tengah */
	.related-posts .grid-post:nth-child(-n + 3) {
		padding-bottom: 18px;
	}

	/* Garis horizontal tengah: mulai baris ke-2 (post ke-4 ke atas).
	   Baris pertama TANPA border-top dan baris terakhir TANPA border-bottom.
	   Jika post hanya 1-3 baris, garis horizontal tidak akan muncul. */
	.related-posts .grid-post:nth-child(n + 4) {
		border-top: 1px solid var(--related-divider);
		padding-top: 18px;
	}
}

/* Thumbnail tetap membulat sendiri walau kartu dibuka border-nya. */
.related-posts .grid-post-thumbnail {
	border-radius: var(--radius);
}

/* Hanya thumbnail + judul: kategori, tanggal, dan aksen lain disembunyikan. */
.related-posts .post-category,
.related-posts .post-date {
	display: none;
}

/* Padding vertikal thumbnail ke judul kartu */
.related-posts .grid-post-content {
	padding: 10px 0 0;
	flex: 1;
}

.related-posts .grid-post-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.related-posts .grid-posts-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin: 0 -10px;
	}

	.related-posts .grid-post {
		padding: 0 10px 14px;
	}

	/* Reset border desktop */
	.related-posts .grid-post:nth-child(3n + 2),
	.related-posts .grid-post:nth-child(3n) {
		border-left: 0;
	}
	.related-posts .grid-post:nth-child(-n + 3) {
		padding-bottom: 14px;
	}
	.related-posts .grid-post:nth-child(n + 4) {
		border-top: 0;
		padding-top: 0;
	}

	/* Garis vertikal tengah (2 kolom):
	   Hanya kolom genap (kanan) yang memiliki border-left.
	   Kolom ganjil (kiri) bersih dari border-left.
	   Tepi luar kiri dan kanan tetap bersih tanpa garis samping. */
	.related-posts .grid-post:nth-child(even) {
		border-left: 1px solid var(--related-divider);
	}

	/* Garis horizontal tengah (2 kolom):
	   Mulai baris ke-2 (post ke-3 ke atas) mendapat border-top.
	   Baris 1 (post 1 & 2) bersih tanpa border-top. */
	.related-posts .grid-post:nth-child(n + 3) {
		border-top: 1px solid var(--related-divider);
		padding-top: 14px;
	}
}

@media (max-width: 700px) {
	.related-posts {
		margin: 28px 0;
	}

	.related-posts .grid-posts-container {
		margin: 0 -8px;
	}

	.related-posts .grid-post {
		padding: 0 8px 12px;
	}

	.related-posts .grid-post:nth-child(-n + 3) {
		padding-bottom: 12px;
	}

	.related-posts .grid-post:nth-child(n + 3) {
		padding-top: 12px;
	}
}

/* ==========================================================================
   AUTHOR BIO (Kotak Profil Penulis di Bawah Single Post)
   ========================================================================== */
.author-bio {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	padding: 24px;
	margin: 36px 0;
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.author-bio:hover {
	border-color: color-mix(in srgb, var(--color-link) 35%, var(--color-border));
}

.author-bio .author-avatar {
	flex-shrink: 0;
}

.author-bio .author-avatar-link {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--color-border);
	background: var(--color-bg);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.author-bio .author-avatar-link:hover {
	transform: scale(1.05);
	border-color: var(--color-link);
}

.author-bio .author-avatar img,
.author-bio .author-avatar .avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.author-bio .author-info {
	flex: 1 1 auto;
	min-width: 0;
}

.author-bio .author-header {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.author-bio .author-badge {
	display: inline-block;
	padding: 2px 8px;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: color-mix(in srgb, var(--color-link) 60%, var(--color-text));
	background: color-mix(in srgb, var(--color-link) 10%, var(--color-bg));
	border: 1px solid color-mix(in srgb, var(--color-link) 20%, var(--color-border));
	border-radius: 4px;
	line-height: 1.4;
}

.author-bio .author-name {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: var(--heading-weight, 700);
	margin: 0;
	line-height: 1.3;
}

.author-bio .author-name a {
	color: var(--color-text);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: background-size 0.25s ease, color 0.2s ease;
}

.author-bio .author-name a:hover,
.author-bio .author-name a:focus-visible {
	color: var(--color-link);
	background-size: 100% 1px;
	text-decoration: none;
}

.author-bio .author-description {
	font-family: var(--font-body);
	font-size: 0.92rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-text) 74%, var(--color-bg-alt));
	margin: 0 0 14px;
}

.author-bio .author-description p {
	margin: 0;
}

.author-bio .author-footer {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 10px;
	border-top: 1px dashed var(--color-border);
}

.author-bio .author-posts-link,
.author-bio .author-website-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--color-link);
	text-decoration: none;
	transition: opacity 0.18s ease, transform 0.15s ease;
}

.author-bio .author-posts-link:hover,
.author-bio .author-website-link:hover {
	opacity: 0.85;
	text-decoration: underline;
	transform: translateX(2px);
}

.author-bio .author-website-link {
	color: color-mix(in srgb, var(--color-text) 74%, var(--color-bg-alt));
}

.author-bio .author-website-link:hover {
	color: var(--color-text);
}

@media (max-width: 600px) {
	.author-bio {
		gap: 14px;
		padding: 18px 16px;
		margin: 28px 0;
	}

	.author-bio .author-avatar-link {
		width: 60px;
		height: 60px;
	}

	.author-bio .author-name {
		font-size: 1.05rem;
	}

	.author-bio .author-description {
		font-size: 0.88rem;
		line-height: 1.5;
		margin-bottom: 12px;
	}

	.author-bio .author-footer {
		gap: 12px;
	}
}

@media (max-width: 420px) {
	.author-bio {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 20px 14px;
	}

	.author-bio .author-header {
		justify-content: center;
	}

	.author-bio .author-footer {
		justify-content: center;
		width: 100%;
	}
}

/* Gaya komentar dipindahkan ke assets/css/comments.css dan dimuat kondisional untuk kecepatan */
@media (max-width: 600px) {
	/* Satu kolom bertumpuk; zig-zag dibuat dengan posisi thumbnail:
	   prev = kiri, next = kanan. Judul tetap clamp 2 (aturan dasar). */
	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation .nav-links a {
		align-items: flex-start;
	}

	.post-navigation .nav-thumb {
		width: 48px;
		height: 48px;
	}

	/* Label "Sebelumnya"/"Berikutnya" tidak perlu di layar sempit:
	   posisi thumbnail (kiri/kanan) sudah cukup menandai arah. */
	.post-navigation .nav-label {
		display: none;
	}

	.post-navigation .nav-title,
	.nav-title {
		font-size: var(--heading-size-mobile);
		-webkit-line-clamp: 2;
        line-clamp: 2;
	}

}


/* ==========================================================================
   KOMPONEN TAMBAHAN SINGLE POST (Inline Related, Google News Follow, Google Preferred)
   ========================================================================== */

/* --- Baca Juga (Also Read / Inline Related Posts) --- */
.gentar-also-read,
.baca-juga,
.gentar-inline-related {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 14px 20px;
	margin: 1.6em 0;
	background: color-mix(in srgb, var(--color-accent, #2563eb) 6%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-accent, #2563eb) 20%, transparent);
	border-radius: 0 8px 8px 0;
	position: relative;
}

.gentar-also-read__label,
.baca-juga__label,
.gentar-inline-related__label {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--single-title-font, var(--font-heading, inherit));
	font-size: 17px;
	margin-bottom: 4px;
	margin-top: 4px;
	font-weight: 800;
	color: var(--color-accent, #2563eb);
	line-height: 1;
}

.gentar-also-read__label::before,
.baca-juga__label::before {
	content: '';
	position: absolute;
	left: -21px;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 150%;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	background-color: var(--color-accent, #2563eb);
}

.gentar-also-read__link,
.baca-juga__link,
.gentar-inline-related__title a {
	font-family: var(--single-title-font, var(--font-heading, inherit));
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-text, #111827) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.gentar-also-read__link:hover,
.baca-juga__link:hover,
.gentar-inline-related__title a:hover,
.gentar-also-read__link:focus-visible,
.baca-juga__link:focus-visible {
	color: var(--color-accent, #2563eb) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* Dark mode */
[data-theme="dark"] .gentar-also-read,
[data-theme="dark"] .baca-juga,
[data-theme="dark"] .gentar-inline-related {
	background: color-mix(in srgb, var(--color-accent, #2563eb) 10%, transparent);
	border-color: color-mix(in srgb, var(--color-accent, #2563eb) 30%, transparent);
	border-left-color: var(--color-accent, #2563eb);
}

[data-theme="dark"] .gentar-also-read__link,
[data-theme="dark"] .baca-juga__link,
[data-theme="dark"] .gentar-inline-related__title a {
	color: var(--color-text, #f3f4f6) !important;
}

/* Responsive */
@media (max-width: 500px) {
	.gentar-also-read,
	.baca-juga,
	.gentar-inline-related {
		padding: 12px 14px 12px 16px;
	}

	.gentar-also-read__label::before,
	.baca-juga__label::before {
		left: -17px;
	}

	.gentar-also-read__link,
	.baca-juga__link,
	.gentar-inline-related__title a {
		font-size: 14px;
	}
}

/* --- Widget Google News Follow & Sumber Pilihan Google --- */
.gentar-google-hub {
	margin: 32px 0;
	padding: 24px 20px;
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	text-align: center;
	box-shadow: 0 2px 8px color-mix(in srgb, var(--color-text) 3%, transparent);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gentar-google-hub:hover {
	border-color: color-mix(in srgb, #1a73e8 35%, var(--color-border));
	box-shadow: 0 4px 14px color-mix(in srgb, var(--color-text) 6%, transparent);
}

.gentar-google-hub__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 14px;
	max-width: 620px;
	margin: 0 auto;
}

.gentar-google-hub__content {
	text-align: center;
	width: 100%;
}

.gentar-google-hub__title {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: var(--heading-weight, 700);
	color: var(--color-text);
	margin: 0 0 6px;
	line-height: 1.35;
	text-align: center;
}

.gentar-google-hub__desc {
	font-family: var(--single-body-font, var(--font-body));
	font-size: 0.88rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--color-text) 74%, var(--color-bg-alt));
	margin: 0;
	text-align: center;
}

.gentar-google-hub__desc strong {
	color: var(--color-text);
	font-weight: 600;
}

.gentar-google-hub__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 4px;
}

.gentar-google-hub__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 20px;
	min-height: 42px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	cursor: pointer;
	white-space: nowrap;
	background: var(--color-bg);
	color: var(--color-text) !important;
	border: 1px solid var(--color-border);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.gentar-google-hub__btn:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
}

.gentar-google-hub__btn:hover {
	background: color-mix(in srgb, var(--color-text) 4%, var(--color-bg));
	border-color: color-mix(in srgb, #1a73e8 40%, var(--color-border));
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.gentar-google-hub__btn--news:hover {
	border-color: #1a73e8;
}

.gentar-google-hub__btn--google:hover {
	border-color: color-mix(in srgb, var(--color-text) 35%, var(--color-border));
}

.gentar-google-hub__btn-icon {
	flex-shrink: 0;
	display: block;
}

.gentar-google-hub__btn--news .gentar-google-hub__btn-icon {
	fill: #1a73e8;
	color: #1a73e8;
}

/* Dukungan Mode Gelap (Dark Mode Theme) */
html.gentar-dark .gentar-google-hub {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

html.gentar-dark .gentar-google-hub:hover {
	border-color: color-mix(in srgb, #1a73e8 45%, var(--color-border));
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html.gentar-dark .gentar-google-hub__btn {
	background: var(--color-bg);
	color: var(--color-text) !important;
	border-color: var(--color-border);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

html.gentar-dark .gentar-google-hub__btn:hover {
	background: color-mix(in srgb, var(--color-text) 8%, var(--color-bg));
	border-color: color-mix(in srgb, var(--color-text) 30%, var(--color-border));
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Backward compatibility classes */
.gentar-google-news-follow,
.gentar-google-preferred {
	margin: 20px 0;
	padding: 14px 18px;
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
	font-family: var(--single-body-font, var(--font-body));
	font-size: 0.88rem;
	color: var(--color-text);
}

/* Responsive adjustments */
@media (max-width: 560px) {
	.gentar-google-hub {
		padding: 20px 16px;
		margin: 24px 0;
	}

	.gentar-google-hub__title {
		font-size: 1.05rem;
	}

	.gentar-google-hub__desc {
		font-size: 0.85rem;
	}

	.gentar-google-hub__actions {
		flex-direction: column;
		gap: 10px;
	}

	.gentar-google-hub__btn {
		width: 100%;
		justify-content: center;
		padding: 10px 18px;
	}
}

/* ==========================================================================
   RECOMMENDED POSTS (Section / Widget Post Rekomendasi di Single Post)
   ========================================================================== */

.recommended-posts {
	margin: 40px 0;
	padding-top: 10px;
}

.recommended-posts-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
}

.recommended-post-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--color-border);
	transition: background-color 0.15s ease;
}

.recommended-post-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

/* Media pembungkus thumbnail & badge kategori */
.recommended-post-media {
	flex: 0 0 170px;
	width: 170px;
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg-alt);
}

/* Thumbnail 16:9 rasio dengan sudut membulat */
.recommended-post-thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg-alt);
	position: relative;
	display: block;
}

.recommended-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: var(--radius);
	transition: transform 0.25s ease;
}

.recommended-post-item:hover .recommended-post-thumb img {
	transform: scale(1.04);
}

.recommended-post-thumb .post-thumbnail-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--color-bg-alt);
	border-radius: var(--radius);
}

/* Badge kategori duduk di atas thumbnail, pojok kiri atas */
.recommended-post-media .post-category {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 7px;
	border-radius: 3px;
	background: var(--color-accent);
	color: #ffffff;
	font-family: var(--font-body);
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	transition: background-color 0.18s ease, transform 0.15s ease;
}

.recommended-post-media .post-category:hover,
.recommended-post-media .post-category:focus-visible {
	background: #a30d25;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

html.gentar-dark .recommended-post-media .post-category {
	background: var(--color-link);
	color: #ffffff;
}

html.gentar-dark .recommended-post-media .post-category:hover,
html.gentar-dark .recommended-post-media .post-category:focus-visible {
	background: #ff758a;
}

/* Konten di sebelah kanan thumbnail */
.recommended-post-content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* Judul post dengan line-clamp 3 dan typografi global */
.recommended-post-title {
	font-family: var(--font-heading);
	font-size: calc(var(--heading-size-desktop) * 0.8);
	font-weight: var(--heading-weight, 700);
	line-height: 1.35;
	margin: 0 0 6px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.recommended-post-title a {
	color: var(--color-text);
	text-decoration: none;
	display: inline;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: background-size 0.25s ease, color 0.2s ease;
}

.recommended-post-item:hover .recommended-post-title a,
.recommended-post-title a:hover,
.recommended-post-title a:focus,
.recommended-post-title a:focus-visible {
	color: var(--color-link);
	background-size: 100% 1px;
	text-decoration: none;
}

/* Meta tanggal di bawah judul (tanpa separator) */
.recommended-post-meta {
	display: flex;
	align-items: center;
	margin-top: 2px;
	line-height: 1;
}

.recommended-post-meta .post-date {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-body);
	font-size: 0.78rem;
	line-height: 1.2;
	color: var(--color-muted);
	margin: 0;
	padding: 0;
}


/* Responsif Mobile (< 640px) */
@media (max-width: 640px) {
	.recommended-posts {
		margin: 28px 0;
	}

	.recommended-post-item {
		gap: 12px;
		padding-bottom: 14px;
	}

	.recommended-post-media {
		flex: 0 0 145px;
		width: 120px;
	}

	.recommended-post-media .post-category {
		top: 5px;
		left: 5px;
		padding: 2px 5px;
		font-size: 0.6rem;
		letter-spacing: 0.03em;
	}

	.recommended-post-title {
		font-size: var(--heading-size-mobile);
		line-height: 1.3;
		margin-bottom: 4px;
	}

	.recommended-post-meta .post-date {
		font-size: 0.72rem;
	}
}

@media (max-width: 400px) {
	.recommended-post-media {
		flex: 0 0 140px;
		width: 100px;
	}

	.recommended-post-media .post-category {
		top: 4px;
		left: 4px;
		padding: 3px 5px;
		font-size: 0.55rem;
	}

	.recommended-post-title {
		font-size: calc(var(--heading-size-mobile) * 0.88);
		line-height: 1.28;
	}
}