/* ==========================================================================
   PPSM – Editorial Moden & Berautoriti
   Tema anak Blocksy. Warna utama diselaraskan melalui palet Blocksy
   (--theme-palette-color-1..8) yang ditetapkan semasa tema diaktifkan.
   Nisbah kontras diuji (WCAG 2.2 AA):
     arang #202824 / gading #F7F5EF  13.9:1
     emerald #123D32 / gading        11.1:1
     emas gelap #7D6230 / gading      5.3:1  (teks emas pada latar cerah)
     emas cerah #D4B97F / emerald     6.4:1  (teks emas pada latar gelap)
     emas #B39255 hanya untuk hiasan / garis (2.7:1 pada gading – bukan teks)
   ========================================================================== */

/* ---------- Fon (dihoskan sendiri, tiada panggilan ke Google) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
	src: url(../fonts/plus-jakarta-sans-latin-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
	src: url(../fonts/plus-jakarta-sans-latin-ext-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 400 800; font-display: swap;
	src: url(../fonts/plus-jakarta-sans-latin-italic.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 400 800; font-display: swap;
	src: url(../fonts/plus-jakarta-sans-latin-ext-italic.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Arab / Jawi: Plus Jakarta Sans tiada glif Arab, jadi Noto Naskh Arabic mengambil alih aksara Arab sahaja. */
@font-face { font-family: "PPSM Arab"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url(../fonts/noto-naskh-arabic-arabic-normal.woff2) format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
	--ppsm-emerald: #123D32;
	--ppsm-emerald-900: #0B2A22;
	--ppsm-emerald-700: #1B5244;
	--ppsm-gading: #F7F5EF;
	--ppsm-arang: #202824;
	--ppsm-teks-2: #4A5550;
	--ppsm-emas: #B39255;           /* hiasan sahaja */
	--ppsm-emas-gelap: #7D6230;     /* teks emas pada latar cerah */
	--ppsm-emas-cerah: #D4B97F;     /* teks emas pada latar gelap */
	--ppsm-sage: #E7EEE8;
	--ppsm-garis: #D9E2DB;
	--ppsm-putih: #FFFFFF;
	--ppsm-gutter: clamp(16px, 4vw, 40px);
	--ppsm-radius: 10px;
	--ppsm-radius-sm: 6px;
	--ppsm-shadow: 0 1px 2px rgba(18, 61, 50, .06), 0 6px 20px rgba(18, 61, 50, .06);
	--ppsm-font: "Plus Jakarta Sans", "PPSM Arab", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--ppsm-geometri: url(../img/geometri.svg);

	/* Pembolehubah Blocksy */
	--theme-font-family: var(--ppsm-font);
	--theme-text-color: var(--ppsm-arang);
	--theme-headings-color: var(--ppsm-emerald);
	--theme-heading-color: var(--ppsm-emerald);
	--theme-link-initial-color: var(--ppsm-emerald);
	--theme-link-hover-color: var(--ppsm-emas-gelap);
	--theme-border-color: var(--ppsm-garis);
	--theme-button-background-initial-color: var(--ppsm-emerald);
	--theme-button-background-hover-color: var(--ppsm-emerald-900);
	--theme-button-text-initial-color: #fff;
	--theme-button-text-hover-color: #fff;
	--theme-button-border-radius: var(--ppsm-radius-sm);
}

body {
	font-family: var(--ppsm-font);
	color: var(--ppsm-arang);
	background-color: var(--ppsm-gading);
	text-rendering: optimizeLegibility;
}

/* Teks Arab/Jawi dalam kandungan */
:lang(ar), [dir="rtl"], .arab, .jawi { font-family: "PPSM Arab", "Noto Naskh Arabic", "Amiri", "Traditional Arabic", serif; line-height: 1.9; }

h1, h2, h3, h4, h5, h6 { font-family: var(--ppsm-font); color: var(--ppsm-emerald); letter-spacing: -.01em; }

/* ---------- Kebolehcapaian ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--ppsm-emas-gelap) !important;
	outline-offset: 2px !important;
	border-radius: 3px;
}
.ppsm-dark :where(a, button):focus-visible,
.ct-footer :where(a, button):focus-visible { outline-color: var(--ppsm-emas-cerah) !important; }

.skip-link:focus, .show-on-focus:focus {
	background: var(--ppsm-emerald) !important; color: #fff !important; padding: .75em 1.25em !important;
	z-index: 100000; font-weight: 600;
}

.screen-reader-text:not(:focus) {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

html, body { overflow-x: clip; }
img, video, iframe { max-width: 100%; height: auto; }
.entry-content { overflow-wrap: anywhere; }
.entry-content table { display: block; overflow-x: auto; }

/* ---------- Bar atas ---------- */
.ppsm-topbar {
	background: var(--ppsm-emerald-900);
	color: #E9EFEA;
	font-size: 13px;
}
.ppsm-topbar__inner {
	max-width: var(--theme-normal-container-max-width, 1290px);
	margin: 0 auto;
	padding: 6px var(--ppsm-gutter);
	display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.ppsm-topbar a { color: #fff; text-decoration: none; }
.ppsm-topbar a:hover { color: var(--ppsm-emas-cerah); text-decoration: underline; }
.ppsm-topbar__slogan { color: var(--ppsm-emas-cerah); font-weight: 600; letter-spacing: .02em; }
.ppsm-topbar__links { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }

/* ---------- Header Blocksy ---------- */
.ct-header [data-row="middle"] { border-bottom: 1px solid var(--ppsm-garis); }
.ct-header .site-title a, .ct-header .site-title { color: var(--ppsm-emerald) !important; font-weight: 800; }
.ct-header .site-description { color: var(--ppsm-teks-2) !important; }
.ct-header .site-branding { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.ct-header .site-logo-container img { max-height: 56px; width: auto; }
.ct-header .site-title { font-size: clamp(15px, 1.6vw, 20px); line-height: 1.25; max-width: 15em; }
@media (max-width: 689px) { .ct-header .site-logo-container img { max-height: 44px; } .ct-header .site-title { font-size: 14px; } .ct-header .site-description { display: none; } }
.ct-header [data-id="menu"] > ul > li > a { font-weight: 600; color: var(--ppsm-arang); }
.ct-header [data-id="menu"] > ul > li.current-menu-item > a,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a { color: var(--ppsm-emerald); box-shadow: inset 0 -3px 0 var(--ppsm-emas); }

/* ---------- Butang ---------- */
.ppsm-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .7em 1.3em;
	border-radius: var(--ppsm-radius-sm);
	background: var(--ppsm-emerald); color: #fff; border: 2px solid var(--ppsm-emerald);
	font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ppsm-btn:hover, .wp-block-button__link:hover { background: var(--ppsm-emerald-900); border-color: var(--ppsm-emerald-900); color: #fff; }
.ppsm-btn--outline, .is-style-outline .wp-block-button__link { background: transparent; color: var(--ppsm-emerald); }
.ppsm-btn--outline:hover, .is-style-outline .wp-block-button__link:hover { background: var(--ppsm-emerald); color: #fff; }
.ppsm-btn--small { min-height: 36px; padding: .45em .9em; font-size: 14px; }
.ppsm-dark .wp-block-button__link { background: var(--ppsm-emas-cerah); border-color: var(--ppsm-emas-cerah); color: var(--ppsm-emerald-900); }
.ppsm-dark .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--ppsm-emerald-900); }
.ppsm-dark .wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; border: 2px solid #fff !important; color: #fff !important; }
.ppsm-dark .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff !important; color: var(--ppsm-emerald-900) !important; }

/* ---------- Hero (laman utama) ---------- */
.ppsm-hero {
	position: relative;
	background-color: var(--ppsm-emerald);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.ppsm-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: var(--ppsm-geometri); background-size: 96px 96px; opacity: .10;
}
.ppsm-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 0;
	background: linear-gradient(90deg, var(--ppsm-emas) 0 40%, transparent 40%);
}
.ppsm-hero h1, .ppsm-hero h2, .ppsm-hero p { color: #fff; }
.ppsm-hero .ppsm-kicker { color: var(--ppsm-emas-cerah); }
.ppsm-hero .ppsm-hero__lead { color: #E3EAE5; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; max-width: 38em; }
.ppsm-hero h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin-bottom: .35em; }
.ppsm-hero .wp-block-image img { border-radius: var(--ppsm-radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.ppsm-hero .wp-block-image figcaption { color: #CBD6CF; font-size: 13px; }
.ppsm-kicker {
	display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700;
	color: var(--ppsm-emas-gelap); margin-bottom: .6em;
}
.ppsm-kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--ppsm-emas); vertical-align: middle; margin-right: 10px; }

/* ---------- Seksyen ---------- */
.ppsm-section { margin-block: clamp(40px, 6vw, 72px); }
.ppsm-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--ppsm-garis); position: relative; }
.ppsm-section__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--ppsm-emas); }
.ppsm-section__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.ppsm-section__more { font-weight: 700; color: var(--ppsm-emerald); text-decoration: none; white-space: nowrap; }
.ppsm-section__more:hover { text-decoration: underline; color: var(--ppsm-emas-gelap); }
.ppsm-band { background: var(--ppsm-sage); }
.ppsm-band--geo { position: relative; isolation: isolate; }
.ppsm-band--geo::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--ppsm-geometri); background-size: 96px; opacity: .08; }

/* ---------- Grid & kad berita ---------- */
.ppsm-grid { display: grid; gap: 24px; }
.ppsm-grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ppsm-grid--stack { grid-template-columns: 1fr; }
.ppsm-card {
	display: flex; flex-direction: column; background: var(--ppsm-putih); border: 1px solid var(--ppsm-garis);
	border-radius: var(--ppsm-radius); overflow: hidden; box-shadow: var(--ppsm-shadow); height: 100%;
}
.ppsm-grid--stack .ppsm-card { flex-direction: row; }
.ppsm-grid--stack .ppsm-card__media { flex: 0 0 34%; aspect-ratio: auto; }
.ppsm-card__media { display: block; aspect-ratio: 16/10; background: var(--ppsm-sage); overflow: hidden; }
.ppsm-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ppsm-card__placeholder { display: block; width: 100%; height: 100%; min-height: 120px; background: var(--ppsm-emerald) var(--ppsm-geometri) center/72px; opacity: .9; }
.ppsm-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.ppsm-card__meta { margin: 0; font-size: 13px; color: var(--ppsm-teks-2); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.ppsm-card__cat { font-weight: 700; color: var(--ppsm-emas-gelap); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.ppsm-card__title { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 700; }
.ppsm-card__title a { color: var(--ppsm-arang); text-decoration: none; }
.ppsm-card__title a:hover { color: var(--ppsm-emerald); text-decoration: underline; text-underline-offset: 3px; }
.ppsm-card__excerpt { margin: 0; color: var(--ppsm-teks-2); font-size: 15px; line-height: 1.6; }

/* ---------- Pengumuman ---------- */
.ppsm-pengumuman { margin-block: 24px; display: grid; gap: 12px; }
.ppsm-pengumuman__item {
	display: flex; gap: 16px; align-items: flex-start; background: #FFFBEF; border: 1px solid #E8D9B5;
	border-left: 5px solid var(--ppsm-emas); border-radius: var(--ppsm-radius-sm); padding: 14px 18px;
}
.ppsm-pengumuman__label { flex: none; background: var(--ppsm-emerald); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 99px; }
.ppsm-pengumuman__body p { margin: .25em 0 0; }
.ppsm-pengumuman__link { font-weight: 700; }

/* ---------- Program ---------- */
.ppsm-program-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ppsm-program { display: flex; gap: 18px; background: #fff; border: 1px solid var(--ppsm-garis); border-radius: var(--ppsm-radius); padding: 16px; }
.ppsm-program__date { flex: none; width: 78px; text-align: center; background: var(--ppsm-emerald); color: #fff; border-radius: var(--ppsm-radius-sm); padding: 10px 6px; display: flex; flex-direction: column; justify-content: center; }
.ppsm-program__day { font-size: 28px; font-weight: 800; line-height: 1; }
.ppsm-program__month { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ppsm-emas-cerah); margin-top: 4px; }
.ppsm-program__title { margin: 0 0 4px; font-size: 18px; }
.ppsm-program__title a { color: var(--ppsm-arang); text-decoration: none; }
.ppsm-program__meta { margin: 0; color: var(--ppsm-teks-2); font-size: 14px; }
.ppsm-program__excerpt { margin: 6px 0 10px; }

/* ---------- Dokumen ---------- */
.ppsm-doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ppsm-garis); }
.ppsm-doc { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--ppsm-garis); }
.ppsm-doc[hidden] { display: none; }
.ppsm-doc__type { width: 48px; height: 56px; border-radius: 4px; background: var(--ppsm-sage); color: var(--ppsm-emerald); font-weight: 800; font-size: 12px; display: grid; place-items: center; border: 1px solid var(--ppsm-garis); position: relative; }
.ppsm-doc__type::after { content: ""; position: absolute; top: -1px; right: -1px; border-style: solid; border-width: 0 12px 12px 0; border-color: transparent var(--ppsm-gading) var(--ppsm-garis) transparent; }
.ppsm-doc__title { margin: 0; font-size: 16px; line-height: 1.4; }
.ppsm-doc__title a { color: var(--ppsm-arang); text-decoration: none; }
.ppsm-doc__title a:hover { color: var(--ppsm-emerald); text-decoration: underline; }
.ppsm-doc__summary { margin: 2px 0 0; color: var(--ppsm-teks-2); font-size: 14px; }
.ppsm-doc__meta { margin: 4px 0 0; font-size: 13px; color: var(--ppsm-teks-2); }
.ppsm-doc__dl { font-weight: 700; font-size: 14px; color: var(--ppsm-emerald); border: 2px solid var(--ppsm-emerald); border-radius: var(--ppsm-radius-sm); padding: .45em .9em; text-decoration: none; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }
.ppsm-doc__dl:hover { background: var(--ppsm-emerald); color: #fff; }
@media (max-width: 560px) { .ppsm-doc { grid-template-columns: 44px 1fr; } .ppsm-doc__dl { grid-column: 2; justify-self: start; } }

.ppsm-filter { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 8px; }
.ppsm-filter__field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; }
.ppsm-filter__field label { font-weight: 700; font-size: 14px; }
.ppsm-filter input, .ppsm-filter select { min-height: 44px; border: 1px solid #8A968F; border-radius: var(--ppsm-radius-sm); padding: 0 12px; background: #fff; font: inherit; }
.ppsm-filter__note, .ppsm-filter__status { font-size: 13px; color: var(--ppsm-teks-2); margin: 4px 0 12px; }

/* ---------- Sumber ---------- */
.ppsm-sumber__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.ppsm-sumber__sub { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--ppsm-emas-gelap); margin: 0 0 14px; }

/* ---------- Facebook ---------- */
.ppsm-fb { display: grid; gap: 24px; grid-template-columns: minmax(0, 520px) 1fr; align-items: start; }
@media (max-width: 860px) { .ppsm-fb { grid-template-columns: 1fr; } }
.ppsm-fb__consent { background: #fff; border: 1px dashed #9AA8A0; border-radius: var(--ppsm-radius); padding: 24px; text-align: left; }
.ppsm-fb__iframe { border: 0; border-radius: var(--ppsm-radius); background: #fff; display: block; }
.ppsm-fb__actions { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.ppsm-fb__note { flex-basis: 100%; font-size: 13px; color: var(--ppsm-teks-2); }

/* ---------- Pimpinan ---------- */
.ppsm-pimpinan__body ol, .ppsm-pimpinan__body ul { padding-left: 0; list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ppsm-pimpinan__body li { background: #fff; border: 1px solid var(--ppsm-garis); border-left: 4px solid var(--ppsm-emerald); border-radius: var(--ppsm-radius-sm); padding: 12px 14px; }
.ppsm-pimpinan__body li strong { display: block; color: var(--ppsm-arang); }
.ppsm-pimpinan__body li em { font-style: normal; color: var(--ppsm-emas-gelap); font-weight: 600; font-size: 14px; }
.ppsm-pimpinan__source { font-size: 13px; color: var(--ppsm-teks-2); }
.ppsm-arkib { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--ppsm-garis); }
.ppsm-arkib__item { position: relative; padding: 10px 0 10px 22px; }
.ppsm-arkib__item::before { content: ""; position: absolute; left: -7px; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: var(--ppsm-gading); border: 2px solid var(--ppsm-emas); }
.ppsm-arkib__item.is-semasa::before { background: var(--ppsm-emerald); border-color: var(--ppsm-emerald); }
.ppsm-arkib__term { display: inline-block; min-width: 104px; margin-right: 10px; font-weight: 800; color: var(--ppsm-emerald); }
.ppsm-arkib__note { font-size: 12px; color: var(--ppsm-teks-2); }
.ppsm-badge { display: inline-block; font-size: 12px; font-weight: 700; background: var(--ppsm-emerald); color: #fff; border-radius: 99px; padding: 2px 10px; }

.ppsm-empty, .ppsm-admin-note { padding: 14px 18px; border-radius: var(--ppsm-radius-sm); background: var(--ppsm-sage); }
.ppsm-admin-note { border: 1px dashed var(--ppsm-emas-gelap); background: #FFFBEF; }

/* ---------- Kandungan artikel ---------- */
.single .entry-content, .page .entry-content { font-size: 18px; line-height: 1.75; }
.entry-content > p, .entry-content li { max-width: 72ch; }
.entry-content blockquote { border-left: 4px solid var(--ppsm-emas); background: #fff; padding: 16px 22px; border-radius: 0 var(--ppsm-radius-sm) var(--ppsm-radius-sm) 0; }
.entry-content figcaption, .wp-caption-text { font-size: 14px; color: var(--ppsm-teks-2); }
.ppsm-source-note { margin-top: 2.5em; padding: 12px 16px; font-size: 13px; color: var(--ppsm-teks-2); border-top: 1px solid var(--ppsm-garis); }

/* Breadcrumb */
.ppsm-breadcrumb { font-size: 14px; color: var(--ppsm-teks-2); margin-bottom: 10px; }
.ppsm-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.ppsm-breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ppsm-emas-gelap); }
.ppsm-breadcrumb a { color: var(--ppsm-emerald); }

/* Kad arkib Blocksy */
.entries .entry-card { background: #fff; border: 1px solid var(--ppsm-garis); border-radius: var(--ppsm-radius); box-shadow: var(--ppsm-shadow); }
.entry-card .entry-meta { font-size: 13px; }

/* ---------- Footer PPSM ---------- */
.ppsm-footer { background: var(--ppsm-emerald-900); color: #DCE5DF; position: relative; isolation: isolate; }
.ppsm-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--ppsm-geometri); background-size: 96px; opacity: .05; }
.ppsm-footer__inner { max-width: var(--theme-normal-container-max-width, 1290px); margin: 0 auto; padding: 56px var(--ppsm-gutter) 32px; display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 900px) { .ppsm-footer__inner { grid-template-columns: 1fr; } }
.ppsm-footer h2 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.ppsm-footer a { color: #fff; }
.ppsm-footer a:hover { color: var(--ppsm-emas-cerah); }
.ppsm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ppsm-footer__brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.ppsm-footer__brand img { width: 64px; height: auto; }
.ppsm-footer__name { font-weight: 800; color: #fff; font-size: 18px; line-height: 1.3; }
.ppsm-footer__slogan { color: var(--ppsm-emas-cerah); font-weight: 600; }
.ppsm-footer address { font-style: normal; line-height: 1.7; white-space: pre-line; }
.ct-footer { background: var(--ppsm-emerald-900) !important; border-top: 1px solid rgba(255,255,255,.12); }
.ct-footer, .ct-footer p, .ct-footer .ct-footer-copyright, .ct-footer [data-row] { color: #C9D5CE !important; --theme-text-color: #C9D5CE; background-color: var(--ppsm-emerald-900) !important; }
.ct-footer a { color: #fff; }

/* Mudah alih */
@media (max-width: 689px) {
	.ppsm-grid--stack .ppsm-card { flex-direction: column; }
	.ppsm-topbar__slogan { display: none; }
	.single .entry-content, .page .entry-content { font-size: 17px; }
}

@media print {
	.ppsm-topbar, .ppsm-footer, .ct-header, .ppsm-fb { display: none !important; }
}

/* ---------- Halaman hub (Tentang PPSM, Keahlian, Wacana & Sumber) ---------- */
.ppsm-hub { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin: 24px 0; }
.ppsm-hub > .wp-block-group { background: #fff; border: 1px solid var(--ppsm-garis); border-top: 4px solid var(--ppsm-emerald); border-radius: var(--ppsm-radius); padding: 20px 22px !important; margin: 0 !important; box-shadow: var(--ppsm-shadow); }
.ppsm-hub h3 { margin: 0 0 6px; font-size: 18px; }
.ppsm-hub h3 a { color: var(--ppsm-emerald); text-decoration: none; }
.ppsm-hub h3 a:hover { text-decoration: underline; color: var(--ppsm-emas-gelap); }
.ppsm-hub p { margin: 0; color: var(--ppsm-teks-2); font-size: 15px; }
.ppsm-intro { font-size: 19px; line-height: 1.7; color: var(--ppsm-teks-2); max-width: 46em; }
.ppsm-archive-head { margin-bottom: 28px; } .ppsm-archive-head .page-title { margin: 0; }
