/**
 * Packuni base theme — global styles.
 * Shell: .pk-page-header, .pk-page-footer, .pk-page-breadcrumb
 * Widgets: .pk-widget-* (plugin). Elementor sections: .pk-page-* (EMCP).
 */

:root {
	--pk-font-size-small: 14px;
	--pk-line-small: 22px;
	--pk-font-size-nav: 13px;
	--pk-line-nav: 16px;
	--pk-font-size-h1-d: 56px;
	--pk-line-h1-d: 70px;
	--pk-font-size-h1-m: 36px;
	--pk-line-h1-m: 46px;
	--pk-font-size-body: 16px;
	--pk-line-body: 26px;

	/* Fluid display headings, 375px → 1440px viewport. Uppercase Vietnamese stacks
	   diacritics above caps (Ữ, Ắ, Ộ), so line-height stays at 1.25 or more. */
	--pk-heading-line: 1.5;
	--pk-size-display: clamp(34px, 23.4px + 2.82vw, 64px);
	--pk-size-h1: clamp(32px, 25px + 1.88vw, 52px);
	--pk-size-title: clamp(30px, 25px + 1.31vw, 44px);
	--pk-size-h2: clamp(26px, 21px + 1.31vw, 40px);
	--pk-size-h2-compact: clamp(24px, 21.2px + 0.75vw, 32px);
	--pk-size-h3: clamp(22px, 19.9px + 0.56vw, 28px);
}

/* ——— Layout shell ——— */

/* One side gutter for header, breadcrumb, main, CTA, footer and section widgets. */
:root {
	--pk-page-gutter: var(--pk-layout-margin-mobile);
}

@media (min-width: 768px) {
	:root {
		--pk-page-gutter: 32px;
	}
}

.pk-page-header__inner,
.pk-page-breadcrumb__inner,
.pk-page-footer__inner,
.pk-theme-main,
.pk-page-cta,
.pk-page-404__inner {
	width: min(100% - (var(--pk-page-gutter) * 2), var(--pk-layout-container-desktop));
	margin-inline: auto;
}

.screen-reader-text {
	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;
}

/* ——— Top bar ——— */

.pk-page-header--topbar {
	background: var(--pk-color-bg-inverse);
	color: var(--pk-color-text-inverse);
	font-family: var(--pk-font-body);
	font-size: var(--pk-font-size-small);
	line-height: var(--pk-line-small);
}

.pk-page-header--topbar .pk-page-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pk-layout-gutter-mobile);
	min-height: 40px;
	padding-block: 9px;
}

.pk-page-header__contact {
	display: none;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--pk-layout-gutter-desktop);
}

@media (min-width: 900px) {
	.pk-page-header__contact {
		display: flex;
	}
}

.pk-page-header__contact-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.pk-page-header__contact-link:hover {
	color: var(--pk-color-text-accent-on-dark);
}

.pk-page-header__icon {
	display: inline-flex;
	color: var(--pk-color-text-accent-on-dark);
}

.pk-page-header__lang {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.pk-page-header__lang-link {
	color: rgba(255, 255, 255, 0.8);
	font-weight: 400;
	text-decoration: none;
	transition: color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__lang-link.is-active {
	color: var(--pk-color-text-accent-on-dark);
	font-weight: 600;
}

.pk-page-header__lang-link:hover {
	color: var(--pk-color-text-accent-on-dark);
}

.pk-page-header__lang-sep {
	color: rgba(255, 255, 255, 0.3);
}

/* ——— Main header ———
 * Figma: state/header — desktop (37:527 …) / mobile drawer (38:571 …).
 * Desktop nav + mega panels from 1200px; below that the nav becomes a full-screen drawer.
 */

/* Sticky: the top bar scrolls away, the main bar stays pinned (below the WP admin bar). */
.pk-page-header-shell {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--pk-topbar-height, 40px));
	z-index: 100;
}

/* WP admin bar is not fixed on narrow screens. */
@media (max-width: 600px) {
	.admin-bar .pk-page-header-shell {
		top: calc(-1 * var(--pk-topbar-height, 40px));
	}
}

.pk-page-header__backdrop {
	position: fixed;
	inset: 0;
	top: var(--pk-header-bottom, 124px);
	z-index: 80;
	background: rgba(29, 42, 35, 0.55);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header-shell.is-mega-open .pk-page-header__backdrop:not([hidden]) {
	opacity: 1;
	pointer-events: auto;
}

.pk-page-header--main {
	position: relative;
	z-index: 90;
	background: var(--pk-color-bg-default);
	border-bottom: 1px solid var(--pk-color-border-default);
}

.pk-page-header--main .pk-page-header__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 72px;
}

.pk-page-header__brand {
	margin-right: auto;
}

/* Logo PNG carries built-in padding; crop it the way Figma does (176×45 desktop, 124×31 mobile). */
.pk-page-header__logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 124px;
	height: 31px;
	overflow: hidden;
}

.pk-page-header__logo-img {
	display: block;
	flex-shrink: 0;
	width: 188px;
	max-width: none;
	height: auto;
}

/* Customizer logo: without a size it renders at its upload width and fills the bar and drawer below 1200px. */
:is(.pk-page-header__brand, .pk-page-header__drawer-brand) .custom-logo {
	display: block;
	width: 124px;
	max-width: none;
	height: auto;
}

@media (min-width: 768px) {
	:is(.pk-page-header__brand, .pk-page-header__drawer-brand) .custom-logo {
		width: 169px;
	}
}

.pk-page-header__cta {
	flex-shrink: 0;
}

.pk-page-header__menu-toggle {
	order: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--pk-color-border-default);
	border-radius: 22px;
	background: var(--pk-color-bg-default);
	color: var(--pk-color-text-heading);
	cursor: pointer;
}

.pk-page-header__menu-toggle-icon {
	display: inline-flex;
}

.pk-page-header__menu-toggle-icon--close {
	display: none;
}

@media (max-width: 639px) {
	.pk-page-header--main .pk-page-header__cta {
		display: none;
	}
}

@media (min-width: 768px) {
	.pk-page-header--main .pk-page-header__inner {
		min-height: 83px;
	}

	.pk-page-header--main .pk-page-header__brand .pk-page-header__logo-link {
		width: 176px;
		height: 45px;
	}

	.pk-page-header--main .pk-page-header__brand .pk-page-header__logo-img {
		width: 176px;
	}
}

/* Mobile drawer (< 1200px) */

.pk-page-header__nav {
	display: none;
}

.pk-page-header__nav.is-open {
	display: flex;
	flex-direction: column;
	position: fixed;
	inset: 0;
	z-index: 120;
	background: var(--pk-color-bg-default);
}

.admin-bar .pk-page-header__nav.is-open {
	top: var(--wp-admin--admin-bar--height, 0px);
}

.pk-page-header__drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	padding: 14px var(--pk-layout-margin-mobile);
	border-bottom: 1px solid var(--pk-color-border-default);
}

.pk-page-header__drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: var(--pk-color-bg-inverse);
	color: var(--pk-color-text-inverse);
	cursor: pointer;
}

.pk-page-header__drawer-body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-inline: var(--pk-layout-margin-mobile);
}

.pk-page-header__drawer-foot {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	gap: 14px;
	padding: 16px var(--pk-layout-margin-mobile) 24px;
	border-top: 1px solid var(--pk-color-border-default);
	background: var(--pk-color-bg-subtle);
}

.pk-page-header__drawer-foot .pk-page-header__drawer-cta {
	width: 100%;
	min-height: 52px;
	padding: 16px 24px;
	gap: 8px;
}

.pk-page-header__drawer-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

/* Phone in landscape: one footer row so the menu keeps most of the height. */
@media (max-height: 500px) and (orientation: landscape) {
	.pk-page-header__drawer-head {
		padding-block: 8px;
	}

	.pk-page-header__drawer-foot {
		flex-direction: row;
		align-items: center;
		padding-block: 10px;
	}

	.pk-page-header__drawer-foot .pk-page-header__drawer-cta {
		flex: 1 1 auto;
		width: auto;
		min-height: 44px;
		padding-block: 10px;
	}
}

.pk-page-header__drawer-quick {
	display: flex;
	gap: 10px;
}

.pk-page-header__drawer-quick-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--pk-color-border-default);
	border-radius: 22px;
	background: var(--pk-color-bg-default);
	color: var(--pk-color-text-heading);
	text-decoration: none;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__drawer-quick-link:hover,
.pk-page-header__drawer-quick-link:focus-visible {
	background: var(--pk-color-lime-100);
}

.pk-page-header__lang--pill {
	display: inline-flex;
	gap: 2px;
	margin-left: 0;
	padding: 3px;
	border: 1px solid var(--pk-color-border-default);
	border-radius: var(--pk-radius-pill);
	background: var(--pk-color-bg-default);
}

.pk-page-header__lang--pill .pk-page-header__lang-link {
	padding: 8px 14px;
	border-radius: var(--pk-radius-pill);
	font-family: var(--pk-font-body);
	font-size: var(--pk-font-size-small);
	line-height: var(--pk-line-small);
	font-weight: 600;
	color: var(--pk-color-text-muted);
}

.pk-page-header__lang--pill .pk-page-header__lang-link.is-active,
.pk-page-header__lang--pill .pk-page-header__lang-link.is-active:hover {
	background: var(--pk-color-bg-inverse);
	color: var(--pk-color-text-inverse);
}

.pk-page-header__menu {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pk-page-header__nav-item {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--pk-color-border-default);
}

.pk-page-header__nav-item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-block: 16px;
}

.pk-page-header__nav-link {
	display: inline-flex;
	align-items: center;
	font-family: var(--pk-font-display);
	font-size: 17px;
	line-height: 24px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--pk-color-text-heading);
	transition: color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__nav-link:hover,
.pk-page-header__nav-link:focus-visible,
.pk-page-header__nav-item.is-open > .pk-page-header__nav-item-row .pk-page-header__nav-link,
.pk-page-header__nav-item.current-menu-item > .pk-page-header__nav-item-row .pk-page-header__nav-link {
	color: var(--pk-color-action-primary);
}

.pk-page-header__nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: var(--pk-color-bg-subtle);
	color: var(--pk-color-text-heading);
	cursor: pointer;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__nav-item.is-open > .pk-page-header__nav-item-row .pk-page-header__nav-toggle {
	background: var(--pk-color-lime-200);
}

.pk-page-header__nav-chevron {
	display: inline-flex;
	transition: transform var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__nav-item.is-open > .pk-page-header__nav-item-row .pk-page-header__nav-chevron {
	transform: rotate(180deg);
}

.pk-page-header__nav-chevron--plain {
	color: var(--pk-color-text-heading);
}

/* Mega panel — shared */

.pk-page-header__mega[hidden] {
	display: none !important;
}

.pk-page-header__mega-inner {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pk-page-header__mega-col {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pk-page-header__mega-col-head {
	margin: 0;
	padding: 12px 4px 8px;
	font-family: var(--pk-font-display);
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pk-color-text-muted);
}

.pk-page-header__mega-spacer {
	height: 10px;
}

.pk-page-header__menu-group-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 12px;
	text-decoration: none;
	color: var(--pk-color-text-heading);
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__menu-group-head:hover,
.pk-page-header__menu-group-head:focus-visible {
	background: var(--pk-color-lime-100);
	color: var(--pk-color-action-primary);
}

.pk-page-header__menu-group-thumb {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	overflow: hidden;
}

.pk-page-header__menu-group-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pk-page-header__menu-group-label {
	flex: 1;
	min-width: 0;
	font-family: var(--pk-font-body);
	font-size: 16px;
	line-height: 26px;
	font-weight: 600;
	color: inherit;
}

.pk-page-header__menu-group-chevron {
	display: inline-flex;
	color: var(--pk-color-text-muted);
}

.pk-page-header__menu-sublinks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pk-page-header__menu-sublink {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px 7px 56px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--pk-color-text-default);
	font-family: var(--pk-font-body);
	font-size: 14px;
	line-height: 22px;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing),
		color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__menu-sublink:hover,
.pk-page-header__menu-sublink:focus-visible {
	background: var(--pk-color-lime-100);
	color: var(--pk-color-action-primary);
	font-weight: 600;
}

.pk-page-header__menu-sublink-icon {
	display: inline-flex;
	margin-left: auto;
	opacity: 0;
	color: var(--pk-color-action-primary);
	transition: opacity var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__menu-sublink:hover .pk-page-header__menu-sublink-icon,
.pk-page-header__menu-sublink:focus-visible .pk-page-header__menu-sublink-icon {
	opacity: 1;
}

.pk-page-header__menu-chips {
	display: none;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 0 6px 56px;
}

.pk-page-header__menu-chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: var(--pk-radius-pill);
	background: var(--pk-color-bg-subtle);
	font-family: var(--pk-font-body);
	font-size: 14px;
	line-height: 22px;
	font-weight: 600;
	color: var(--pk-color-text-heading);
	text-decoration: none;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__menu-chip:hover,
.pk-page-header__menu-chip:focus-visible {
	background: var(--pk-color-lime-100);
	color: var(--pk-color-action-primary);
}

.pk-page-header__mega-industry,
.pk-page-header__mega-article {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px;
	border-radius: 14px;
	text-decoration: none;
	color: var(--pk-color-text-heading);
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__mega-industry:hover,
.pk-page-header__mega-industry:focus-visible,
.pk-page-header__mega-article:hover,
.pk-page-header__mega-article:focus-visible {
	background: var(--pk-color-lime-100);
}

.pk-page-header__mega-industry-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--pk-color-lime-200);
	color: var(--pk-color-text-heading);
}

.pk-page-header__mega-industry-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pk-page-header__mega-industry-title {
	font-family: var(--pk-font-body);
	font-size: 16px;
	line-height: 26px;
	font-weight: 600;
	color: inherit;
	transition: color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__mega-industry:hover .pk-page-header__mega-industry-title,
.pk-page-header__mega-industry:focus-visible .pk-page-header__mega-industry-title {
	color: var(--pk-color-action-primary);
}

.pk-page-header__mega-industry-short {
	display: none;
}

.pk-page-header__mega-industry-desc {
	font-family: var(--pk-font-body);
	font-size: 12px;
	line-height: 16px;
	color: var(--pk-color-text-muted);
}

.pk-page-header__mega-industry-chevron {
	display: inline-flex;
	color: var(--pk-color-text-muted);
}

.pk-page-header__mega-article {
	gap: 10px;
	padding: 9px 4px;
}

.pk-page-header__mega-article-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--pk-color-text-heading);
}

.pk-page-header__mega-article-label {
	font-family: var(--pk-font-body);
	font-size: 14px;
	line-height: 22px;
	font-weight: 600;
	color: inherit;
}

.pk-page-header__mega-article:hover .pk-page-header__mega-article-label,
.pk-page-header__mega-article:focus-visible .pk-page-header__mega-article-label {
	color: var(--pk-color-action-primary);
}

.pk-page-header__mega-about-grid {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pk-page-header__mega-about-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__mega-about-card:hover,
.pk-page-header__mega-about-card:focus-visible {
	background: var(--pk-color-lime-100);
}

.pk-page-header__mega-about-media {
	display: block;
	flex-shrink: 0;
	width: 56px;
	height: 44px;
	border-radius: 8px;
	overflow: hidden;
	outline: 0 solid var(--pk-color-lime-400);
	outline-offset: -3px;
	transition: outline-width var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__mega-about-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pk-page-header__mega-about-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pk-page-header__mega-about-title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--pk-font-body);
	font-size: 16px;
	line-height: 26px;
	font-weight: 600;
	color: var(--pk-color-text-heading);
	transition: color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__mega-about-arrow {
	display: none;
	color: var(--pk-color-action-primary);
}

.pk-page-header__mega-about-card:hover .pk-page-header__mega-about-title,
.pk-page-header__mega-about-card:focus-visible .pk-page-header__mega-about-title {
	color: var(--pk-color-action-primary);
}

.pk-page-header__mega-about-desc {
	font-family: var(--pk-font-body);
	font-size: 12px;
	line-height: 16px;
	color: var(--pk-color-text-muted);
}

.pk-page-header__mega-intro {
	padding: 24px;
	border-radius: 20px;
	background: var(--pk-color-bg-subtle);
}

.pk-page-header__mega-intro-eyebrow {
	margin: 0 0 12px;
	font-family: var(--pk-font-display);
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pk-color-action-primary);
}

.pk-page-header__mega-intro-title {
	margin: 0 0 12px;
	font-family: var(--pk-font-display);
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	color: var(--pk-color-text-heading);
}

.pk-page-header__mega-intro-text {
	margin: 0;
	font-family: var(--pk-font-body);
	font-size: 14px;
	line-height: 22px;
	color: var(--pk-color-text-muted);
}

.pk-page-header__mega-feature {
	display: flex;
	flex-direction: column;
	align-self: start;
	border-radius: 20px;
	overflow: hidden;
	background: var(--pk-color-bg-inverse);
	color: var(--pk-color-text-inverse);
}

.pk-page-header__mega-feature-media {
	height: 140px;
}

.pk-page-header__mega-feature-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pk-page-header__mega-feature-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
}

.pk-page-header__mega-feature-eyebrow {
	margin: 0;
	font-family: var(--pk-font-display);
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pk-color-lime-400);
}

.pk-page-header__mega-feature-title {
	margin: 0;
	font-family: var(--pk-font-body);
	font-size: 16px;
	line-height: 26px;
	font-weight: 600;
	color: var(--pk-color-text-inverse);
}

.pk-page-header__mega-feature-cta {
	align-self: flex-start;
	gap: 8px;
}

.pk-page-header__mega-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px max(32px, calc((100% - var(--pk-layout-container-desktop)) / 2));
	border-top: 1px solid var(--pk-color-border-default);
	background: var(--pk-color-bg-subtle);
}

.pk-page-header__mega-strip-right {
	display: flex;
	margin-left: auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.pk-page-header__mega-strip-prompt {
	font-family: var(--pk-font-body);
	font-size: 14px;
	line-height: 22px;
	color: var(--pk-color-text-muted);
}

.pk-page-header__mega-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--pk-font-body);
	font-size: 14px;
	line-height: 22px;
	font-weight: 600;
	color: var(--pk-color-action-primary);
	text-decoration: none;
}

.pk-page-header__mega-link-icon {
	display: inline-flex;
	transition: transform var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-header__mega-link:hover .pk-page-header__mega-link-icon,
.pk-page-header__mega-link:focus-visible .pk-page-header__mega-link-icon {
	transform: translateX(3px);
}

.pk-page-header__mega-col-foot {
	padding: 8px 10px 0;
}

.pk-page-header__mega-mobile-all {
	padding: 12px 4px 4px;
}

@media (max-width: 1199px) {
	.pk-page-header__nav-item.is-open > .pk-page-header__nav-item-row {
		padding-bottom: 8px;
	}

	.pk-page-header__mega-main {
		padding-bottom: 14px;
	}

	.pk-page-header__mega-feature,
	.pk-page-header__mega-intro,
	.pk-page-header__mega-strip,
	.pk-page-header__mega-spacer,
	.pk-page-header__mega-col-foot,
	.pk-page-header__mega-industry-desc,
	.pk-page-header__menu-group--chips .pk-page-header__menu-sublinks {
		display: none;
	}

	.pk-page-header__mega-inner--products .pk-page-header__mega-col {
		display: contents;
	}

	.pk-page-header__mega-inner--products .pk-page-header__menu-group {
		order: var(--pk-mobile-order, 50);
	}

	.pk-page-header__mega-inner--products .pk-page-header__mega-mobile-all {
		order: 99;
	}

	.pk-page-header__menu-group--chips .pk-page-header__menu-chips {
		display: flex;
	}

	/* Resources: video / news columns collapse to chips. */
	.pk-page-header__mega-inner--resources .pk-page-header__mega-col:not(:first-child) {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
	}

	.pk-page-header__mega-inner--resources .pk-page-header__mega-col:not(:first-child) .pk-page-header__mega-col-head {
		flex-basis: 100%;
		padding-bottom: 0;
	}

	.pk-page-header__mega-inner--resources .pk-page-header__mega-col:not(:first-child) .pk-page-header__mega-industry {
		display: inline-flex;
		gap: 0;
		padding: 8px 12px;
		border-radius: var(--pk-radius-pill);
		background: var(--pk-color-bg-subtle);
		font-family: var(--pk-font-body);
		font-size: 14px;
		line-height: 22px;
		font-weight: 600;
	}

	.pk-page-header__mega-inner--resources .pk-page-header__mega-col:not(:first-child) .pk-page-header__mega-industry:hover {
		background: var(--pk-color-lime-100);
	}

	.pk-page-header__mega-inner--resources .pk-page-header__mega-col:not(:first-child) .pk-page-header__mega-industry-icon,
	.pk-page-header__mega-inner--resources .pk-page-header__mega-col:not(:first-child) .pk-page-header__mega-industry-chevron,
	.pk-page-header__mega-inner--resources .pk-page-header__mega-col:not(:first-child) .pk-page-header__mega-industry-title {
		display: none;
	}

	.pk-page-header__mega-inner--resources .pk-page-header__mega-col:not(:first-child) .pk-page-header__mega-industry-short {
		display: inline;
		color: var(--pk-color-text-heading);
	}
}

/* Desktop nav + mega menus (≥ 1200px) */

@media (min-width: 1200px) {
	.pk-page-header--main .pk-page-header__inner {
		gap: 24px;
		min-height: 0;
		align-items: stretch;
	}

	.pk-page-header__brand,
	.pk-page-header__cta {
		align-self: center;
	}

	.pk-page-header__brand {
		margin-right: 0;
	}

	.pk-page-header__menu-toggle,
	.pk-page-header__drawer-head,
	.pk-page-header__drawer-foot,
	.pk-page-header__nav-toggle,
	.pk-page-header__nav-chevron--plain {
		display: none;
	}

	.pk-page-header__nav,
	.pk-page-header__nav.is-open {
		display: flex;
		flex: 1;
		justify-content: center;
		position: static;
		background: none;
	}

	.pk-page-header__drawer-body {
		display: contents;
	}

	.pk-page-header__menu {
		flex-direction: row;
		align-items: stretch;
		gap: 20px;
	}

	.pk-page-header__nav-item {
		position: static;
		border: 0;
	}

	.pk-page-header__nav-item-row {
		position: relative;
		flex: 1;
		gap: 4px;
		min-height: 83px;
		padding: 0;
	}

	.pk-page-header__nav-link {
		gap: 4px;
		font-size: var(--pk-font-size-nav);
		line-height: var(--pk-line-nav);
		letter-spacing: 0.03em;
		white-space: nowrap;
	}

	.pk-page-header__nav-item--mega .pk-page-header__nav-link::after {
		content: "";
		width: 16px;
		height: 16px;
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
		transition: transform var(--pk-motion-duration) var(--pk-motion-easing);
	}

	.pk-page-header__nav-item--mega.is-open .pk-page-header__nav-link::after {
		transform: rotate(180deg);
	}

	.pk-page-header__nav-item--mega.is-open > .pk-page-header__nav-item-row::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -1px;
		height: 3px;
		border-radius: 2px;
		background: var(--pk-color-lime-400);
	}

	.pk-page-header__mega {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 90;
		max-height: calc(100vh - var(--pk-header-bottom, 124px));
		overflow-y: auto;
		background: var(--pk-color-bg-default);
		box-shadow: 0 24px 24px rgba(29, 42, 35, 0.18);
	}

	.pk-page-header__mega-main {
		padding: 36px 32px;
	}

	.pk-page-header__mega-inner {
		display: grid;
		gap: 32px;
		align-items: start;
		max-width: var(--pk-layout-container-desktop);
		margin-inline: auto;
	}

	.pk-page-header__mega-inner--products {
		grid-template-columns: repeat(3, minmax(0, 280px)) minmax(0, 264px);
		justify-content: space-between;
	}

	.pk-page-header__mega-inner--industries {
		grid-template-columns: 240px repeat(2, minmax(0, 300px)) minmax(0, 264px);
		justify-content: space-between;
	}

	.pk-page-header__mega-inner--resources {
		grid-template-columns: minmax(0, 340px) minmax(0, 260px) minmax(0, 240px) minmax(0, 264px);
		justify-content: space-between;
	}

	.pk-page-header__mega-inner--about {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.pk-page-header__mega-mobile-all {
		display: none;
	}

	.pk-page-header__mega-col-head {
		margin-bottom: 0;
		padding: 0 10px 8px;
		border-bottom: 1px solid var(--pk-color-border-default);
	}

	.pk-page-header__menu-group-head {
		padding: 8px 10px;
	}

	.pk-page-header__menu-group-head:hover,
	.pk-page-header__menu-group-head:focus-visible {
		background: var(--pk-color-bg-subtle);
		color: var(--pk-color-text-heading);
	}

	.pk-page-header__menu-group-thumb {
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}

	.pk-page-header__menu-sublink {
		padding-left: 62px;
	}

	.pk-page-header__mega-industry {
		padding: 10px;
	}

	.pk-page-header__mega-industry-icon {
		width: 40px;
		height: 40px;
	}

	.pk-page-header__mega-industry-chevron {
		opacity: 0;
		transition: opacity var(--pk-motion-duration) var(--pk-motion-easing);
	}

	.pk-page-header__mega-industry:hover .pk-page-header__mega-industry-chevron,
	.pk-page-header__mega-industry:focus-visible .pk-page-header__mega-industry-chevron {
		opacity: 1;
	}

	.pk-page-header__mega-article {
		padding: 9px 10px;
	}

	.pk-page-header__mega-article-label {
		font-weight: 400;
		color: var(--pk-color-text-default);
	}

	.pk-page-header__mega-about-grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}

	.pk-page-header__mega-about-card {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 0;
	}

	.pk-page-header__mega-about-card:hover,
	.pk-page-header__mega-about-card:focus-visible {
		background: none;
	}

	.pk-page-header__mega-about-media {
		width: auto;
		height: 130px;
		border-radius: 12px;
	}

	.pk-page-header__mega-about-card:hover .pk-page-header__mega-about-media,
	.pk-page-header__mega-about-card:focus-visible .pk-page-header__mega-about-media {
		outline-width: 3px;
	}

	.pk-page-header__mega-about-copy {
		gap: 8px;
	}

	.pk-page-header__mega-about-card:hover .pk-page-header__mega-about-arrow,
	.pk-page-header__mega-about-card:focus-visible .pk-page-header__mega-about-arrow {
		display: inline-flex;
	}
}

@media (min-width: 1440px) {
	.pk-page-header--main .pk-page-header__inner {
		gap: 30px;
	}

	.pk-page-header__menu {
		gap: 32px;
	}
}

/* Drawer open (mobile) or mega panel open (desktop): page must not scroll under it. */
body.pk-nav-open,
body.pk-mega-open {
	overflow: hidden;
}

body.pk-mega-open {
	padding-right: var(--pk-scrollbar-width, 0px);
}

/* ——— Buttons ——— */

.pk-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 12px 20px;
	border-radius: var(--pk-radius-pill);
	font-family: var(--pk-font-display);
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing),
		color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-button--primary {
	background: var(--pk-color-action-primary);
	color: var(--pk-color-text-inverse);
}

.pk-button--primary:hover,
.pk-button--primary:focus-visible {
	background: var(--pk-color-action-primary-hover);
}

.pk-button__icon {
	display: inline-flex;
}

.pk-button--lime {
	background: var(--pk-color-lime-400);
	color: var(--pk-color-bg-inverse);
	min-height: auto;
	padding: 10px 18px;
	font-size: 14px;
}

.pk-button--lime:hover,
.pk-button--lime:focus-visible {
	background: var(--pk-color-lime-300);
}

@media (max-width: 1199px) {
	.pk-page-header__cta .pk-button__label {
		font-size: 12px;
	}

	.pk-page-header__cta {
		padding-inline: 12px;
	}
}

/* ——— Breadcrumb ——— */

.pk-page-breadcrumb {
	background: var(--pk-color-bg-subtle);
	border-bottom: 1px solid var(--pk-color-border-default);
	font-family: var(--pk-font-body);
	font-size: var(--pk-font-size-small);
	line-height: var(--pk-line-small);
}

.pk-page-breadcrumb__inner {
	padding-block: 16px;
}

@media (min-width: 768px) {
	.pk-page-breadcrumb__inner {
		padding-block: 20px;
	}
}

.pk-page-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pk-page-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
}

.pk-page-breadcrumb__link {
	color: var(--pk-color-text-muted);
	text-decoration: none;
	transition: color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-breadcrumb__link:hover,
.pk-page-breadcrumb__link:focus-visible {
	color: var(--pk-color-action-primary);
}

.pk-page-breadcrumb__current {
	color: var(--pk-color-text-heading);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: min(100%, 40ch);
}

.pk-page-breadcrumb__sep {
	display: inline-flex;
	color: var(--pk-color-steel-400);
}

/* ——— Main content ——— */

.pk-theme-main {
	padding-block: var(--pk-section-padding-y-mobile);
}

@media (min-width: 768px) {
	.pk-theme-main {
		padding-block: 64px;
	}
}

/* Elementor-built pages: section widgets manage their own width and spacing. */
.pk-theme-main.pk-theme-main--full {
	width: 100%;
	padding-block: 0;
}

/* ——— Resources listing (Tài nguyên, categories, search) ——— */

.pk-page-blog {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

@media (min-width: 768px) {
	.pk-page-blog {
		gap: 40px;
		padding-top: 40px;
	}
}

.pk-page-blog__hero {
	position: relative;
	display: grid;
	gap: 24px;
	padding: 32px var(--pk-layout-margin-mobile);
	background: var(--pk-gradient-mist);
	border-radius: var(--pk-radius-lg);
	overflow: hidden;
}

@media (min-width: 1024px) {
	.pk-page-blog__hero {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		align-items: end;
		gap: 48px;
		padding: 56px;
	}
}

.pk-page-blog__eyebrow {
	display: inline-flex;
	margin: 0 0 12px;
	padding: 6px 14px;
	border-radius: var(--pk-radius-pill);
	background: var(--pk-color-lime-200);
	color: var(--pk-color-text-heading);
	font-family: var(--pk-font-display);
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pk-page-blog__title {
	margin: 0;
	font-family: var(--pk-font-display);
	font-size: var(--pk-font-size-h1-m);
	line-height: var(--pk-line-h1-m);
	text-transform: uppercase;
	color: var(--pk-color-text-heading);
	overflow-wrap: anywhere;
}

@media (min-width: 768px) {
	.pk-page-blog__title {
		font-size: var(--pk-font-size-h1-d);
		line-height: var(--pk-line-h1-d);
	}
}

.pk-page-blog--search .pk-page-blog__title {
	font-size: var(--pk-size-h2);
	line-height: var(--pk-heading-line);
}

.pk-page-blog__intro {
	max-width: 560px;
	margin: 16px 0 0;
	font-size: var(--pk-font-size-body);
	line-height: var(--pk-line-body);
	color: var(--pk-color-text-muted);
}

/* Search form (also used site-wide via searchform.php) */

.pk-page-blog__search {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 56px;
	padding: 6px 6px 6px 16px;
	background: var(--pk-color-bg-default);
	border: 1px solid var(--pk-color-border-default);
	border-radius: var(--pk-radius-pill);
	box-shadow: var(--pk-shadow-card);
	transition: border-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-blog__search:focus-within {
	border-color: var(--pk-color-action-primary);
}

.pk-page-blog__search-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--pk-color-text-muted);
}

.pk-page-blog__search-input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0;
	border: none;
	background: transparent;
	font-family: var(--pk-font-body);
	font-size: 16px;
	color: var(--pk-color-text-default);
}

.pk-page-blog__search-input:focus {
	outline: none;
}

.pk-page-blog__search-input::placeholder {
	color: var(--pk-color-text-muted);
}

.pk-page-blog__search-input::-webkit-search-cancel-button {
	cursor: pointer;
}

.pk-page-blog__search-submit {
	flex-shrink: 0;
}

/* Category chips */

.pk-page-blog__filter {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pk-page-blog__chips,
.pk-page-blog__subchips {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pk-page-blog__chips {
	overflow-x: auto;
	scrollbar-width: none;
	margin-inline: calc(var(--pk-layout-margin-mobile) * -1);
	padding-inline: var(--pk-layout-margin-mobile);
}

.pk-page-blog__chips::-webkit-scrollbar {
	display: none;
}

@media (min-width: 768px) {
	.pk-page-blog__chips {
		flex-wrap: wrap;
		overflow: visible;
		margin-inline: 0;
		padding-inline: 0;
	}
}

.pk-page-blog__subchips {
	flex-wrap: wrap;
}

.pk-page-blog__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--pk-color-border-default);
	border-radius: var(--pk-radius-pill);
	background: var(--pk-color-bg-default);
	color: var(--pk-color-text-heading);
	font-family: var(--pk-font-display);
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing),
		border-color var(--pk-motion-duration) var(--pk-motion-easing),
		color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-blog__chip-icon {
	display: inline-flex;
	color: var(--pk-color-action-primary);
}

.pk-page-blog__chip:hover,
.pk-page-blog__chip:focus-visible {
	border-color: var(--pk-color-action-primary);
	background: var(--pk-color-bg-brand-soft);
}

.pk-page-blog__chip.is-active {
	border-color: var(--pk-color-action-primary);
	background: var(--pk-color-action-primary);
	color: var(--pk-color-text-inverse);
}

.pk-page-blog__chip.is-active .pk-page-blog__chip-icon {
	color: var(--pk-color-lime-200);
}

.pk-page-blog__subchip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: var(--pk-radius-pill);
	background: var(--pk-color-bg-subtle);
	color: var(--pk-color-text-default);
	font-size: var(--pk-font-size-small);
	line-height: var(--pk-line-small);
	text-decoration: none;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-blog__subchip:hover,
.pk-page-blog__subchip:focus-visible {
	background: var(--pk-color-lime-100);
}

.pk-page-blog__subchip.is-active {
	background: var(--pk-color-lime-200);
	color: var(--pk-color-text-heading);
}

/* Grid */

.pk-page-blog__grid {
	display: grid;
	gap: var(--pk-layout-gutter-desktop);
}

@media (min-width: 640px) {
	.pk-page-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.pk-page-blog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.pk-page-blog__count {
	margin: 0;
	color: var(--pk-color-text-muted);
}

.pk-page-blog__count strong {
	color: var(--pk-color-text-heading);
	font-weight: 400;
	font-family: var(--pk-font-display);
}

/* Card */

.pk-theme-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--pk-color-bg-default);
	border: 1px solid var(--pk-color-border-default);
	border-radius: var(--pk-radius-md);
	overflow: hidden;
	box-shadow: var(--pk-shadow-card);
	transition: box-shadow var(--pk-motion-duration) var(--pk-motion-easing),
		transform var(--pk-motion-duration) var(--pk-motion-easing),
		border-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-theme-card:hover,
.pk-theme-card:focus-within {
	border-color: var(--pk-color-lime-300);
	box-shadow: var(--pk-shadow-raised);
	transform: translateY(-2px);
}

.pk-theme-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--pk-color-bg-brand-soft);
	overflow: hidden;
}

.pk-theme-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms var(--pk-motion-easing);
}

.pk-theme-card:hover .pk-theme-card__media img {
	transform: scale(1.04);
}

.pk-theme-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--pk-gradient-mist);
	color: var(--pk-color-action-primary);
}

.pk-theme-card__play {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--pk-radius-pill);
	background: var(--pk-color-lime-400);
	color: var(--pk-color-bg-inverse);
	box-shadow: var(--pk-shadow-card);
}

.pk-theme-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
}

.pk-theme-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
	color: var(--pk-color-text-muted);
	font-size: var(--pk-font-size-small);
	line-height: var(--pk-line-small);
}

.pk-theme-card__term {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 10px;
	border-radius: var(--pk-radius-pill);
	background: var(--pk-color-lime-100);
	color: var(--pk-color-text-heading);
}

.pk-theme-card__title {
	margin: 0;
	font-family: var(--pk-font-display);
	font-size: 18px;
	line-height: 24px;
	text-transform: uppercase;
	color: var(--pk-color-text-heading);
}

.pk-theme-card__title a {
	color: inherit;
	text-decoration: none;
}

/* Whole card is clickable through the title link. */
.pk-theme-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.pk-theme-card__title a:focus-visible {
	outline: none;
}

.pk-theme-card:focus-within {
	outline: 2px solid var(--pk-color-action-primary);
	outline-offset: 2px;
}

.pk-theme-card__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--pk-color-text-muted);
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.pk-theme-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 4px;
	font-family: var(--pk-font-display);
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pk-color-action-primary);
}

.pk-theme-card__link svg {
	transition: transform var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-theme-card:hover .pk-theme-card__link svg {
	transform: translateX(4px);
}

/* Featured (first post on page 1) */

@media (min-width: 640px) {
	.pk-theme-card--featured {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.pk-theme-card--featured {
		display: grid;
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		border-radius: var(--pk-radius-lg);
	}

	.pk-theme-card--featured .pk-theme-card__media {
		aspect-ratio: auto;
		min-height: 420px;
	}

	.pk-theme-card--featured .pk-theme-card__media img,
	.pk-theme-card--featured .pk-theme-card__placeholder {
		position: absolute;
		inset: 0;
	}

	.pk-theme-card--featured .pk-theme-card__body {
		justify-content: center;
		gap: 16px;
		padding: 48px;
	}

	.pk-theme-card--featured .pk-theme-card__title {
		font-size: 28px;
		line-height: 36px;
	}

	.pk-theme-card--featured .pk-theme-card__excerpt {
		-webkit-line-clamp: 4;
		font-size: var(--pk-font-size-body);
		line-height: var(--pk-line-body);
	}

	.pk-theme-card--featured .pk-theme-card__link {
		margin-top: 8px;
	}
}

/* Pagination */

.pk-page-blog__pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pk-page-blog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--pk-color-border-default);
	border-radius: var(--pk-radius-pill);
	background: var(--pk-color-bg-default);
	color: var(--pk-color-text-heading);
	font-family: var(--pk-font-display);
	font-size: 14px;
	text-decoration: none;
	transition: background-color var(--pk-motion-duration) var(--pk-motion-easing),
		border-color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-blog__pagination a.page-numbers:hover,
.pk-page-blog__pagination a.page-numbers:focus-visible {
	border-color: var(--pk-color-action-primary);
	background: var(--pk-color-bg-brand-soft);
}

.pk-page-blog__pagination .page-numbers.current {
	border-color: var(--pk-color-action-primary);
	background: var(--pk-color-action-primary);
	color: var(--pk-color-text-inverse);
}

.pk-page-blog__pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* Empty state */

.pk-page-blog__empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 32px;
	border: 1px dashed var(--pk-color-border-default);
	border-radius: var(--pk-radius-lg);
	background: var(--pk-color-bg-subtle);
	color: var(--pk-color-text-muted);
}

.pk-page-blog__empty p {
	margin: 0;
}

.pk-page-blog__empty-title {
	font-family: var(--pk-font-display);
	font-size: 20px;
	line-height: 28px;
	text-transform: uppercase;
	color: var(--pk-color-text-heading);
}

.pk-page-blog__empty .pk-page-blog__filter {
	width: 100%;
}

.pk-page-blog__empty .pk-page-blog__chips {
	flex-wrap: wrap;
	overflow: visible;
	margin-inline: 0;
	padding-inline: 0;
}

/* ——— Site-wide CTA band (above footer) ——— */

.pk-page-cta {
	padding-block: 48px var(--pk-section-padding-y-mobile);
}

@media (min-width: 768px) {
	.pk-page-cta {
		padding-block: 64px;
	}
}

/* The band brings its own top spacing, so the page above it drops its bottom padding. */
.pk-theme-main:has(+ .pk-page-cta) {
	padding-bottom: 0;
}

.pk-page-cta__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 32px var(--pk-layout-margin-mobile);
	border-radius: var(--pk-radius-lg);
	background: var(--pk-gradient-fresh);
	color: var(--pk-color-text-default);
}

@media (min-width: 1024px) {
	.pk-page-cta__card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 48px;
		padding: 48px 56px;
	}
}

.pk-page-cta__eyebrow {
	margin: 0 0 8px;
	font-family: var(--pk-font-display);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pk-color-text-heading);
}

.pk-page-cta__title {
	margin: 0 0 8px;
	font-family: var(--pk-font-display);
	font-size: var(--pk-size-h2-compact);
	line-height: var(--pk-heading-line);
	text-transform: uppercase;
	color: var(--pk-color-text-heading);
}

.pk-page-cta__text {
	max-width: 560px;
	margin: 0;
	color: var(--pk-color-text-default);
}

.pk-page-cta__button {
	flex-shrink: 0;
	min-height: 52px;
	padding: 16px 28px;
}

.pk-theme-article__title {
	margin: 0 0 12px;
	font-family: var(--pk-font-display);
	font-size: var(--pk-font-size-h1-m);
	line-height: var(--pk-line-h1-m);
	text-transform: uppercase;
	color: var(--pk-color-text-heading);
}

@media (min-width: 768px) {
	.pk-theme-article__title {
		font-size: var(--pk-font-size-h1-d);
		line-height: var(--pk-line-h1-d);
	}
}

.pk-theme-article__meta {
	margin: 0 0 24px;
	color: var(--pk-color-text-muted);
	font-size: var(--pk-font-size-small);
}

.pk-theme-article__thumb {
	display: block;
	width: 100%;
	height: clamp(220px, 36vw, 480px);
	margin: 0 0 24px;
	border-radius: var(--pk-radius-lg);
	overflow: hidden;
}

.pk-theme-article__thumb img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.pk-theme-article__content {
	font-size: var(--pk-font-size-body);
	line-height: var(--pk-line-body);
	color: var(--pk-color-text-default);
}

.pk-theme-empty {
	color: var(--pk-color-text-muted);
}

/* ——— 404 ——— */

.pk-page-404 {
	background: var(--pk-gradient-mist);
	border-radius: var(--pk-radius-lg);
	padding: var(--pk-layout-gutter-desktop);
	text-align: center;
}

.pk-page-404__code {
	margin: 0 0 8px;
	font-family: var(--pk-font-display);
	font-size: 40px;
	line-height: 1;
	color: var(--pk-color-action-primary);
}

.pk-page-404__title {
	margin: 0 0 12px;
	font-family: var(--pk-font-display);
	font-size: 28px;
	line-height: 36px;
	text-transform: uppercase;
	color: var(--pk-color-text-heading);
}

.pk-page-404__text {
	margin: 0 0 24px;
	color: var(--pk-color-text-muted);
	max-width: 42ch;
	margin-inline: auto;
}

/* ——— Footer ———
 * Figma: section/footer — desktop 13:437 / mobile 16:548.
 * Link columns = menu locations footer-products | footer-solutions | footer-company.
 * Menu item class pk-footer-hide-mobile hides a link below 768px; item description = mobile short label.
 */

.pk-page-footer {
	background: var(--pk-color-bg-inverse);
	color: rgba(255, 255, 255, 0.8);
	font-family: var(--pk-font-body);
	font-size: var(--pk-font-size-small);
	line-height: var(--pk-line-small);
	margin-top: auto;
}

.pk-page-footer p {
	margin: 0;
}

.pk-page-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-block: 48px 24px;
}

.pk-page-footer__top {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.pk-page-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Logo PNG carries built-in padding; crop like Figma (150×38 mobile, 200×51 desktop). */
.pk-page-footer__logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 38px;
	overflow: hidden;
}

.pk-page-footer__logo-img {
	display: block;
	flex-shrink: 0;
	width: 227px;
	max-width: none;
	height: auto;
}

.pk-page-footer__blurb {
	color: rgba(255, 255, 255, 0.7);
}

.pk-page-footer__tagline,
.pk-page-footer__heading {
	font-family: var(--pk-font-display);
	font-weight: 600;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--pk-color-text-accent-on-dark);
}

.pk-page-footer__tagline {
	display: none;
}

.pk-page-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 16px;
}

.pk-page-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.pk-page-footer__col--footer-solutions {
	display: none;
}

.pk-page-footer__col--contact {
	grid-column: 1 / -1;
}

.pk-page-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pk-page-footer__menu a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color var(--pk-motion-duration) var(--pk-motion-easing);
}

.pk-page-footer__menu a:hover,
.pk-page-footer__menu a:focus-visible {
	color: var(--pk-color-text-accent-on-dark);
}

.pk-page-footer__menu .pk-footer-hide-mobile,
.pk-page-footer__label-full {
	display: none;
}

.pk-page-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 12px;
	line-height: 16px;
	color: rgba(255, 255, 255, 0.6);
}

.pk-page-footer__copy-extra {
	display: none;
}

.pk-page-footer .pk-page-header__lang {
	gap: 4px;
}

.pk-page-footer .pk-page-header__lang-link,
.pk-page-footer .pk-page-header__lang-link.is-active {
	color: rgba(255, 255, 255, 0.6);
	font-weight: 400;
}

.pk-page-footer .pk-page-header__lang-link:hover,
.pk-page-footer .pk-page-header__lang-link.is-active:hover {
	color: var(--pk-color-text-accent-on-dark);
}

/* Figma separator is a middle dot. */
.pk-page-footer .pk-page-header__lang-sep {
	font-size: 0;
	color: rgba(255, 255, 255, 0.6);
}

.pk-page-footer .pk-page-header__lang-sep::before {
	content: "\00B7";
	font-size: 12px;
}

@media (min-width: 768px) {
	.pk-page-footer__inner {
		gap: 48px;
		padding-block: 80px 32px;
	}

	.pk-page-footer__top {
		flex-direction: row;
		align-items: flex-start;
		gap: 64px;
	}

	.pk-page-footer__brand {
		flex: 0 0 340px;
		gap: 18px;
	}

	.pk-page-footer__logo-link {
		width: 200px;
		height: 51px;
	}

	.pk-page-footer__logo-img {
		width: 303px;
	}

	.pk-page-footer__tagline {
		display: block;
	}

	.pk-page-footer__cols {
		flex: 1 1 auto;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: 64px;
	}

	.pk-page-footer__col,
	.pk-page-footer__menu {
		gap: 14px;
	}

	.pk-page-footer__col--footer-solutions {
		display: flex;
	}

	.pk-page-footer__col--contact {
		grid-column: auto;
	}

	.pk-page-footer__menu .pk-footer-hide-mobile {
		display: list-item;
	}

	.pk-page-footer__label-full,
	.pk-page-footer__copy-extra {
		display: inline;
	}

	.pk-page-footer__label-short {
		display: none;
	}

	.pk-page-footer__bottom {
		padding-top: 24px;
	}
}

/* Tablet: brand on top, four link columns below. */
@media (min-width: 768px) and (max-width: 1199px) {
	.pk-page-footer__top {
		flex-direction: column;
		gap: 48px;
	}

	.pk-page-footer__brand {
		flex-basis: auto;
		max-width: 340px;
	}

	.pk-page-footer__cols {
		width: 100%;
		gap: 32px;
	}
}

/* ——— Legacy widget examples (keep token colors) ——— */

.pk-widget-text {
	padding: 1.5rem 0;
}

.pk-widget-text__title {
	margin: 0 0 0.5rem;
	font-size: 1.75rem;
}

.pk-widget-text__description {
	margin-bottom: 1rem;
	color: var(--pk-color-text-muted);
}

.pk-widget-banner {
	position: relative;
	overflow: hidden;
}

.pk-widget-banner__image img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.pk-widget-banner__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem;
	color: var(--pk-color-text-inverse);
}

.pk-widget-banner__cta {
	display: inline-flex;
	align-items: center;
	margin-top: 1rem;
	text-decoration: none;
}

.pk-widget-slider {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 2rem;
}

@media (max-width: 768px) {
	.pk-widget-slider {
		grid-template-columns: 1fr;
	}
}

.pk-widget-slider__slides {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.pk-widget-slider__slide {
	padding: 1.5rem;
	border: 1px solid var(--pk-color-border-default);
	border-radius: var(--pk-radius-sm);
}

.pk-widget-slider__stars {
	display: flex;
	gap: 0.25rem;
	color: var(--pk-color-lime-400);
}

@media (prefers-reduced-motion: reduce) {
	.pk-button,
	.pk-page-header__menu a,
	.pk-page-breadcrumb__link,
	.pk-theme-card,
	.pk-theme-card__media img,
	.pk-theme-card__link svg,
	.pk-page-blog__chip,
	.pk-page-blog__subchip {
		transition: none;
	}

	.pk-theme-card:hover,
	.pk-theme-card:focus-within,
	.pk-theme-card:hover .pk-theme-card__media img {
		transform: none;
	}
}
