/* =============================================================================
   PAPTI Custom Theme — main.css
   Design tokens, global reset, typography, layout, header, footer,
   news grid, data tables, contact form, and responsive rules.

   All colour tokens match Phase 0 Visual Baseline exactly.
   No Bootstrap. No framework utility classes.
   ============================================================================= */

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ──────────────────────────────────────────────────────────── */
:root {
	/* Brand colours */
	--papti-primary:       #FF5B13;
	--papti-primary-dark:  #E04D0B;
	--papti-orange-bright: #F25A05;
	--papti-nav-bg:        #FF5B13;
	--papti-topbar-bg:     #F4F6F8;
	--papti-topbar-text:   #1A1A1A;

	/* Neutrals */
	--papti-dark-nav:      #FF5B13;
	--papti-dark-footer:   #272727;
	--papti-darker-footer: #1F1F1F;
	--papti-black:         #000000;
	--papti-text-dark:     #333333;
	--papti-text-muted:    #54595F;
	--papti-text-light:    #999999;
	--papti-border-light:  #E5E7EB;
	--papti-white:         #FFFFFF;

	/* Table shading */
	--papti-table-odd:     #E9E9E9;
	--papti-table-even:    #EFB28D;

	/* Layout */
	--container-max:       1140px;
	--container-fluid-px:  30px;
	--gutter:              30px;

	/* Typography */
	--font-heading: 'Exo', sans-serif;
	--font-body:    'Roboto', sans-serif;

	/* Header dimensions */
	--topbar-height:  42px;
	--navbar-height:  84px;
	--navbar-sticky:  70px;

	/* Transitions */
	--transition-fast: 0.2s ease;
	--transition-base: 0.35s ease;
	--transition-drawer: 0.35s cubic-bezier(0.77, 0, 0.175, 1);

	/* Z-indices */
	--z-header:   999;
	--z-drawer:   1000;
	--z-overlay:  998;
	--z-backtop:  995;
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL RESET & BASE
   ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.7;
	color: var(--papti-text-dark);
	background-color: var(--papti-white);
	-webkit-font-smoothing: antialiased;
}

img, video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover { color: var(--papti-primary); }

ul, ol { list-style: none; }

button {
	border: none;
	background: none;
	cursor: pointer;
	font-family: var(--font-body);
}

/* Focus outline — accessibility */
:focus-visible {
	outline: 3px solid var(--papti-primary);
	outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	line-height: 1.25;
	color: var(--papti-black);
}

h1 { font-size: 36px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
h5 { font-size: 16px; font-weight: 700; }
h6 { font-size: 14px; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────────────────────────
   LAYOUT HELPERS
   ──────────────────────────────────────────────────────────── */
.container {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: 15px;
}

.container-fluid {
	width: 100%;
	padding-inline: var(--container-fluid-px);
}

/* Spacing helpers used by widget wrappers */
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.pt-120 { padding-top: 120px; }
.pb-80  { padding-bottom: 80px; }

/* ─────────────────────────────────────────────────────────────
   HEADER — TOP BAR
   ──────────────────────────────────────────────────────────── */
.header-topbar {
	background-color: var(--papti-topbar-bg);
	height: var(--topbar-height);
	display: flex;
	align-items: center;
	position: relative;
	z-index: 2;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding-left: 420px;
	padding-right: 30px;
}

.header-topbar__left {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: nowrap;
}

.topbar-email,
.topbar-phone {
	font-size: 13px;
	font-weight: 500;
	color: var(--papti-topbar-text);
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
}

.topbar-phone { margin-left: 0; }

.topbar-email a,
.topbar-phone a {
	color: var(--papti-topbar-text);
	transition: color var(--transition-fast);
}

.topbar-email a:hover,
.topbar-phone a:hover {
	color: var(--papti-primary);
}

.topbar-email .fa-envelope,
.topbar-phone .fa-phone {
	margin-right: 7px;
	color: var(--papti-primary);
	font-size: 14px;
}

/* Topbar socials */
.topbar-socials {
	display: flex;
	align-items: center;
	gap: 6px;
}

.topbar-socials li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--papti-topbar-text);
	font-size: 13px;
	border-radius: 2px;
	transition: color var(--transition-fast);
}

.topbar-socials li a:hover {
	color: var(--papti-primary);
}

/* ─────────────────────────────────────────────────────────────
   HEADER — NAVIGATION BAR
   ──────────────────────────────────────────────────────────── */
.header-nav-wrap {
	background-color: var(--papti-nav-bg);
	position: relative;
	z-index: 10;
}

/* Diagonal white shape covering left area across entire header height */
.header-nav-wrap::before {
	content: "";
	position: absolute;
	background: #FFFFFF;
	height: 126px; /* Spans 42px topbar + 84px navbar */
	width: 410px;
	left: 0;
	bottom: 0;
	clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 100%, 0 100%);
	z-index: 5;
	pointer-events: none;
}

.header-nav {
	height: var(--navbar-height);
	display: flex;
	align-items: center;
	transition: box-shadow var(--transition-fast);
}

.header-nav__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
	position: relative;
	padding-inline: 0;
}

/* ── STICKY HEADER ──────────────────────────────────────────── */
.site-header.is-sticky .header-nav-wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: var(--z-header);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	animation: stickySlideDown var(--transition-base) forwards;
}

.site-header.is-sticky .header-nav-wrap::before {
	height: 100%;
	width: 320px;
	clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
}

.site-header.is-sticky .header-logo { width: 320px; }

.site-header.is-sticky .header-nav {
	height: var(--navbar-sticky);
}

@keyframes stickySlideDown {
	from { transform: translateY(-100%); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

/* Spacer injected by JS to prevent content jump when nav becomes fixed */
.sticky-spacer {
	height: var(--navbar-height);
	display: none;
}
.site-header.is-sticky ~ .sticky-spacer,
.site-header.is-sticky + #page-wrap .sticky-spacer {
	display: block;
}

/* ── LOGO ────────────────────────────────────────────────────── */
.header-logo {
	position: relative;
	z-index: 10;
	flex-shrink: 0;
	width: 410px;
	height: 100%;
	display: flex;
	align-items: center;
	padding-left: 20px;
}

.header-logo__link {
	display: inline-flex;
	align-items: center;
	max-height: 64px;
}

.header-logo__img {
	max-height: 62px;
	width: auto;
	max-width: 100%;
	display: block;
	object-fit: contain;
	transition: max-height var(--transition-fast);
}

.header-logo__img--sticky { display: none; }

/* In sticky state: scale logo slightly for compact bar */
.site-header.is-sticky .header-logo__img {
	max-height: 48px;
}

/* ── DESKTOP MENU ─────────────────────────────────────────────── */
.main-nav {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	height: 100%;
	margin-left: 0;
	flex: 1 1 auto;
}

.main-nav__list {
	display: flex;
	align-items: center;
	gap: 0;
	height: 100%;
}

.main-nav__list li {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
}

.main-nav__list > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 12px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--papti-white);
	white-space: nowrap;
	transition: background-color var(--transition-fast), opacity var(--transition-fast);
}

.main-nav__list > li > a:hover {
	background-color: rgba(0, 0, 0, 0.12);
	color: var(--papti-white);
}

.main-nav__list > li.current-menu-item > a,
.main-nav__list > li.current-menu-ancestor > a,
.main-nav__list > li.current-page-ancestor > a,
.main-nav__list > li.active > a {
	background-color: rgba(0, 0, 0, 0.18);
	color: var(--papti-white);
	font-weight: 700;
}

/* Dropdown */
.main-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #191919;
	border-top: 3px solid var(--papti-primary);
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
	z-index: calc(var(--z-header) + 1);
}

.main-nav__list li:hover > .sub-menu,
.main-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav__list .sub-menu li { display: block; height: auto; }

.main-nav__list .sub-menu a {
	display: block;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 500;
	color: #cccccc;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	transition: color var(--transition-fast), background var(--transition-fast);
}

.main-nav__list .sub-menu a:hover {
	color: var(--papti-white);
	background: rgba(255,91,19,0.25);
}

/* ── HAMBURGER BUTTON ─────────────────────────────────────────── */
.mobile-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--papti-white);
	font-size: 24px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.12);
	transition: background-color var(--transition-fast);
	cursor: pointer;
	margin-left: auto;
	margin-right: 15px;
	position: relative;
	z-index: 10;
}

.mobile-menu-toggle:hover {
	background: rgba(0, 0, 0, 0.25);
	color: var(--papti-white);
}

/* ─────────────────────────────────────────────────────────────
   MOBILE OFFCANVAS DRAWER
   ──────────────────────────────────────────────────────────── */
.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: 320px;
	max-width: 85vw;
	height: 100dvh;
	background: var(--papti-dark-nav);
	z-index: var(--z-drawer);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform var(--transition-drawer);
	padding: 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mobile-drawer[hidden] { display: none; }

.mobile-drawer.is-open {
	transform: translateX(0);
}

.mobile-drawer__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--papti-white);
	font-size: 20px;
	border-radius: 2px;
	transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-drawer__close:hover {
	color: var(--papti-primary);
	background: rgba(255,255,255,0.06);
}

.mobile-drawer__logo {
	margin-top: 8px;
}

.mobile-drawer__logo img { height: 48px; width: auto; }

/* Mobile menu list */
.mobile-drawer__menu {
	display: flex;
	flex-direction: column;
}

.mobile-drawer__menu li a {
	display: block;
	padding: 12px 4px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	color: var(--papti-white);
	border-bottom: 1px solid rgba(255,255,255,0.08);
	transition: color var(--transition-fast);
}

.mobile-drawer__menu li a:hover,
.mobile-drawer__menu li.current-menu-item > a {
	color: var(--papti-primary);
}

.mobile-drawer__menu .sub-menu {
	padding-left: 12px;
}

.mobile-drawer__menu .sub-menu a {
	font-size: 14px;
	color: #aaaaaa;
}

/* Drawer contact */
.drawer-contact {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.12);
}

.drawer-contact-title {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	color: var(--papti-primary);
	text-transform: uppercase;
	margin-bottom: 12px;
}

.drawer-contact ul li {
	font-size: 13px;
	color: #aaaaaa;
	margin-bottom: 8px;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.drawer-contact ul li .fa,
.drawer-contact ul li [class*="fa-"] {
	color: var(--papti-primary);
	margin-top: 3px;
	flex-shrink: 0;
}

.drawer-contact ul li a {
	color: #aaaaaa;
	transition: color var(--transition-fast);
}

.drawer-contact ul li a:hover { color: var(--papti-primary); }

/* Backdrop overlay */
.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.7);
	z-index: var(--z-overlay);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--transition-drawer);
}

.drawer-overlay.is-visible {
	opacity: 1;
	pointer-events: all;
}

/* ─────────────────────────────────────────────────────────────
   PAGE BANNER / HERO
   ──────────────────────────────────────────────────────────── */
.page-banner {
	position: relative;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	padding-top: 240px;
	padding-bottom: 120px;
	display: flex;
	align-items: center;
}

.page-banner__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.45);
}

.page-banner__title {
	position: relative;
	font-family: var(--font-heading);
	font-size: 38px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--papti-white);
	letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────────────────────
   PAGE BANNER — RESPONSIVE EXTENSION
   ──────────────────────────────────────────────────────────── */
.page-banner--responsive {
	background-image: var(--banner-desktop);
	background-size: cover;
	background-position: center center;
	padding-top: 280px;
	padding-bottom: 370px;
}

.page-banner--about {
	min-height: clamp(480px, 42.4vw, 646px);
	align-items: flex-end;
	padding: 0 0 32px;
	background-position: center top;
}

.page-banner--about .page-banner__overlay { display: none; }

.page-banner--about .page-banner__content { width: 100%; }

.page-banner--about .page-banner__title {
	margin: 0;
	color: var(--papti-orange-bright);
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1.15;
	text-shadow: none;
}

.page-banner--membership {
	min-height: 300px;
	align-items: center;
	padding: 0;
}

.page-banner--membership .page-banner__overlay { display: none; }

.page-banner--membership > .container {
	width: 100%;
	flex: 0 0 100%;
}

.page-banner--membership .page-banner__content {
	width: 100%;
	text-align: left;
}

.page-banner--membership .page-banner__title {
	margin: 0;
	color: var(--papti-orange-bright);
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1.15;
	text-shadow: none;
}

.page-banner--qna > .container {
	width: 100%;
	flex: 0 0 100%;
	text-align: center;
}

.page-banner--qna .page-banner__title {
	margin: 0;
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1.15;
}

.page-banner__subtitle {
	position: relative;
	font-family: var(--font-heading);
	font-size: 28px;
	font-weight: 700;
	color: var(--papti-white);
	text-shadow: 0 2px 6px rgba(0,0,0,0.6);
	margin-bottom: 0;
	text-align: center;
}

.generic-page-main {
	padding: 60px 0 80px;
}

.generic-page {
	max-width: 1140px;
	margin: 0 auto;
}

.generic-page__header {
	margin-bottom: 28px;
}

.generic-page__title {
	color: var(--papti-primary);
}

.generic-page__content {
	color: var(--papti-text-dark);
}

.generic-page__content :is(h2, h3, h4, h5, h6) {
	margin: 28px 0 12px;
}

.generic-page__content :is(p, ul, ol, blockquote, figure, table) {
	margin-bottom: 18px;
}

.generic-page__content :is(ul, ol) {
	padding-left: 24px;
	list-style: revert;
}

.generic-page__content img,
.generic-page__content iframe {
	max-width: 100%;
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE (PHASE 2A)
   ──────────────────────────────────────────────────────────── */
.home-hero {
	position: relative;
	display: block;
	width: 100%;
	line-height: 0;
	overflow: hidden;
}

.home-hero__title {
	position: absolute;
	left: max(30px, calc((100% - var(--container-max)) / 2));
	bottom: 8%;
	max-width: min(720px, 80%);
	margin: 0;
	padding: 12px 18px;
	background: rgba(39, 39, 39, 0.78);
	color: var(--papti-white);
	font-family: var(--font-heading);
	font-size: clamp(28px, 4vw, 54px);
	font-weight: 800;
	line-height: 1.15;
}

.home-hero__picture {
	display: block;
	width: 100%;
}

.home-hero__img {
	display: block;
	width: 100%;
	height: auto;
}

.home-partners {
	padding: 40px 0 50px 0;
	background-color: var(--papti-white);
}

.home-partners__title {
	font-family: 'Roboto', sans-serif;
	font-size: 45px;
	font-weight: 600;
	color: #222222;
	margin-bottom: 40px;
	text-align: center;
}

.home-partners__grid {
	display: grid;
	align-items: center;
	justify-items: center;
	margin-bottom: 30px;
}

.home-partners__grid--row1,
.home-partners__grid--row2 {
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.home-partners__grid--academic {
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin-bottom: 0;
}

.home-partners__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.home-partners__item img {
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.partner-logo--mandiri img,
.partner-logo--trimegah img {
	width: 80%;
}

.home-native-content {
	padding: 40px 0;
}

/* ─────────────────────────────────────────────────────────────
   TENTANG KAMI (PHASE 2A)
   ──────────────────────────────────────────────────────────── */
.tentang-profile {
	position: relative;
	background-color: #E4E4E4;
	padding: 60px 0 50px 0;
	color: #000000;
	overflow: hidden;
}

.tentang-profile::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--tentang-profile-bg);
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.16;
	pointer-events: none;
}

@media (min-width: 1025px) {
	.tentang-profile::before {
		background-attachment: fixed;
	}
}

.tentang-profile .container {
	position: relative;
	z-index: 1;
}

.tentang-profile__inner {
	max-width: 900px;
	margin: 0 auto;
	font-family: 'Roboto', var(--font-body);
	font-size: 16px;
	line-height: 1.8;
}

.tentang-profile__inner p {
	color: #000000;
	margin-bottom: 20px;
}

.tentang-profile__tagline {
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 24px;
}

.tentang-profile__signoff {
	margin-top: 30px;
	font-size: 17px;
	line-height: 1.5;
}

.tentang-vision-mission {
	background-color: #ED600E;
	padding: 60px 0;
}

.tentang-card {
	border-radius: 10px;
	max-width: 750px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.tentang-card--white {
	background-color: #FFFFFF;
	padding: 40px 60px 50px 60px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tentang-vision {
	font-family: 'Roboto', var(--font-body);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.5;
	color: #555555;
	text-align: center;
	margin-bottom: 30px;
}

.tentang-mission {
	font-family: 'Roboto', var(--font-body);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.6;
	color: #555555;
}

.tentang-mission p {
	margin-bottom: 0;
	color: #555555;
}

.tentang-ethics-mars {
	position: relative;
	background-color: #E9E9E9;
	padding: 50px 0 60px 0;
	overflow: hidden;
}

.tentang-ethics-mars::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--tentang-ethics-bg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.15;
	pointer-events: none;
}

@media (min-width: 1025px) {
	.tentang-ethics-mars::before {
		background-attachment: fixed;
	}
}

.tentang-ethics-mars .container {
	position: relative;
	z-index: 1;
}

.tentang-card--orange {
	background-color: #ED600E;
	padding: 40px 50px 50px 50px;
	margin-bottom: 50px;
	color: #FFFFFF;
	box-shadow: 0 4px 15px rgba(237,96,14,0.15);
}

.tentang-ethics__intro {
	font-family: 'Roboto', var(--font-body);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 24px;
	color: #FFFFFF;
}

.tentang-ethics__list {
	padding-left: 28px;
	font-family: 'Roboto', var(--font-body);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.6;
	color: #FFFFFF;
}

.tentang-ethics__list li {
	margin-bottom: 20px;
	color: #FFFFFF;
}

.tentang-mars {
	text-align: center;
}

.tentang-mars__lyrics {
	font-family: 'Roboto', var(--font-body);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.6;
	color: #FFFFFF;
}

.tentang-mars__lyrics p {
	margin-bottom: 24px;
	color: #FFFFFF;
}

.tentang-mars__reff {
	font-weight: 500;
}

.tentang-mars__author {
	margin-top: 30px;
	font-weight: 600;
}

.tentang-download {
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.btn-mars-download {
	display: inline-block;
	background-color: #ED600E;
	color: #FFFFFF;
	font-family: 'Roboto', var(--font-body);
	font-size: 16px;
	font-weight: 700;
	padding: 14px 40px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
	box-shadow: 0 4px 12px rgba(237,96,14,0.35);
}

.btn-mars-download:hover {
	background-color: #C84F0A;
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(237,96,14,0.45);
}

/* ─────────────────────────────────────────────────────────────
   MEMBERSHIP (PHASE 2B)
   ──────────────────────────────────────────────────────────── */
.membership-pengurus-section {
	background-color: #ED600E;
	padding-bottom: 80px;
}

.membership-chart-section {
	padding: 50px 0;
	background-color: var(--papti-white);
}

.membership-chart-wrap {
	max-width: 100%;
	text-align: center;
}

.membership-chart-img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 4px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.membership-komisariat-section {
	padding: 40px 0;
	background-color: var(--papti-white);
}

.membership-disiplin-section {
	padding: 20px 0 60px 0;
	margin-bottom: 40px;
	background-color: var(--papti-white);
}

.membership-registration-note {
	margin-top: 24px;
	font-family: 'Roboto', var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: #333333;
	padding: 16px 20px;
	background-color: #F8F9FA;
	border-left: 4px solid #ED600E;
	border-radius: 0 4px 4px 0;
}

.membership-registration-note ol {
	margin: 0;
	padding-left: 20px;
}

.membership-registration-note a {
	color: #ED600E;
	font-weight: 700;
	text-decoration: underline;
	transition: color var(--transition-fast);
}

.membership-registration-note a:hover {
	color: #C84F0A;
}

/* ─────────────────────────────────────────────────────────────
   PROGRAM & AGENDA / MATRA
   ──────────────────────────────────────────────────────────── */
.program-agenda-banner {
	position: relative;
	width: 100%;
	height: clamp(280px, 22.2vw, 340px);
	overflow: hidden;
}

.program-agenda-banner__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.program-agenda-banner__content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	height: 100%;
}

.program-agenda-banner__content > .container {
	width: 100%;
	flex: 0 0 100%;
}

.program-agenda-banner__title {
	margin: 0;
	color: var(--papti-orange-bright);
	font-family: var(--font-heading);
	font-size: clamp(30px, 3vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
}

.program-agenda-main {
	padding: 34px 0 48px;
}

.matra-banner {
	min-height: 0;
	padding-top: 100px;
	padding-bottom: 100px;
	background-image: var(--banner-desktop);
	background-position: center 42%;
}

.matra-banner .container {
	position: relative;
	z-index: 1;
	width: 100%;
	text-align: center;
}

.matra-banner__title {
	margin: 0;
	color: var(--papti-white);
	font-family: var(--font-heading);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.matra-main {
	padding-bottom: 56px;
}

.matra-agenda-section {
	padding: 34px 0 24px;
}

.matra-courses-section {
	padding: 24px 0 48px;
}

.matra-courses-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-template-areas:
		"matra1 matra1 matra1 matra1 download download"
		"matra2 matra2 matra2 matra3 matra3 matra3";
	align-items: stretch;
	gap: 28px 22px;
}

.matra-course-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px 26px;
	border-radius: 20px;
	background: #ED600F;
	color: var(--papti-white);
}

.matra-course-card--matra_1 { grid-area: matra1; }
.matra-course-card--matra_2 { grid-area: matra2; }
.matra-course-card--matra_3 { grid-area: matra3; }

.matra-course-card h3,
.matra-course-card h4,
.matra-course-card li,
.matra-course-card p {
	color: inherit;
}

.matra-course-card h3 {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 800;
}

.matra-course-card__content {
	flex: 1 1 auto;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.55;
	white-space: normal;
}

.matra-course-card__button,
.matra-download-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 24px;
	padding: 10px 24px;
	border: 0;
	border-radius: 4px;
	background: #FFFFFF;
	color: #222222;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.matra-course-card__button:hover,
.matra-course-card__button:focus-visible,
.matra-download-card__button[href]:hover,
.matra-download-card__button[href]:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.matra-download-card {
	display: flex;
	grid-area: download;
	align-items: flex-start;
}

.matra-download-card__button {
	margin-top: 0;
	background: #ED600F;
	color: #FFFFFF;
}

.matra-download-card__button.is-disabled {
	opacity: 0.62;
	cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────
   NATIVE GALLERY + LIGHTBOX
   ──────────────────────────────────────────────────────────── */
.gallery-banner {
	min-height: 340px;
	padding: 0;
	background-image: var(--banner-desktop);
	background-position: center 38%;
}

.gallery-banner .page-banner__overlay { background: rgba(0, 0, 0, 0.25); }

.gallery-banner > .container {
	position: relative;
	z-index: 1;
	width: 100%;
	flex: 0 0 100%;
	text-align: center;
}

.gallery-banner__title {
	margin: 0;
	color: var(--papti-white);
	font-family: var(--font-heading);
	font-size: clamp(30px, 3vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
}

.gallery-main {
	padding: 42px 0 64px;
}

.papti-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 15px;
}

.papti-gallery-item {
	min-width: 0;
	margin: 0;
	background: var(--papti-white);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.papti-gallery-item__link {
	display: block;
	overflow: hidden;
	 aspect-ratio: 16 / 10;
	background: #EEEEEE;
}

.papti-gallery-item__link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.papti-gallery-item__link:hover img,
.papti-gallery-item__link:focus-visible img {
	transform: scale(1.04);
}

.papti-gallery-item__caption {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.45;
}

.papti-gallery-item__caption strong {
	font-size: 14px;
}

.papti-lightbox[hidden] {
	display: none;
}

.papti-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 52px;
	grid-template-rows: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 56px 24px 24px;
	background: rgba(0, 0, 0, 0.94);
}

.papti-lightbox__image {
	grid-column: 2;
	grid-row: 1;
	max-width: 100%;
	max-height: calc(100vh - 150px);
	justify-self: center;
	object-fit: contain;
}

.papti-lightbox__caption {
	grid-column: 2;
	grid-row: 2;
	margin: 0;
	color: #FFFFFF;
	text-align: center;
}

.papti-lightbox__close,
.papti-lightbox__previous,
.papti-lightbox__next {
	border: 0;
	color: #FFFFFF;
	background: transparent;
	cursor: pointer;
}

.papti-lightbox__close {
	position: absolute;
	top: 8px;
	right: 18px;
	font-size: 40px;
}

.papti-lightbox__previous,
.papti-lightbox__next {
	grid-row: 1;
	font-size: 48px;
}

.papti-lightbox__previous { grid-column: 1; }
.papti-lightbox__next { grid-column: 3; }

.papti-lightbox-open { overflow: hidden; }

.news-banner {
	min-height: 200px;
	padding-top: 100px;
	padding-bottom: 100px;
	background-image: var(--banner-desktop);
	background-position: center 38%;
}

.news-banner > .container {
	position: relative;
	z-index: 1;
	width: 100%;
	flex: 0 0 100%;
	text-align: center;
}

.news-banner__title {
	margin: 0;
	color: var(--papti-white);
	font-family: var(--font-heading);
	font-size: clamp(30px, 3vw, 44px);
	font-weight: 800;
	line-height: 1.15;
}

.news-archive-main {
	padding: 42px 0 64px;
}

.news-filters {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 30px;
}

.news-filter {
	display: inline-block;
	padding: 9px 20px;
	border: 1px solid var(--papti-border-light);
	border-radius: 3px;
	color: var(--papti-text-dark);
	font-weight: 600;
}

.news-filter:hover,
.news-filter.is-active {
	border-color: var(--papti-primary);
	background: var(--papti-primary);
	color: var(--papti-white);
}


/* ─────────────────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────────────────── */
.site-footer {
	background-color: var(--papti-dark-footer);
	color: var(--papti-white);
}

/* Widget columns */
.footer-widgets {
	padding: 80px 0 50px;
}

.footer-widgets__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gutter);
	align-items: start;
}

/* Footer widget item container */
.footer-widget {
	margin-bottom: 35px;
}

.footer-widget:last-child {
	margin-bottom: 0;
}

/* Footer widget title */
.footer-widget .footer-title,
.footer-widget h4.footer-title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--papti-white);
	text-transform: uppercase;
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--papti-primary);
	display: inline-block;
	letter-spacing: 0.5px;
}

/* Common footer widget text */
.footer-widget p,
.footer-widget li,
.footer-widget a {
	font-size: 14px;
	color: #bdbdbd;
	line-height: 1.7;
}

.footer-widget a:hover { color: var(--papti-primary); }

/* Navigation menu widget in footer */
.footer-widget .menu li {
	padding: 5px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-widget .menu li:last-child {
	border-bottom: none;
}

.footer-widget .menu li a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #bdbdbd;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-widget .menu li a::before {
	content: "\f105";
	font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 11px;
	color: var(--papti-primary);
	transition: transform var(--transition-fast);
}

.footer-widget .menu li a:hover {
	color: var(--papti-primary);
	padding-left: 5px;
}

/* Custom HTML widget */
.footer-widget .textwidget p {
	color: #bdbdbd;
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 0;
}

/* WP Statistics widget */
.widget_wp_statistics_widget ul {
	margin: 0;
	padding: 0;
}

.widget_wp_statistics_widget ul li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 14px;
	color: #bdbdbd;
}

.widget_wp_statistics_widget ul li:last-child {
	border-bottom: none;
}

.widget_wp_statistics_widget label {
	color: #e0e0e0;
	font-weight: 500;
	margin: 0;
}

/* Media image widget */
.footer-widget img,
.footer-widget .image img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

/* Copyright bar */
.footer-copyright {
	background-color: var(--papti-darker-footer);
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copyright__text {
	text-align: center;
	font-size: 13px;
	color: #999999;
	margin: 0;
	line-height: 1.6;
}

.footer-copyright__text a {
	color: var(--papti-primary);
	text-decoration: none;
	transition: opacity var(--transition-fast);
}

.footer-copyright__text a:hover { opacity: 0.8; }

/* ─────────────────────────────────────────────────────────────
   PAPTI LATEST POSTS WIDGET
   ──────────────────────────────────────────────────────────── */
.papti-latest-posts-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.papti-lp-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.papti-lp-thumb {
	flex-shrink: 0;
	display: block;
	width: 60px;
	height: 60px;
	border-radius: 4px;
	overflow: hidden;
}

.papti-lp-thumb img {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

.papti-lp-no-thumb {
	background: rgba(255,255,255,0.08);
}

.papti-lp-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.papti-lp-date {
	font-size: 12px;
	color: #999999;
}

.papti-lp-date .fa,
.papti-lp-date [class*="fa-"] { margin-right: 4px; color: var(--papti-primary); }

.papti-lp-title {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: #cccccc;
	line-height: 1.45;
	transition: color var(--transition-fast);
}

.papti-lp-title:hover { color: var(--papti-primary); }

/* Legacy BildPress Recent Posts Footer Widget (.recent-posts-footer) */
.recent-posts-footer .widget-post-list {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 14px;
}

.recent-posts-footer .widget-post-list:last-child {
	margin-bottom: 0;
}

.recent-posts-footer .widget-posts-image {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	overflow: hidden;
}

.recent-posts-footer .widget-posts-image img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	display: block;
}

.recent-posts-footer .widget-posts-body {
	flex: 1;
	min-width: 0;
}

.recent-posts-footer .widget-posts-meta {
	font-size: 12px;
	color: #a4a4a4;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.recent-posts-footer .widget-posts-meta i {
	color: var(--papti-primary);
	font-size: 13px;
}

.recent-posts-footer .widget-posts-title {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
}

.recent-posts-footer .widget-posts-title a {
	color: var(--papti-white);
	transition: color var(--transition-fast);
}

.recent-posts-footer .widget-posts-title a:hover {
	color: var(--papti-primary);
}

/* ─────────────────────────────────────────────────────────────
   NEWS CARD GRID (page-news.php, index.php)
   ──────────────────────────────────────────────────────────── */
.news-grid,
.blog-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gutter);
}

.news-card {
	background: var(--papti-white);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	display: flex;
	flex-direction: column;
	transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.news-card:hover {
	box-shadow: 0 8px 28px rgba(0,0,0,0.12);
	transform: translateY(-3px);
}

.news-card__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16/9;
}

.news-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.news-card:hover .news-card__thumb img { transform: scale(1.04); }

.news-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.news-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.news-card__cat {
	display: inline-block;
	background: var(--papti-primary);
	color: var(--papti-white);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 8px;
	border-radius: 2px;
}

.news-card__date {
	font-size: 13px;
	color: #7A7A7A;
}

.news-card__date .fa,
.news-card__date [class*="fa-"] { margin-right: 4px; }

.news-card__title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.news-card__title a {
	color: var(--papti-dark-nav);
	transition: color var(--transition-fast);
}

.news-card__title a:hover { color: var(--papti-primary); }

.news-card__excerpt {
	font-size: 14px;
	color: var(--papti-text-muted);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--papti-primary);
	margin-top: auto;
	padding-top: 4px;
	transition: gap var(--transition-fast);
}

.news-card__more:hover { gap: 10px; color: var(--papti-primary-dark); }

/* ─────────────────────────────────────────────────────────────
   BLOG SINGLE ARTICLE
   ──────────────────────────────────────────────────────────── */
.has-sidebar {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: start;
}

.blog-posts.has-sidebar {
	grid-template-columns: 1fr;
}

.blog-sidebar .widget { margin-bottom: 40px; }

.blog-sidebar .widget-title-box { margin-bottom: 20px; }

.blog-sidebar .widget-title {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--papti-black);
	padding-bottom: 8px;
	border-bottom: 2px solid var(--papti-primary);
	display: inline-block;
}

/* Single post content */
.blog-post-items article { max-width: 100%; }

.blog-post-items { min-width: 0; }

.blog-details-text .featured-image {
	width: 100%;
	border-radius: 4px;
	margin-bottom: 24px;
}

.blog-details-text .entry-title {
	font-size: 30px;
	font-weight: 800;
	margin-bottom: 12px;
}

.blog-details-text .entry-meta {
	display: flex;
	gap: 16px;
	font-size: 13px;
	color: var(--papti-text-muted);
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.blog-details-text .entry-content {
	font-size: 16px;
	line-height: 1.8;
}

.blog-details-text .entry-content h2,
.blog-details-text .entry-content h3 { margin: 24px 0 12px; }

.blog-details-text .entry-content p { margin-bottom: 1.2rem; }

.blog-details-text .entry-content img { border-radius: 4px; margin: 16px 0; }

/* Post navigation */
.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 0;
	border-top: 1px solid var(--papti-border-light);
	margin-top: 32px;
}

.article-qna-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 34px;
	padding: 30px 32px;
	border: 1px solid var(--papti-border-light);
	border-left: 4px solid var(--papti-primary);
	border-radius: 4px;
	background: linear-gradient(115deg, #fff7f2 0%, #fff 72%);
}

.article-qna-cta__content { max-width: 680px; }

.article-qna-cta__eyebrow {
	margin-bottom: 5px;
	color: var(--papti-primary-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
}

.article-qna-cta h2 {
	margin: 0 0 7px;
	color: var(--papti-black);
	font-family: var(--font-heading);
	font-size: 22px;
	line-height: 1.3;
}

.article-qna-cta__content > p:last-child {
	margin: 0;
	color: var(--papti-text-muted);
	font-size: 14px;
	line-height: 1.65;
}

.article-qna-cta__button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 3px;
	background: var(--papti-primary);
	color: var(--papti-white);
	font-size: 13px;
	font-weight: 700;
	transition: background var(--transition-fast), transform var(--transition-fast);
}

.article-qna-cta__button:hover,
.article-qna-cta__button:focus-visible {
	transform: translateY(-1px);
	background: var(--papti-primary-dark);
	color: var(--papti-white);
}

.article-qna-cta__button:focus-visible {
	outline: 3px solid rgba(255, 91, 19, .3);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.article-qna-cta {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		padding: 24px 20px;
	}

	.article-qna-cta h2 { font-size: 20px; }
}

/* Pagination */
.pagination {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.pagination ul {
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
}

.pagination ul li a,
.pagination ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--papti-border-light);
	color: var(--papti-text-dark);
	font-size: 14px;
	font-weight: 600;
	border-radius: 2px;
	transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.pagination ul li a:hover {
	background: var(--papti-primary);
	color: var(--papti-white);
	border-color: var(--papti-primary);
}

.pagination ul li.active span,
.pagination ul li span.current {
	background: var(--papti-primary);
	border-color: var(--papti-primary);
	color: var(--papti-white);
}

/* ─────────────────────────────────────────────────────────────
   PAPTI DATA MANAGER TABLES
   Matches class names output by papti-data-manager.php.
   No broad overrides — only namespaced selectors.
   ──────────────────────────────────────────────────────────── */
.papti-table-wrap {
	width: 100%;
	overflow-x: auto;
	margin: 24px 0;
}

.papti-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.45;
	font-family: var(--font-body);
}

.papti-table th {
	background: var(--papti-orange-bright);
	color: var(--papti-white);
	font-weight: 700;
	text-align: center;
	padding: 12px 10px;
	border: 1px solid var(--papti-text-dark);
}

.papti-table td {
	padding: 10px 12px;
	border: 1px solid #555555;
	color: #111111;
	vertical-align: top;
}

/* Row #1 (No.) */
.papti-table td:first-child {
	width: 56px;
	text-align: center;
	font-weight: 700;
}

/* Alternating rows */
.papti-table tbody tr:nth-child(odd) td {
	background-color: var(--papti-table-odd);
}

.papti-table tbody tr:nth-child(even) td {
	background-color: var(--papti-table-even);
}

/* Total row */
.papti-table .papti-total-row td {
	background-color: var(--papti-table-odd) !important;
	font-weight: 700;
}

/* Footnote */
.papti-note {
	margin: 18px 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--papti-text-dark);
}

/* ─────────────────────────────────────────────────────────────
   PAPTI PENGURUS (Orange Org Block)
   ──────────────────────────────────────────────────────────── */
.papti-org-wrap {
	background-color: var(--papti-primary);
	color: var(--papti-white);
	padding: 42px 7%;
	font-size: 16px;
	line-height: 1.35;
}

.papti-org-section h2 {
	color: var(--papti-white) !important;
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 24px;
}

.papti-org-row {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
	gap: 32px;
	align-items: start;
	margin-bottom: 9px;
}

.papti-org-role {
	min-width: 180px;
	display: inline-block;
	font-weight: 600;
}

.papti-org-name { font-weight: 600; }

.papti-org-skill {
	color: var(--papti-white);
	opacity: 0.95;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT / QNA FORM
   ──────────────────────────────────────────────────────────── */
.contact-form-wrap {
	max-width: 780px;
	margin: 60px auto;
}

.qna-form-wrap {
	max-width: 780px;
	padding: 38px 42px;
	background: var(--papti-white);
	border: 1px solid #E5E7EB;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.qna-form-title {
	margin: 0 0 10px;
	color: var(--papti-dark);
	font-size: 28px;
}

.qna-form-intro {
	margin: 0 0 28px;
	color: #666666;
}

.qna-form-field {
	margin-bottom: 20px;
}

.qna-form-field .required {
	color: var(--papti-primary);
}

.qna-input,
.qna-textarea {
	box-sizing: border-box;
}

.qna-textarea {
	min-height: 140px;
}

.qna-form-submit {
	margin-top: 24px;
}

.qna-form-notice {
	padding: 16px 20px;
	background: #FFF5EF;
	border-left: 3px solid var(--papti-primary);
}

@media (max-width: 767px) {
	.qna-form-wrap {
		padding: 28px 20px;
		margin: 36px auto;
	}

	.qna-form-title {
		font-size: 24px;
	}
}

.wpcf7 label,
.papti-form label {
	display: block;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--papti-primary);
	margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.papti-form input,
.papti-form textarea {
	width: 100%;
	padding: 0 16px;
	height: 48px;
	border: 1px solid #D1D5DB;
	border-radius: 4px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	color: #111111;
	background: var(--papti-white);
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.wpcf7 textarea,
.papti-form textarea {
	height: 140px;
	padding-top: 14px;
	resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.papti-form input:focus,
.papti-form textarea:focus {
	outline: none;
	border-color: var(--papti-primary);
	box-shadow: 0 0 0 3px rgba(237,96,14,0.15);
}

.wpcf7-form p { margin-bottom: 20px; }

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit,
.papti-form button[type="submit"] {
	height: auto;
	padding: 14px 38px;
	background: var(--papti-primary);
	color: var(--papti-white);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background var(--transition-fast), transform var(--transition-fast);
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover,
.papti-form button[type="submit"]:hover {
	background: var(--papti-primary-dark);
	transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────
   SIDEBAR SEARCH FORM
   ──────────────────────────────────────────────────────────── */
.sidebar-form { margin-bottom: 0; }

.sidebar-search-form {
	display: flex;
	border: 1px solid var(--papti-border-light);
	border-radius: 4px;
	overflow: hidden;
}

.sidebar-search-form input[type="search"] {
	flex: 1;
	height: 44px;
	padding: 0 14px;
	border: none;
	font-size: 14px;
	color: var(--papti-text-dark);
	background: var(--papti-white);
}

.sidebar-search-form input[type="search"]:focus {
	outline: none;
	box-shadow: none;
}

.sidebar-search-form button {
	width: 44px;
	height: 44px;
	background: var(--papti-primary);
	color: var(--papti-white);
	font-size: 15px;
	flex-shrink: 0;
	transition: background var(--transition-fast);
}

.sidebar-search-form button:hover { background: var(--papti-primary-dark); }

/* ─────────────────────────────────────────────────────────────
   BACK TO TOP
   ──────────────────────────────────────────────────────────── */
.progress-wrap {
	position: fixed;
	right: 30px;
	bottom: 30px;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: var(--papti-dark-nav);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: var(--z-backtop);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
}

.progress-wrap.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.progress-wrap:hover { background: var(--papti-primary); }

.progress-wrap .fa,
.progress-wrap [class*="fa-"] {
	color: var(--papti-white);
	font-size: 14px;
	position: relative;
	z-index: 1;
}

.progress-wrap .progress-circle {
	position: absolute;
	inset: 0;
	transform: rotate(-90deg);
}

.progress-wrap .progress-circle path {
	fill: none;
	stroke: var(--papti-primary);
	stroke-width: 4;
	stroke-dasharray: 307.9; /* 2π × 49 */
	stroke-dashoffset: 307.9;
	transition: stroke-dashoffset 0.08s linear;
}

/* ─────────────────────────────────────────────────────────────
   NO-POSTS FALLBACK
   ──────────────────────────────────────────────────────────── */
.no-posts-found {
	text-align: center;
	padding: 60px 20px;
}

.no-posts-found h2 { font-size: 24px; margin-bottom: 12px; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ──────────────────────────────────────────────────────────── */

/* ── Laptop / Tablet Landscape (992px – 1199px) ──────────────── */
@media (max-width: 1199px) {
	.container { max-width: 960px; }
	.header-nav-wrap::before {
		width: 340px;
		clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
	}
	.header-topbar__inner {
		padding-left: 330px;
	}
	.header-logo {
		width: 340px;
		padding-left: 15px;
	}
	.site-header.is-sticky .header-logo { width: 320px; }
	.header-logo__img {
		max-height: 56px;
	}
	.main-nav {
		margin-left: 0;
	}
	.main-nav__list > li > a {
		padding: 0 4px;
		font-size: 13px;
	}
}

@media (min-width: 1200px) and (max-width: 1279px) {
	.main-nav__list > li > a { padding-inline: 7px; }
}

/* ── Tablet — Nav switches to hamburger (≤ 1024px) */
@media (max-width: 1024px) {
	.main-nav { display: none; }
	.mobile-menu-toggle { display: flex; }

	.header-nav-wrap::before {
		width: 270px;
		height: 100%;
		clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
	}
	.header-nav { height: 72px; }
	.header-topbar { height: 38px; }
	.header-topbar__inner {
		padding-left: 265px;
		padding-right: 15px;
	}
	.header-logo {
		width: 215px;
		padding-left: 12px;
	}
	.header-logo__img {
		max-height: 50px;
	}

	.footer-widgets__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}

	.news-grid,
	.blog-posts {
		grid-template-columns: repeat(2, 1fr);
	}

	.has-sidebar {
		grid-template-columns: 1fr;
	}

	.blog-sidebar { margin-top: 40px; }

	.papti-org-wrap { padding: 28px 20px; }

	.papti-org-section h2 { font-size: 23px; }

	.matra-courses-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ── Mobile Phone (< 768px) ─────────────────────────────────── */
@media (max-width: 767px) {
	h1 { font-size: 28px; }
	h2 { font-size: 23px; }
	h3 { font-size: 19px; }
	h4 { font-size: 16px; }

	.gallery-banner { min-height: 280px; }
	.gallery-banner__title { font-size: clamp(24px, 7vw, 34px); }
	.gallery-banner,
	.news-banner,
	.matra-banner { background-image: var(--banner-mobile) !important; }
	.home-hero__title { left: 15px; bottom: 6%; max-width: calc(100% - 30px); font-size: clamp(24px, 7vw, 36px); }

	.program-agenda-banner { height: 240px; }
	.program-agenda-banner__image { object-position: left top; }
	.program-agenda-banner__title { font-size: clamp(24px, 6vw, 32px); }

	.container-fluid { padding-inline: 15px; }

	/* Header mobile styling */
	.header-topbar { height: 36px; }
	.topbar-email { display: none; }
	.header-topbar__inner {
		padding-left: 210px;
		padding-right: 12px;
		font-size: 12px;
	}
	.topbar-phone { margin-left: 0; }
	.header-nav-wrap::before {
		width: 205px;
		height: 100%;
		clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
	}
	.header-nav { height: 64px; }
	.header-logo {
		width: 170px;
		padding-left: 10px;
	}
	.header-logo__img {
		max-height: 42px;
	}
	.mobile-menu-toggle {
		width: 38px;
		height: 38px;
		font-size: 20px;
		margin-right: 8px;
	}

	.page-banner {
		padding-top: 160px;
		padding-bottom: 60px;
	}

	.matra-banner {
		padding-top: 100px;
		padding-bottom: 100px;
	}

	.matra-courses-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "matra1" "download" "matra2" "matra3";
	}

	.matra-course-card { padding: 22px 18px; }
	.matra-download-card { align-items: flex-start; }

	.papti-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

	.papti-lightbox {
		grid-template-columns: 36px minmax(0, 1fr) 36px;
		gap: 4px;
		padding: 56px 10px 18px;
	}

	.papti-lightbox__previous,
	.papti-lightbox__next { font-size: 34px; }

	.news-filters { gap: 6px; margin-bottom: 20px; }

	.news-filter { padding: 8px 14px; font-size: 14px; }

	.page-banner__title { font-size: 24px; }

	.news-grid,
	.blog-posts { grid-template-columns: 1fr; }

	.footer-widgets__grid { grid-template-columns: 1fr; gap: 24px; }

	/* Data tables → card layout */
	.papti-table-wrap { overflow: visible; }

	.papti-table,
	.papti-table tbody,
	.papti-table tr,
	.papti-table td {
		display: block;
	}

	.papti-table thead { display: none; }

	.papti-table tbody tr {
		margin-bottom: 14px;
		border: 1px solid #DDDDDD;
		background: var(--papti-white) !important;
		border-radius: 4px;
		box-shadow: 0 2px 4px rgba(0,0,0,0.04);
	}

	.papti-table tbody td {
		display: flex;
		gap: 12px;
		border: none;
		border-bottom: 1px solid #EEEEEE;
		padding: 8px 12px;
		text-align: left;
		background: transparent !important;
	}

	.papti-table tbody td::before {
		content: attr(data-label);
		flex: 0 0 120px;
		font-weight: 700;
		color: var(--papti-orange-bright);
	}

	/* Org block mobile */
	.papti-org-row {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 12px 0;
		border-bottom: 1px solid rgba(255,255,255,0.22);
	}

	/* Contact form full-width */
	.contact-form-wrap { margin: 30px auto; padding: 0 15px; }

	/* Homepage & Tentang Kami mobile rules (Phase 2A) */
	.home-partners {
		padding: 30px 0 40px 0;
	}

	.home-partners__title {
		font-size: 30px;
		margin-bottom: 24px;
	}

	.home-partners__grid--row1,
	.home-partners__grid--row2 {
		grid-template-columns: repeat(4, 1fr);
		gap: 6px;
		margin-bottom: 16px;
	}

	.home-partners__grid--academic {
		grid-template-columns: repeat(5, 1fr);
		gap: 4px;
	}

	.page-banner--responsive {
		background-image: var(--banner-mobile) !important;
		padding-top: 270px;
		padding-bottom: 100px;
		min-height: 300px;
	}

	.page-banner--responsive.page-banner--about {
		min-height: clamp(620px, 177.78vw, 800px);
		align-items: flex-end;
		padding: 0 0 32px;
		background-position: center top;
		text-align: center;
	}

	.page-banner--about .page-banner__content { text-align: center; }

	.page-banner--about .page-banner__title { font-size: clamp(24px, 7vw, 32px); }

	.page-banner__subtitle {
		font-size: 20px;
	}

	.tentang-profile {
		padding: 40px 0 30px 0;
	}

	.tentang-ethics-mars {
		padding: 40px 0 50px 0;
	}

	.tentang-card--white,
	.tentang-card--orange {
		width: 90%;
		padding: 24px 16px;
	}

	.tentang-vision {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.tentang-mission,
	.tentang-ethics__intro,
	.tentang-ethics__list,
	.tentang-mars__lyrics {
		font-size: 18px;
		line-height: 1.5;
	}

	.tentang-ethics__list {
		padding-left: 20px;
	}

	/* Membership mobile rules (Phase 2B) */
	.page-banner--membership {
		min-height: clamp(360px, 100vw, 480px);
		padding: 0;
	}

	.page-banner--membership .page-banner__title { font-size: clamp(24px, 7vw, 32px); }

	.membership-pengurus-section {
		padding-bottom: 40px;
	}

	.membership-chart-section {
		padding: 30px 0;
	}

	.membership-registration-note {
		font-size: 14px;
		padding: 12px 14px;
	}
}

/* ── Small Mobile (< 480px) ─────────────────────────────────── */
@media (max-width: 479px) {
	.container { padding-inline: 12px; }
	.container-fluid { padding-inline: 12px; }

	.header-topbar__inner {
		padding-left: 195px;
		padding-right: 8px;
	}
	.topbar-phone {
		font-size: 11px;
	}
	.header-nav-wrap::before {
		width: 190px;
		clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
	}
	.header-logo {
		width: 155px;
		padding-left: 8px;
	}
	.header-logo__img {
		max-height: 38px;
	}

	.page-banner__title { font-size: 20px; }
	.news-card__title { font-size: 16px; }
	.footer-copyright__text { font-size: 12px; }
}
