/* =========================================================
   Shared page hero — aligned with PPID green band
   Flush to topbar; content clears fixed header via offset
   ========================================================= */

:root {
	--ph-ink: #1a2b22;
	--ph-muted: #5f7266;
	--ph-soft: #f7faf8;
	--ph-accent: #0e9e10;
	--ph-accent-deep: #0a6f0c;
	--ph-header-offset: 142px;
	--ph-font: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
	--ph-display: var(--font-display, 'Source Serif 4', Georgia, serif);
}

.single-premium,
.gp-page,
.sv-page,
.dm-page,
.sdm-page,
.ph-page,
.ppid-public {
	--ph-header-offset: 142px;
	--sp-header-offset: var(--ph-header-offset);
	--gp-header-offset: var(--ph-header-offset);
	--sv-header-offset: var(--ph-header-offset);
	--dm-header-offset: var(--ph-header-offset);
	--sdm-header-offset: var(--ph-header-offset);
	--ppid-header-offset: var(--ph-header-offset);
}

/* Page shells: hero flush to top (like PPID) */
.single-premium,
.gp-page,
.sv-page,
.dm-page,
.sdm-page,
.ph-page {
	position: relative;
	isolation: isolate;
	font-family: var(--ph-font);
	color: var(--ph-ink);
	background: linear-gradient(180deg, #f7faf8 0%, #fff 18%, #f7faf8 100%);
	padding-top: 0 !important;
	padding-bottom: 3.25rem;
	min-height: 50vh;
	overflow: hidden;
}

.ph-page *,
.ph-page *::before,
.ph-page *::after {
	box-sizing: border-box;
}

/* Soft mist atmosphere not used with green band */
.single-premium .single-atmosphere,
.gp-atmosphere,
.sv-atmosphere,
.dm-atmosphere,
.sdm-atmosphere,
.ph-atmosphere {
	display: none !important;
}

.single-premium > *:not(.single-atmosphere),
.gp-page > *:not(.gp-atmosphere),
.sv-page > *:not(.sv-atmosphere),
.dm-page > *:not(.dm-atmosphere),
.sdm-page > *:not(.sdm-atmosphere),
.ph-page > *:not(.ph-atmosphere) {
	position: relative;
	z-index: 1;
}

/* ---------- Green band hero (PPID language) ---------- */
.single-premium .single-top,
.gp-top,
.sv-top,
.dm-top,
.sdm-top,
.ph-top,
.ppid-public .ppid-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(700px 280px at 90% 10%, rgba(255, 255, 255, 0.16), transparent 60%),
		linear-gradient(125deg, #0a6f0c 0%, #0e9e10 48%, #14532d 100%);
	color: #fff;
	padding: calc(var(--ph-header-offset) + clamp(1.35rem, 3vw, 2.1rem)) 0 clamp(1.75rem, 4vw, 2.75rem);
	margin: 0;
	border-radius: 0;
}

.single-premium .single-top > .container,
.gp-top > .container,
.sv-top > .container,
.dm-top > .container,
.sdm-top > .container,
.ph-top > .container {
	position: relative;
	z-index: 1;
}

/* Breadcrumb removed site-wide (except home has none) */
.single-premium .single-bc,
.gp-bc,
.sv-bc,
.dm-bc,
.sdm-bc,
.ph-bc,
nav[aria-label="Breadcrumb"],
.breadcrumbs_container {
	display: none !important;
}

/* Copy block */
.single-premium .single-lede,
.gp-lede,
.sv-lede,
.dm-lede,
.sdm-lede,
.ph-lede {
	width: 100%;
	max-width: none;
	padding-bottom: 0;
	margin: 0;
	animation: phRise 0.45s ease both;
}

@keyframes phRise {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.single-premium .single-eyebrow,
.gp-eyebrow,
.sv-eyebrow,
.dm-eyebrow,
.sdm-eyebrow,
.ph-eyebrow {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9) !important;
}

.single-premium .single-title,
.single-premium .blog_title.single-title,
.gp-title,
.sv-title,
.dm-title,
.sdm-title,
.ph-title,
.ph-page .blog_title.ph-title,
.ppid-public .ppid-hero h1 {
	font-family: var(--ph-display) !important;
	font-size: clamp(1.85rem, 3.6vw, 2.7rem) !important;
	font-weight: 700 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.02em;
	color: #ffffff !important;
	margin: 0 0 0.55rem !important;
	width: 100%;
	max-width: none;
}

.ppid-public .ppid-hero h1 {
	max-width: 16ch;
}

.single-premium .single-deck,
.gp-deck,
.sv-deck,
.dm-deck,
.sdm-deck,
.ph-deck,
.ppid-public .ppid-hero-lead {
	margin: 0;
	max-width: 46ch;
	font-size: 0.98rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.94) !important;
}

.single-premium .single-meta,
.gp-meta,
.sv-meta,
.dm-meta,
.sdm-meta,
.ph-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
	margin-top: 1.15rem;
}

.single-premium .single-meta-chip,
.gp-meta-chip,
.sv-meta-chip,
.dm-meta-chip,
.sdm-meta-chip,
.ph-meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.85rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.95) !important;
	box-shadow: none;
	text-decoration: none;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.single-premium .single-meta-chip i,
.gp-meta-chip i,
.sv-meta-chip i,
.dm-meta-chip i,
.sdm-meta-chip i,
.ph-meta-chip i {
	color: #fff !important;
	font-size: 0.82rem;
	font-family: FontAwesome !important;
	opacity: 0.95;
}

a.gp-meta-chip:hover,
a.sv-meta-chip:hover,
a.dm-meta-chip:hover,
a.sdm-meta-chip:hover,
a.ph-meta-chip:hover,
a.single-meta-chip:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff !important;
}

/* PPID brand line synced */
.ppid-public .ppid-hero-brand {
	margin: 0 0 0.45rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9) !important;
}

.ppid-public .ppid-hero-lead {
	max-width: 42ch;
}

/* Content under green hero — match .ppid-section rhythm */
.ph-page .ph-shell,
.single-premium .single-blog.blog,
.gp-shell,
.sv-shell,
.dm-shell,
.sdm-shell,
.sdm-page .sdm-shell {
	margin-top: 1.75rem !important;
	padding-top: 0.5rem !important;
}

/* Align PPID first content block with the same top rhythm
   (nav bar sits between hero and sections; section margin stays 1.75rem) */
.ppid-public > .ppid-wrap:first-of-type,
.ppid-public .ppid-nav-bar + .ppid-wrap {
	padding-top: 0;
}

.ph-page .blog,
.ph-page .events {
	background: transparent !important;
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.ph-page .blog_title:not(.ph-title):not(.ph-inline-title) {
	display: none;
}

.ph-page .blog_meta {
	display: none;
}

.ph-page .ph-inline-title {
	color: var(--ph-ink) !important;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
	max-width: none;
}

/* ---------- Soft main + sidebar (ph-page / sambutan) ---------- */
.ph-page {
	--ph-radius: 22px;
	--ph-shadow: 0 18px 50px rgba(18, 48, 28, 0.07);
	--ph-soft: #eef5f0;
	--ph-card: rgba(255, 255, 255, 0.82);
}

.ph-layout {
	align-items: flex-start;
}

.ph-main {
	background: var(--ph-card);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: var(--ph-radius);
	box-shadow: var(--ph-shadow);
	padding: 1.45rem 1.4rem 1.35rem;
	overflow: hidden;
	margin-bottom: 0;
}

.ph-main-head {
	margin-bottom: 1.15rem;
	padding-bottom: 0.95rem;
	border-bottom: 1px solid rgba(20, 60, 35, 0.08);
}

.ph-main-eyebrow {
	display: block;
	margin: 0 0 0.4rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ph-accent-deep);
}

.ph-main-title {
	font-family: var(--ph-display);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--ph-ink);
	margin: 0 0 0.35rem;
}

.ph-main-lead {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ph-muted);
	line-height: 1.5;
}

.ph-main-body {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--ph-ink);
}

.ph-main-body::after {
	content: '';
	display: table;
	clear: both;
}

.ph-kepala-photo {
	float: left;
	width: 180px;
	max-width: 42%;
	margin: 0.15rem 1.25rem 1rem 0;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(20, 60, 35, 0.08);
	background: var(--ph-soft);
	box-shadow: 0 8px 22px rgba(18, 48, 28, 0.08);
}

.ph-kepala-photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.ph-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	position: sticky;
	top: calc(var(--ph-header-offset) + 12px);
}

.ph-side-panel {
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: var(--ph-radius);
	padding: 1.25rem 1.2rem 1.15rem;
	box-shadow: var(--ph-shadow);
}

.ph-side-panel--soft {
	background: linear-gradient(160deg, rgba(238, 245, 240, 0.95), rgba(255, 255, 255, 0.8));
}

.ph-side-title {
	font-family: var(--ph-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ph-ink);
	line-height: 1.25;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.ph-side-cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.ph-side-cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.65rem 0.75rem;
	border-radius: 12px;
	text-decoration: none;
	color: var(--ph-ink);
	font-size: 0.9rem;
	font-weight: 500;
	transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.ph-side-cats a:hover {
	background: rgba(14, 158, 16, 0.08);
	transform: translateX(2px);
	color: var(--ph-accent-deep);
}

.ph-side-cat-count {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--ph-accent-deep);
	background: rgba(14, 158, 16, 0.12);
	min-width: 1.6rem;
	height: 1.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
}

.ph-side-feed {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ph-side-feed-item {
	display: flex;
	gap: 0.8rem;
	text-decoration: none;
	padding: 0.35rem;
	border-radius: 14px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.ph-side-feed-item:hover {
	background: rgba(14, 158, 16, 0.06);
	transform: translateY(-1px);
}

.ph-side-feed-thumb {
	width: 68px;
	height: 68px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--ph-soft);
}

.ph-side-feed-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.ph-side-feed-item:hover .ph-side-feed-thumb img {
	transform: scale(1.06);
}

.ph-side-feed-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.25rem;
	min-width: 0;
}

.ph-side-feed-title {
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ph-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ph-side-feed-item:hover .ph-side-feed-title {
	color: var(--ph-accent-deep);
}

.ph-side-feed-date {
	font-size: 0.72rem;
	color: var(--ph-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.single-premium,
	.gp-page,
	.sv-page,
	.dm-page,
	.sdm-page,
	.ph-page,
	.ppid-public {
		--ph-header-offset: 136px;
	}

	.ph-sidebar {
		position: static;
		top: auto;
	}
}

@media (max-width: 767px) {
	.single-premium,
	.gp-page,
	.sv-page,
	.dm-page,
	.sdm-page,
	.ph-page,
	.ppid-public {
		--ph-header-offset: 102px;
	}

	.ph-page .ph-shell,
	.single-premium .single-blog.blog,
	.gp-shell,
	.sv-shell,
	.dm-shell,
	.sdm-shell,
	.sdm-page .sdm-shell {
		margin-top: 1.35rem !important;
		padding-top: 0.35rem !important;
	}

	.single-premium .single-title,
	.single-premium .blog_title.single-title,
	.gp-title,
	.sv-title,
	.dm-title,
	.sdm-title,
	.ph-title,
	.ph-page .blog_title.ph-title,
	.ppid-public .ppid-hero h1 {
		font-size: clamp(1.55rem, 7vw, 2.15rem) !important;
	}

	.single-premium .single-deck,
	.gp-deck,
	.sv-deck,
	.dm-deck,
	.sdm-deck,
	.ph-deck,
	.ppid-public .ppid-hero-lead {
		font-size: 0.94rem;
		max-width: none;
	}
}

@media (max-width: 575px) {
	.single-premium,
	.gp-page,
	.sv-page,
	.dm-page,
	.sdm-page,
	.ph-page,
	.ppid-public {
		--ph-header-offset: 98px;
	}

	.ph-page {
		padding-bottom: 2.5rem;
	}

	.ph-main {
		padding: 1.15rem 1rem 1.1rem;
	}

	.ph-kepala-photo {
		float: none;
		width: min(180px, 55%);
		max-width: none;
		margin: 0 auto 1.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.single-premium .single-lede,
	.gp-lede,
	.sv-lede,
	.dm-lede,
	.sdm-lede,
	.ph-lede {
		animation: none !important;
	}
}
