/*
 * Shared components reused across the inner pages (Sejarah, Kontak,
 * Susunan Kepengurusan, Upcoming Event, Laporan Kegiatan, Lapor Diri).
 * Loaded on every page; small enough not to worry about pages that don't
 * use every class. Store/linkfra.da have their own header treatment and
 * don't use .pf-page-header, but still use the link-card pattern.
 */

/* Page header: centered hero used by most inner pages */
.pf-page-header {
	position: relative;
	padding: 150px 24px 50px;
	overflow: hidden;
	text-align: center;
}

.pf-page-header__glow {
	position: absolute;
	top: -140px;
	left: 50%;
	transform: translateX(-50%);
	width: 760px;
	height: 460px;
	background: radial-gradient(ellipse at center, rgba(0, 166, 81, .22), rgba(0, 155, 77, .14) 40%, rgba(248, 251, 248, 0) 70%);
	filter: blur(16px);
	animation: ppiGlow 9s ease-in-out infinite;
	pointer-events: none;
}

.pf-page-header__inner {
	max-width: 880px;
	margin: 0 auto;
	position: relative;
}

.pf-page-header__title {
	font-weight: 800;
	font-size: clamp(2.4rem, 5.6vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -.03em;
	color: var(--pf-ink);
}

.pf-page-header__lead {
	max-width: 600px;
	margin: 22px auto 0;
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	line-height: 1.65;
	color: var(--pf-muted);
	font-weight: 500;
}

/* Generic section heading used for inner-page section titles outside the
   page header (e.g. "Lini masa singkat", "Divisi", "Media Sosial"). */
.pf-section-heading {
	font-weight: 700;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	letter-spacing: -.02em;
	color: var(--pf-ink);
}

.pf-section-heading--sm {
	font-size: 1.5rem;
	letter-spacing: -.01em;
}

/* Link card: icon + title/subtitle + trailing arrow. .pf-link-grid wraps
   it in a responsive grid (Kontak), .pf-link-stack in a single column
   (linkfra.da). */
.pf-link-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.pf-link-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pf-link-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid rgba(30, 30, 30, .07);
	border-radius: 18px;
	padding: 20px;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(30, 30, 30, .04);
	transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, border-color .3s;
}

.pf-link-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 44px -28px rgba(30, 30, 30, .4);
	border-color: rgba(0, 155, 77, .3);
}

.pf-link-card__icon {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: rgba(0, 155, 77, .08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.pf-link-stack .pf-link-card__icon {
	width: 46px;
	height: 46px;
}

.pf-link-card__body {
	flex: 1;
	min-width: 0;
}

.pf-link-card__title {
	display: block;
	font-weight: 700;
	font-size: 1rem;
	color: var(--pf-ink);
}

.pf-link-card__subtitle {
	display: block;
	font-size: 13.5px;
	color: var(--pf-muted);
	margin-top: 2px;
}

.pf-link-card__arrow {
	flex: none;
	color: #9A9A9A;
	transition: transform .3s;
}

.pf-link-card:hover .pf-link-card__arrow {
	transform: translateX(3px);
}

.pf-link-card--fritter-coming-soon {
	cursor: default;
	opacity: .82;
	filter: saturate(.72);
}

.pf-link-card--fritter-coming-soon:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px -28px rgba(30, 30, 30, .4);
	border-color: rgba(0, 155, 77, .14);
}

.pf-link-card__status-badge {
	display: inline-flex;
	padding: 4px 8px;
	margin-bottom: 6px;
	border-radius: 999px;
	background: rgba(0, 155, 77, .09);
	color: var(--pf-green-deep);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .04em;
}

.pf-link-card__disabled-action {
	flex: none;
	padding: 8px 12px;
	border: 1px solid rgba(0, 155, 77, .12);
	border-radius: 999px;
	background: rgba(0, 155, 77, .06);
	color: var(--pf-green-deep);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.pf-link-card--fritter-coming-soon {
		align-items: flex-start;
	}

	.pf-link-card__disabled-action {
		padding: 7px 9px;
		font-size: 11px;
	}
}

/* CTA banner: full-width gradient panel, centered text, 1-2 buttons.
   Used by Sejarah and Upcoming Event. */
.pf-cta-banner {
	position: relative;
	overflow: hidden;
	border-radius: 30px;
	padding: clamp(36px, 5vw, 64px);
	text-align: center;
}

.pf-cta-banner__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	pointer-events: none;
}

.pf-cta-banner__content {
	position: relative;
}

.pf-cta-banner__title {
	font-weight: 800;
	font-size: clamp(1.8rem, 3.6vw, 2.8rem);
	line-height: 1.06;
	letter-spacing: -.02em;
	color: #fff;
	max-width: 620px;
	margin: 0 auto;
}

.pf-cta-banner__text {
	margin: 18px auto 0;
	max-width: 480px;
	font-size: 1.08rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .85);
	font-weight: 500;
}

.pf-cta-banner__row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 30px;
	flex-wrap: wrap;
}

/* Email/contact highlight card. Used by Kontak. */
.pf-email-card {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--pf-green-deepest);
	border-radius: 26px;
	padding: clamp(28px, 4vw, 40px);
	text-decoration: none;
	box-shadow: 0 30px 70px -46px rgba(30, 30, 30, .6);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.pf-email-card:hover {
	transform: translateY(-4px);
}

.pf-email-card__glow {
	position: absolute;
	top: -90px;
	right: -50px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	opacity: .4;
	filter: blur(60px);
}

.pf-email-card__main {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
}

.pf-email-card__icon {
	flex: none;
	width: 62px;
	height: 62px;
	border-radius: 16px;
	background: rgba(126, 217, 87, .16);
	display: flex;
	align-items: center;
	justify-content: center;
}

.pf-email-card__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--pf-green-accent);
}

.pf-email-card__address {
	margin-top: 5px;
	font-family: var(--pf-font-display);
	font-weight: 700;
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	color: #fff;
	word-break: break-all;
}

.pf-email-card__arrow {
	position: relative;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .1);
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 820px) {
	.pf-email-card {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Generic empty state for CPT-driven sections (no upcoming event yet,
   no past events yet, etc.) — a soft dashed panel instead of nothing. */
.pf-empty-state {
	border-radius: var(--pf-radius-lg);
	border: 1px dashed rgba(0, 122, 61, .35);
	background: linear-gradient(135deg, rgba(0, 122, 61, .06), rgba(0, 166, 81, .1));
	padding: 40px 30px;
	text-align: center;
	color: var(--pf-muted);
	font-weight: 600;
}

/* Link-in-bio profile header. Used by linkfra.da. */
.pf-linkhub {
	position: relative;
	padding: 130px 24px 80px;
	overflow: hidden;
}

.pf-linkhub__glow {
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	width: 760px;
	height: 480px;
	background: radial-gradient(ellipse at center, rgba(0, 166, 81, .24), rgba(0, 155, 77, .15) 40%, rgba(248, 251, 248, 0) 70%);
	filter: blur(16px);
	animation: ppiGlow 9s ease-in-out infinite;
	pointer-events: none;
}

.pf-linkhub__inner {
	max-width: 520px;
	margin: 0 auto;
	position: relative;
}

.pf-linkhub__profile {
	text-align: center;
	margin-bottom: 34px;
}

.pf-linkhub__icon {
	display: inline-flex;
	width: 88px;
	height: 88px;
	border-radius: 26px;
	align-items: center;
	justify-content: center;
	box-shadow: 0 18px 40px -16px rgba(0, 155, 77, .6);
}

.pf-linkhub__icon img {
	width: 62px;
	height: 62px;
	object-fit: contain;
}

.pf-linkhub__title {
	margin-top: 18px;
	font-family: var(--pf-font-display);
	font-weight: 800;
	font-size: 2rem;
	letter-spacing: -.02em;
	color: var(--pf-ink);
}

.pf-linkhub__tagline {
	margin-top: 8px;
	font-size: 1rem;
	color: var(--pf-muted);
	font-weight: 500;
}

/* CTA strip: smaller dark-green flex row, title+text vs. one button.
   Used by Laporan Kegiatan. */
.pf-cta-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	background: var(--pf-green-deepest);
	border-radius: 24px;
	padding: clamp(28px, 4vw, 40px);
}

.pf-cta-strip__title {
	font-weight: 700;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	letter-spacing: -.02em;
	color: #fff;
}

.pf-cta-strip__text {
	margin-top: 8px;
	font-size: 1rem;
	color: rgba(255, 255, 255, .65);
}
