/**
 * Section styles for PubadHub Elementor widgets (hero, supply, sliders, blog, FAQ, contact, etc.).
 */

/* ---------- Hero ---------- */
.pah-hero {
	padding: 32px 24px 16px;
	max-width: 1320px;
	margin: 0 auto;
}

.pah-hero__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: stretch;
	background: #eeeaf8;
	border-radius: 28px;
	overflow: hidden;
	min-height: 480px;
}

.pah-hero__content {
	padding: 65px 48px 65px 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 2;
}

.pah-hero__heading {
	margin: 0 0 20px;
	font-family: var(--pah-font);
	font-size: clamp(2rem, 3.4vw, 3.15rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #150035;
}

.pah-hero__desc {
	margin: 0 0 28px;
	font-family: var(--pah-font-body);
	font-size: 1.2rem;
	line-height: 1.65;
	font-weight: 400;
}

.pah-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.pah-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	font-weight: 600;
	padding: 14px 22px;
	border-radius: 10px;
	border: 1.5px solid transparent;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	cursor: pointer;
}

.pah-hero__btn--primary {
	background: #473BF0;
	border-color: #473BF0;
	color: #fff;
}

.pah-hero__btn--primary:hover,
.pah-hero__btn--primary:focus {
	background: var(--pah-white) !important;
	border: 1px solid var(--pah-navy);
	color: var(--pah-navy);
}

.pah-hero__btn--secondary {
	background: #fff;
	border-color: #d5d2e0;
	color: #150035;
}

.pah-hero__btn--secondary:hover,
.pah-hero__btn--secondary:focus {
	border-color: #473bf0;
	color: #473bf0;
}

.pah-hero__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.pah-hero__feature {
	font-family: var(--pah-font-body);
	font-size: 0.88rem;
	font-weight: 500;
	color: #7a768c;
	position: relative;
	padding-left: 14px;
}

.pah-hero__feature::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #b0adc0;
	transform: translateY(-50%);
}

.pah-hero__media {
	position: relative;
	min-height: 320px;
	overflow: hidden;
}

.pah-hero__media::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 28%;
	background: linear-gradient(90deg, #eeeaf8 0%, rgba(238, 234, 248, 0) 100%);
	z-index: 1;
	pointer-events: none;
}

.pah-hero__img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* ---------- Logo Slider ---------- */
.pah-logo-slider {
	padding: 36px 0 48px;
	width: 100%;
	overflow: hidden;
	background: #fff;
}

.pah-logo-slider__intro {
	margin: 0 auto 28px;
	padding: 0 24px;
	text-align: center;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	font-weight: 400;
	color: #8a8799;
}

.pah-logo-slider__viewport {
	width: 100%;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.pah-logo-slider__track {
	display: flex;
	width: max-content;
	animation: pah-marquee var(--pah-marquee-duration, 40s) linear infinite;
	will-change: transform;
}

.pah-logo-slider.is-paused .pah-logo-slider__track {
	animation-play-state: paused;
}

.pah-logo-slider__group {
	display: flex;
	align-items: center;
	gap: 56px;
	padding-right: 56px;
	flex-shrink: 0;
}

.pah-logo-slider__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-decoration: none;
	opacity: 0.72;
	color: #3a3550;
	cursor: pointer;
}

.pah-logo-slider__item:hover,
.pah-logo-slider__item:focus {
	opacity: 1;
}

.pah-logo-slider__img {
	width: auto;
	max-width: 160px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.85;
}

.pah-logo-slider__item:hover .pah-logo-slider__img,
.pah-logo-slider__item:focus .pah-logo-slider__img {
	filter: grayscale(0);
	opacity: 1;
}

.pah-logo-slider__text {
	font-family: var(--pah-font);
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
	color: inherit;
}

/* Shift by one logo-group width (set in JS) for a seamless infinite loop. */
@keyframes pah-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-1 * var(--pah-marquee-shift, 50%)));
	}
}

@media (prefers-reduced-motion: reduce) {
	.pah-logo-slider__track {
		animation: none;
	}
}

/* ---------- Intent / split feature section ---------- */
.pah-intent {
	padding: 56px 24px;
	max-width: 1320px;
	margin: 0 auto;
}

.pah-intent__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 50px;
	align-items: center;
}

.pah-intent__heading {
	margin: 0 0 18px;
	font-family: var(--pah-font);
	font-size: clamp(1.75rem, 3vw, 2.55rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--pah-navy);
}

.pah-intent__desc {
	margin: 0 0 32px;
	font-family: var(--pah-font-body);
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--pah-muted);
}

.pah-intent__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.pah-intent__card {
	background: #f6f5fa;
	border: 1px solid rgba(21, 0, 53, 0.06);
	border-radius: 14px;
	padding: 18px 16px 20px;
}

/* Stacked layout inside intent cards needs the icon spaced from the title. */
.pah-intent__card .pah-icon-tile {
	margin-bottom: 14px;
}

.pah-intent__card-title {
	margin: 0 0 8px;
	font-family: var(--pah-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pah-navy);
}

.pah-intent__card-text {
	margin: 0;
	font-family: var(--pah-font-body);
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--pah-muted);
}

.pah-intent__media {
	min-width: 0;
}

.pah-intent__img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 12;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 15px !important;
}

/* Shared icon tile (used by Intent cards + Supply features) */
.pah-icon-tile {
	width: 45px;
	height: 45px;
	border-radius: 10px;
	background: #d4d0f5;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

.pah-icon-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pah-icon-tile__library {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	color: var(--pah-accent);
}

.pah-icon-tile__library i,
.pah-icon-tile__library svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ---------- Supply section ---------- */
.pah-supply {
	padding: 60px 24px;
	max-width: 1320px;
	margin: 0 auto;
}

.pah-supply__top {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 48px 56px;
	align-items: center;
	margin-bottom: 72px;
}

.pah-supply__img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 16 / 14;
	object-fit: cover;
	object-position: center;
	border-radius: 22px !important;
	display: block;
}

.pah-supply__heading {
	margin: 0 0 16px;
	font-family: var(--pah-font);
	font-size: clamp(1.7rem, 2.8vw, 2.4rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--pah-navy);
}

.pah-supply__desc {
	margin: 0 0 28px;
	font-family: var(--pah-font-body);
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--pah-muted);
}

.pah-supply__features {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.pah-supply__feature {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px 0;
	border-top: 1px solid rgba(21, 0, 53, 0.1);
}

.pah-supply__feature:last-child {
	border-bottom: 1px solid rgba(21, 0, 53, 0.1);
}

.pah-supply__feature-title {
	margin: 0 0 4px;
	font-family: var(--pah-font);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pah-navy);
}

.pah-supply__feature-text {
	margin: 0;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--pah-muted);
}

.pah-supply__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.pah-supply__categories-heading {
	margin: auto 0 28px 0;
	max-width: 28ch;
	font-family: var(--pah-font);
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--pah-navy);
}

.pah-supply__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.pah-supply__card {
	border: 1px solid rgba(21, 0, 53, 0.12);
	border-radius: 14px;
	padding: 22px 20px;
	background: #fff;
}

.pah-supply__cat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 14px;
	font-size: 32px;
	line-height: 1;
	color: #4f46e5;
}

.pah-supply__cat-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.pah-supply__cat-icon img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.pah-supply__cat-title {
	margin: 0 0 10px;
	font-family: var(--pah-font);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pah-navy);
}

.pah-supply__cat-text {
	margin: 0;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--pah-muted);
}

/* ---------- Timeline steps section ---------- */
.pah-timeline {
	background: #edeafb;
	padding: 70px 24px;
}

.pah-timeline__inner {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	column-gap: 56px;
	row-gap: 32px;
	align-items: start;
}

.pah-timeline__heading {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	font-family: var(--pah-font);
	font-size: clamp(1.7rem, 2.8vw, 2.4rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--pah-navy);
	max-width: 20ch;
}

.pah-timeline__note {
	grid-column: 2;
	grid-row: 1;
	margin: 6px 0 0;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--pah-muted);
	max-width: 30rem;
}

.pah-timeline__steps {
	grid-column: 1;
	grid-row: 2;
}

.pah-timeline__step {
	border-bottom: 1px solid rgba(21, 0, 53, 0.1);
}

.pah-timeline__trigger {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 22px 0;
	background: none;
	border: 0;
	text-align: left;
	cursor: pointer;
	font-family: var(--pah-font);
}

.pah-timeline__num {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(21, 0, 53, 0.15);
	background: transparent;
	font-size: 1rem;
	font-weight: 600;
	color: var(--pah-muted);
	transition: background-color var(--pah-transition), color var(--pah-transition), border-color var(--pah-transition);
}

.pah-timeline__step.is-active .pah-timeline__num {
	background: var(--pah-accent);
	border-color: var(--pah-accent);
	color: #fff;
}

.pah-timeline__step-title {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pah-navy);
}

.pah-timeline__step-day {
	margin-left: auto;
	font-size: 1rem;
	font-weight: 500;
	color: #8a8799;
	white-space: nowrap;
}

/* Collapsed by default; JS sets max-height for a smooth open. */
.pah-timeline__body {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease;
}

.pah-timeline__step.is-active .pah-timeline__body {
	opacity: 1;
}

.pah-timeline__step-text {
	margin: 0;
	padding: 0 0 20px 40px;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--pah-muted);
	max-width: 34rem;
}

/* All panels share one grid cell so the box sizes to the tallest panel. */
.pah-timeline__panels {
	grid-column: 2;
	grid-row: 2;
	display: grid;
	grid-template-areas: "stack";
	align-items: start;
	align-self: start;
}

/* Long step lists: keep the panel in view. Offset clears the sticky header. */
.pah-timeline__panels--sticky {
	position: sticky;
	top: calc(var(--pah-header-h) + 24px);
}

.pah-timeline__panel {
	grid-area: stack;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
	pointer-events: none;
}

.pah-timeline__panel.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.pah-timeline__panel-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 18px !important;
	object-fit: cover;
}

.pah-timeline__card {
	background: #fff;
	border-radius: 18px;
	padding: 22px 26px 26px;
	box-shadow: 0 14px 40px rgba(21, 0, 53, 0.08);
}

.pah-timeline__card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(21, 0, 53, 0.08);
	margin-bottom: 22px;
}

.pah-timeline__card-label {
	font-family: var(--pah-font);
	font-size: 1rem;
	font-weight: 500;
	color: var(--pah-navy);
}

.pah-timeline__card-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--pah-font);
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--pah-accent);
}

.pah-timeline__card-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pah-accent);
}

.pah-timeline__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.pah-timeline__stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pah-timeline__stat-value {
	font-family: var(--pah-font);
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--pah-navy);
}

.pah-timeline__stat-value--accent {
	color: var(--pah-accent);
}

.pah-timeline__stat-label {
	font-family: var(--pah-font);
	font-size: 0.85rem;
	color: var(--pah-muted);
}

/* ---------- Shared section heading (reused by newer sections) ---------- */
.pah-section-heading {
	margin: 0;
	font-family: var(--pah-font);
	font-size: clamp(1.7rem, 2.8vw, 2.4rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--pah-navy);
}

/* ---------- Scroll showcase (sticky panel synced to scrolling boxes) ---------- */
.pah-showcase {
	--pah-showcase-accent: #473bf0;
	--pah-showcase-fade: 550ms;
	background: #fbfaf7;
	padding: 60px 24px;
}

.pah-showcase__inner {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 48px;
	align-items: start;
}

.pah-showcase__intro {
	max-width: 30rem;
	padding-bottom: 8px;
}

.pah-showcase__desc {
	margin: 16px 0 0;
	font-family: var(--pah-font-body);
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--pah-muted);
}

.pah-showcase__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 30rem;
	min-height: 52vh;
	padding: 24px 0;
	opacity: 0.45;
	transition: opacity var(--pah-showcase-fade) ease;
}

.pah-showcase__item.is-active {
	opacity: 1;
}

.pah-showcase__item-title {
	margin: 0;
	font-family: var(--pah-font);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pah-navy);
}

.pah-showcase__item-text {
	margin: 12px 0 0;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--pah-muted);
}

.pah-showcase__list {
	margin: 15px 0;
	padding: 0 0 0 1.2em;
	font-family: var(--pah-font-body);
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--pah-navy);
}

.pah-showcase__list--ul {
	list-style: disc;
}

.pah-showcase__list--ol {
	list-style: decimal;
}

.pah-showcase__list-item {
	margin: 0 0 6px;
	padding: 0;
}

.pah-showcase__list-item:last-child {
	margin-bottom: 0;
}

.pah-showcase__pills {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 15px 0;
	padding: 0;
}

.pah-showcase__pill {
	padding: 7px 12px;
	border-radius: 8px;
	background: var(--pah-showcase-pill-bg, #edeafb);
	font-family: var(--pah-font-body);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--pah-showcase-pill-color, var(--pah-navy));
}

.pah-showcase__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin: 15px 0;
}

/* Sized with max-height + a variable so Elementor's `img { height: auto }` cannot win. */
.pah-showcase__logos .pah-showcase__logo {
	flex: 0 0 auto;
	display: block;
	width: auto;
	max-width: 120px;
	max-height: var(--pah-showcase-logo-h, 22px);
	object-fit: contain;
	opacity: 0.95;
}

.pah-showcase__icon-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 15px 0;
	padding: 0;
	list-style: none;
}

.pah-showcase__icon-link-item {
	margin: 0;
	padding: 0;
}

.pah-showcase__icon-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--pah-font-body);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--pah-navy);
	text-decoration: none;
	transition: color var(--pah-transition);
}

.pah-showcase__icon-link:hover,
.pah-showcase__icon-link:focus-visible {
	color: var(--pah-showcase-accent);
}

.pah-showcase__link-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	font-size: 16px;
	line-height: 1;
	color: var(--pah-showcase-accent);
}

.pah-showcase__link-icon i,
.pah-showcase__link-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Inline media is only used on small screens. */
.pah-showcase__item-media {
	display: none;
	margin: 20px 0 0;
}

.pah-showcase__panel {
	position: sticky;
	top: 96px;
	align-self: start;
}

.pah-showcase__panel-head {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 16px;
}

.pah-showcase__progress {
	display: flex;
	flex: 1 1 auto;
	gap: 10px;
	min-width: 0;
}

.pah-showcase__bar {
	position: relative;
	flex: 1 1 0;
	height: 3px;
	border-radius: 99px;
	background: rgba(21, 0, 53, 0.12);
	overflow: hidden;
}

.pah-showcase__bar-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	border-radius: 99px;
	background: var(--pah-showcase-accent);
	transition: width 120ms linear;
}

.pah-showcase__count {
	margin: 0;
	flex: 0 0 auto;
	font-family: var(--pah-font-body);
	font-size: 0.82rem;
	font-variant-numeric: tabular-nums;
	color: var(--pah-muted);
}

.pah-showcase__count-current {
	color: var(--pah-navy);
	font-weight: 600;
}

.pah-showcase__figures {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	background: var(--pah-white);
	box-shadow: 0 18px 50px rgba(21, 0, 53, 0.08);
	overflow: hidden;
}

.pah-showcase__figure {
	position: absolute;
	inset: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.015);
	transition: opacity var(--pah-showcase-fade) ease, transform var(--pah-showcase-fade) ease, visibility var(--pah-showcase-fade);
}

.pah-showcase__figure.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.pah-showcase__figures .pah-showcase__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.pah-showcase__items .pah-showcase__item-media img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 14px 36px rgba(21, 0, 53, 0.08);
}

.pah-showcase__figure-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px;
	text-align: center;
}

.pah-showcase__figure-num {
	font-family: var(--pah-font);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--pah-showcase-accent);
}

.pah-showcase__figure-title {
	font-family: var(--pah-font-body);
	font-size: 0.95rem;
	color: var(--pah-muted);
}

@media (prefers-reduced-motion: reduce) {
	.pah-showcase__figure,
	.pah-showcase__item,
	.pah-showcase__bar-fill {
		transition: none;
	}
}

/* ---------- Card slider section ---------- */
.pah-cslider {
	background: #fbfaf7;
	padding: 60px 24px;
}

.pah-cslider__inner {
	max-width: 1320px;
	margin: 0 auto;
}

.pah-cslider__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.pah-cslider__nav {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.pah-cslider__btn {
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(21, 0, 53, 0.18);
	background: #fff;
	color: var(--pah-navy);
	font-size: 1rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.pah-cslider__btn--next {
	background: var(--pah-navy);
	border-color: var(--pah-navy);
	color: #fff;
}

.pah-cslider__btn:hover {
	background: var(--pah-navy);
	border-color: var(--pah-navy);
	color: #fff;
}

.pah-cslider__btn--next:hover {
	opacity: 0.85;
}

.pah-cslider__btn[disabled] {
	opacity: 0.35;
	cursor: default;
}

.pah-cslider__viewport {
	overflow: hidden;
}

.pah-cslider__track {
	display: flex;
	gap: var(--pah-slider-gap, 16px);
	will-change: transform;
	transition: transform var(--pah-slider-speed, 650ms) cubic-bezier(0.4, 0.01, 0.2, 1);
}

.pah-cslider.is-dragging .pah-cslider__track {
	transition: none;
	cursor: grabbing;
}

.pah-cslider__slide {
	flex: 0 0 var(--pah-slide-w, 25%);
	max-width: var(--pah-slide-w, 25%);
}

.pah-cslider__card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 18px;
	aspect-ratio: 3 / 4;
	background: #e8e5f5;
	color: #fff;
	text-decoration: none;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pah-cslider__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease;
}

.pah-cslider__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(21, 0, 53, 0.3) 0%,
		rgba(21, 0, 53, 0) 32%,
		rgba(21, 0, 53, 0.08) 52%,
		rgba(21, 0, 53, 0.74) 100%
	);
}

.pah-cslider__logo {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 6px 10px;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(21, 0, 53, 0.14);
}

.pah-cslider__logo img {
	display: block;
	width: auto;
	max-width: 96px;
	max-height: 20px;
	object-fit: contain;
}

.pah-cslider__logo--text {
	font-family: var(--pah-font);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--pah-navy);
}

.pah-cslider__body {
	position: absolute;
	inset: auto 16px 16px 16px;
	z-index: 2;
}

.pah-cslider__card-heading {
	margin: 0 0 6px;
	font-family: var(--pah-font);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}

.pah-cslider__card-text {
	margin: 0;
	font-family: var(--pah-font-body);
	font-size: 0.85rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.pah-cslider__note {
	margin: 18px 0 0;
	font-family: var(--pah-font-body);
	font-size: 0.85rem;
	color: var(--pah-muted);
}

/* Hover effects (chosen in Elementor) */
.pah-cslider--hover-zoom .pah-cslider__card:hover .pah-cslider__img,
.pah-cslider--hover-zoom-lift .pah-cslider__card:hover .pah-cslider__img {
	transform: scale(1.07);
}

.pah-cslider--hover-lift .pah-cslider__card:hover,
.pah-cslider--hover-zoom-lift .pah-cslider__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 34px rgba(21, 0, 53, 0.18);
}

@media (prefers-reduced-motion: reduce) {
	.pah-cslider__track,
	.pah-cslider__img,
	.pah-cslider__card {
		transition: none;
	}
}

/* ---------- Testimonial slider section ---------- */
.pah-tslider {
	background: #1c1240;
	padding: 70px 24px;
}

.pah-tslider__inner {
	max-width: var(--pah-container);
	margin: 0 auto;
}

.pah-tslider__head {
	margin-bottom: 34px;
}

.pah-tslider__title {
	color: var(--pah-white);
}

.pah-tslider__stage {
	display: flex;
	align-items: center;
	gap: 20px;
}

.pah-tslider__btn {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: rgba(255, 255, 255, 0.55);
	font-size: 1rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.pah-tslider__btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--pah-white);
}

.pah-tslider__btn[disabled] {
	opacity: 0.3;
	cursor: default;
}

.pah-tslider__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.pah-tslider__track {
	display: flex;
	align-items: flex-start;
	will-change: transform;
	transition: transform var(--pah-tslider-speed, 600ms) cubic-bezier(0.4, 0.01, 0.2, 1);
}

.pah-tslider.is-dragging .pah-tslider__track {
	transition: none;
}

.pah-tslider__slide {
	flex: 0 0 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 16px;
	text-align: center;
}

.pah-tslider__quote {
	margin: 0 auto 26px;
	max-width: 640px;
	font-family: var(--pah-font);
	font-size: clamp(1.15rem, 1.9vw, 1.6rem);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--pah-white);
}

.pah-tslider__author {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-align: left;
}

.pah-tslider__avatar {
	width: 40px;
	height: 40px;
	/* Elementor's `.elementor img` reset wins on specificity without this. */
	border-radius: 50% !important;
	object-fit: cover;
	flex-shrink: 0;
}

.pah-tslider__avatar--initials {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.14);
	font-family: var(--pah-font);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--pah-white);
}

.pah-tslider__meta {
	display: flex;
	flex-direction: column;
}

.pah-tslider__name {
	font-family: var(--pah-font);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pah-white);
}

.pah-tslider__role {
	font-family: var(--pah-font-body);
	font-size: 0.78rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.62);
}

.pah-tslider__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
}

.pah-tslider__dot {
	width: 22px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.28);
	cursor: pointer;
	transition: background 0.25s ease, width 0.25s ease;
}

.pah-tslider__dot.is-active {
	width: 30px;
	background: var(--pah-white);
}

/* Fade effect: slides stack, so the viewport keeps the tallest height. */
.pah-tslider--fade .pah-tslider__track {
	display: grid;
	grid-template-areas: 'stack';
	transform: none !important;
	transition: none;
}

.pah-tslider--fade .pah-tslider__slide {
	grid-area: stack;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--pah-tslider-speed, 600ms) ease, visibility var(--pah-tslider-speed, 600ms) ease;
}

.pah-tslider--fade .pah-tslider__slide.is-active {
	opacity: 1;
	visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
	.pah-tslider__track,
	.pah-tslider__slide,
	.pah-tslider__dot {
		transition: none;
	}
}

/* ---------- Integrations grid section ---------- */
.pah-integrations {
	background: var(--pah-white);
	padding: 70px 24px;
}

.pah-integrations__inner {
	max-width: var(--pah-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	column-gap: 56px;
	row-gap: 32px;
	align-items: start;
}

/* Sticky keeps the text in view while a long logo grid scrolls past. */
.pah-integrations__content--sticky {
	position: sticky;
	top: calc(var(--pah-header-h) + 24px);
	align-self: start;
}

.pah-integrations__heading {
	margin-bottom: 18px;
}

.pah-integrations__desc {
	margin: 0 0 22px;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--pah-muted);
}

.pah-integrations__points {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pah-integrations__point {
	position: relative;
	padding: 0 0 10px 18px;
	font-family: var(--pah-font-body);
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--pah-muted);
}

.pah-integrations__point::before {
	content: '';
	position: absolute;
	top: 0.6em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pah-accent);
}

.pah-integrations__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.pah-integrations__grid--fill {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.pah-integrations__card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 74px;
	padding: 16px 18px;
	border: 1px solid rgba(21, 0, 53, 0.12);
	border-radius: 10px;
	background: var(--pah-white);
	text-decoration: none;
	transition: border-color var(--pah-transition), box-shadow var(--pah-transition), transform var(--pah-transition);
}

.pah-integrations__card:hover {
	box-shadow: 0 10px 24px rgba(21, 0, 53, 0.08);
	transform: translateY(-2px);
	background: #F1EFFA;
    border-color: #4232D8 !important;
}

.pah-integrations__logo {
	width: auto;
	max-width: 100%;
	max-height: 30px;
	object-fit: contain;
}

.pah-integrations__name {
	font-family: var(--pah-font);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: var(--pah-navy);
}

/* ---------- Blog spotlight (home) ---------- */
.pah-blog {
	background: #f7f6f3;
	padding: 70px 24px;
}

.pah-blog__inner {
	max-width: var(--pah-container);
	margin: 0 auto;
}

.pah-blog__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
}

.pah-blog__intro {
	max-width: 48ch;
}

.pah-blog__desc,
.pah-blog-grid__desc {
	margin: 12px 0 0;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--pah-muted);
}

.pah-blog__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 10px 18px;
	border-radius: 10px;
	border: 1px solid rgba(21, 0, 53, 0.12);
	background: transparent;
	color: var(--pah-navy);
	font-family: var(--pah-font-body);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: background var(--pah-transition), border-color var(--pah-transition);
}

.pah-blog__all:hover {
	background: #F1EFFA;
    border-color: #4232D8;
    color: #1B1638;
}

.pah-blog__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.pah-blog__featured-media {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	aspect-ratio: 16 / 10;
	background: #e8e5f5;
}

.pah-blog__featured-media img,
.pah-blog-grid__media img,
.pah-blog__item-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: inherit;
}

.pah-blog__media-fallback {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: linear-gradient(135deg, #edeafb 0%, #dcd7f5 100%);
}

.pah-blog__media-fallback--sm {
	min-height: 72px;
}

.pah-blog__featured-body {
	padding-top: 22px;
}

.pah-blog__featured-title {
	margin: 0 0 12px;
	font-family: var(--pah-font-body);
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.pah-blog__featured-title a,
.pah-blog__item-title a,
.pah-blog-grid__title a {
	font-family: var(--pah-font);
	text-decoration: none;
	color: #150035;
}

.pah-blog__featured-title a:hover,
.pah-blog__item-title a:hover,
.pah-blog-grid__title a:hover {
	color: var(--pah-accent);
}

.pah-blog__featured-excerpt {
	margin: 0 0 18px;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--pah-muted);
}

.pah-blog__meta {
	margin: 0;
	font-family: var(--pah-font-body);
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--pah-muted);
}

.pah-blog__meta--sm {
	font-size: 0.8rem;
}

.pah-blog__sep {
	margin: 0 6px;
	opacity: 0.7;
}

.pah-blog__author,
.pah-blog__cat {
	font-weight: 500;
	color: var(--pah-navy);
}

.pah-blog__list {
	display: flex;
	flex-direction: column;
}

.pah-blog__item {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid rgba(21, 0, 53, 0.1);
}

.pah-blog__item:first-child {
	padding-top: 0;
}

.pah-blog__item-media {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	/* aspect-ratio: 4 / 3; */
	background: #e8e5f5;
}

.pah-blog__item-title {
	margin: 0 0 8px;
	font-family: var(--pah-font-body);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.pah-blog__item-excerpt {
	margin: 0 0 10px;
	font-family: var(--pah-font-body);
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--pah-muted);
}

.pah-blog__nl {
	margin-top: 28px;
	padding: 24px;
	border-radius: 14px;
	background: #edeafb;
}

.pah-blog__nl-title {
	margin: 0 0 8px;
	font-family: var(--pah-font);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--pah-navy);
}

.pah-blog__nl-text {
	margin: 0 0 16px;
	font-family: var(--pah-font-body);
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--pah-muted);
}

.pah-blog__nl-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: relative;
}

.pah-blog__nl-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pah-blog__nl-input {
	flex: 1 1 160px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgba(21, 0, 53, 0.1);
	border-radius: 10px;
	background: var(--pah-white);
	font-family: var(--pah-font-body);
	font-size: 0.92rem;
	color: var(--pah-navy);
}

.pah-blog__nl-form.is-invalid .pah-blog__nl-input {
	border-color: #c0392b;
}

.pah-blog__nl-input:focus {
	outline: 2px solid var(--pah-accent);
	outline-offset: 1px;
}

.pah-blog__nl-btn {
	padding: 12px 18px;
	border: 1px solid #473BF0;
	border-radius: 10px;
	background: #473BF0;
	color: var(--pah-white);
	font-family: var(--pah-font-body);
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity var(--pah-transition), background var(--pah-transition), color var(--pah-transition), border-color var(--pah-transition);
}

.pah-blog__nl-btn:hover {
	background: var(--pah-white);
	border: 1px solid var(--pah-navy);
	color: var(--pah-navy);
}

.pah-blog__nl-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.pah-blog__nl-form .pah-form__error {
	display: block;
	min-height: 1.1em;
	font-size: 0.8rem;
	color: #c0392b;
}

.pah-blog__nl-status {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.4;
}

.pah-blog__nl-status.is-success {
	color: #1e7a46;
}

.pah-blog__nl-status.is-error {
	color: #c0392b;
}

.pah-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.pah-blog__empty {
	margin: 0;
	font-family: var(--pah-font-body);
	color: var(--pah-muted);
}

/* ---------- Blog grid (Blog page / archive) ---------- */
.pah-blog-grid {
	background: #f7f6f3;
	padding: 70px 24px;
}

.pah-blog-grid__inner {
	max-width: var(--pah-container);
	margin: 0 auto;
}

.pah-blog-grid__head {
	max-width: 48ch;
	margin-bottom: 36px;
}

.pah-blog-grid__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 22px;
}

.pah-blog-grid__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pah-blog-grid__media {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	aspect-ratio: 16 / 10;
	background: #e8e5f5;
}

.pah-blog-grid__body {
	padding-top: 16px;
}

.pah-blog-grid__title {
	margin: 0 0 10px;
	font-family: var(--pah-font);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.pah-blog-grid__excerpt {
	margin: 0 0 12px;
	font-family: var(--pah-font-body);
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--pah-muted);
}

.pah-blog-grid__nav {
	margin-top: 40px;
}

.pah-blog-grid__nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.pah-blog-grid__nav a,
.pah-blog-grid__nav span {
	font-family: var(--pah-font-body);
	font-size: 0.92rem;
	color: var(--pah-navy);
	text-decoration: none;
}

.pah-blog-grid__nav .current {
	font-weight: 700;
}

/* ---------- Single post: hero ---------- */
.pah-post-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #150035 0%, #250050 52%, #33127a 100%);
	padding: 64px 24px 70px;
}

.pah-post-hero::after {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(71, 59, 240, 0.45) 0%, rgba(71, 59, 240, 0) 70%);
	pointer-events: none;
}

.pah-post-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
	align-items: center;
	gap: 48px;
}

.pah-post-hero__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-family: var(--pah-font-body);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}

.pah-post-hero__crumbs a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color var(--pah-transition);
}

.pah-post-hero__crumbs a:hover,
.pah-post-hero__crumbs a:focus-visible {
	color: var(--pah-white);
}

.pah-post-hero__title {
	margin: 0 0 22px;
	max-width: 20ch;
	font-family: var(--pah-font);
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--pah-white);
}

.pah-post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--pah-font-body);
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.72);
}

.pah-post-hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pah-post-hero__meta-item::before {
	content: "";
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	background-color: rgba(255, 255, 255, 0.72);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.pah-post-hero__meta-item--author::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-8 2.7-8 6v2h16v-2c0-3.3-3.6-6-8-6Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-8 2.7-8 6v2h16v-2c0-3.3-3.6-6-8-6Z'/%3E%3C/svg%3E");
}

.pah-post-hero__meta-item--date::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7Zm12 8v10H5V10h14Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7Zm12 8v10H5V10h14Z'/%3E%3C/svg%3E");
}

.pah-post-hero__meta-item--cat::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10 3H4a1 1 0 0 0-1 1v6a1 1 0 0 0 .3.7l9 9a1 1 0 0 0 1.4 0l6.99-7a1 1 0 0 0 0-1.4l-9-9A1 1 0 0 0 10 3Zm-3 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10 3H4a1 1 0 0 0-1 1v6a1 1 0 0 0 .3.7l9 9a1 1 0 0 0 1.4 0l6.99-7a1 1 0 0 0 0-1.4l-9-9A1 1 0 0 0 10 3Zm-3 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z'/%3E%3C/svg%3E");
}

.pah-post-hero__card {
	margin: 0;
	padding: 12px;
	border-radius: 20px;
	background: var(--pah-white);
	box-shadow: 0 30px 60px rgba(6, 0, 20, 0.35);
}

.pah-post-hero__card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 12px;
}

/* ---------- Single post: body layout ---------- */
.pah-post-body {
	background: #f7f6f3;
	padding: 56px 24px 80px;
}

.pah-post-body__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: 64px;
}

.pah-post-body--wide .pah-post-body__inner {
	grid-template-columns: minmax(0, 1fr);
}

.pah-post-body--wide .pah-post-main {
	max-width: 780px;
}

.pah-post-main {
	min-width: 0;
}

/* ---------- Single post: table of contents ---------- */
.pah-post-aside {
	position: sticky;
	top: calc(var(--pah-header-h) + 24px);
}

.pah-toc {
	border: 1px solid rgba(21, 0, 53, 0.1);
	border-radius: 14px;
	background: var(--pah-white);
	overflow: hidden;
}

.pah-toc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px 18px;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
}

.pah-toc__title {
	font-family: var(--pah-font);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--pah-navy);
}

.pah-toc__chevron {
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	border-right: 2px solid var(--pah-navy);
	border-bottom: 2px solid var(--pah-navy);
	transform: rotate(-135deg);
	transition: transform var(--pah-transition);
}

.pah-toc__head[aria-expanded="false"] .pah-toc__chevron {
	transform: rotate(45deg);
}

.pah-toc__list {
	margin: 0;
	padding: 0 18px 18px;
	list-style: none;
	counter-reset: pah-toc;
	max-height: min(60vh, 520px);
	overflow-y: auto;
}

.pah-toc__head[aria-expanded="false"] + .pah-toc__list {
	display: none;
}

.pah-toc__item {
	counter-increment: pah-toc;
}

.pah-toc__item--h3 {
	counter-increment: none;
	padding-left: 18px;
}

.pah-toc__link {
	display: block;
	padding: 6px 0;
	font-family: var(--pah-font-body);
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--pah-muted);
	text-decoration: none;
	transition: color var(--pah-transition);
}

.pah-toc__item--h2 > .pah-toc__link::before {
	content: counter(pah-toc) ". ";
	color: var(--pah-accent);
	font-weight: 600;
}

.pah-toc__item--h3 > .pah-toc__link::before {
	content: "– ";
	color: rgba(71, 59, 240, 0.6);
}

.pah-toc__link:hover,
.pah-toc__link:focus-visible,
.pah-toc__link.is-active {
	color: var(--pah-accent);
}

.pah-toc__link.is-active {
	font-weight: 600;
}

/* ---------- Single post: content typography ---------- */
.pah-post-content {
	font-family: var(--pah-font-body);
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--pah-text);
}

.pah-post-content > *:first-child {
	margin-top: 0;
}

.pah-post-content > *:last-child {
	margin-bottom: 0;
}

.pah-post-content p {
	margin: 0 0 1.2em;
}

.pah-post-content h1,
.pah-post-content h2,
.pah-post-content h3,
.pah-post-content h4,
.pah-post-content h5,
.pah-post-content h6 {
	font-family: var(--pah-font);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--pah-navy);
	scroll-margin-top: calc(var(--pah-header-h) + 24px);
}

.pah-post-content h1,
.pah-post-content h2 {
	position: relative;
	margin: 2em 0 0.8em;
	padding-bottom: 12px;
	font-size: clamp(1.45rem, 2.2vw, 1.75rem);
	border-bottom: 1px solid rgba(21, 0, 53, 0.1);
}

.pah-post-content h1 {
	font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.pah-post-content h1::after,
.pah-post-content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 52px;
	height: 3px;
	border-radius: 2px;
	background: var(--pah-accent);
}

.pah-post-content h3 {
	margin: 1.7em 0 0.6em;
	padding-left: 14px;
	font-size: clamp(1.12rem, 1.6vw, 1.25rem);
	border-left: 3px solid var(--pah-accent);
}

.pah-post-content h4,
.pah-post-content h5,
.pah-post-content h6 {
	margin: 1.5em 0 0.5em;
	font-size: 1.02rem;
}

.pah-post-content a {
	color: var(--pah-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--pah-transition);
}

.pah-post-content a:hover,
.pah-post-content a:focus-visible {
	color: var(--pah-navy);
}

.pah-post-content strong {
	color: var(--pah-navy);
	font-weight: 600;
}

.pah-post-content ul,
.pah-post-content ol {
	margin: 0 0 1.3em;
	padding: 0;
	list-style: none;
}

.pah-post-content ul li,
.pah-post-content ol li {
	position: relative;
	margin-bottom: 0.6em;
	padding-left: 32px;
}

.pah-post-content ul li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 0.7em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pah-accent);
}

.pah-post-content ol {
	counter-reset: pah-ol;
}

.pah-post-content ol > li {
	counter-increment: pah-ol;
}

.pah-post-content ol > li::before {
	content: counter(pah-ol);
	position: absolute;
	left: 0;
	top: 0.25em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #edeafb;
	font-family: var(--pah-font);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--pah-accent);
}

.pah-post-content li > ul,
.pah-post-content li > ol {
	margin: 0.6em 0 0;
}

/* Pasted images can be any ratio, so cap the height instead of cropping. */
.pah-post-content img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 620px;
	margin: 2em auto;
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(21, 0, 53, 0.12);
}

.pah-post-content th img,
.pah-post-content td img {
	max-height: 72px;
	margin: 0;
	border-radius: 8px;
	box-shadow: none;
}

.pah-post-content .pah-table {
	margin: 2em 0;
	overflow-x: auto;
	border: 1px solid rgba(21, 0, 53, 0.1);
	border-radius: 14px;
	background: var(--pah-white);
}

.pah-post-content table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--pah-font-body);
	font-size: 0.95rem;
}

.pah-post-content th {
	padding: 14px 18px;
	background: var(--pah-navy);
	font-family: var(--pah-font);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--pah-white);
	text-align: left;
	white-space: nowrap;
}

.pah-post-content td {
	padding: 14px 18px;
	border-top: 1px solid rgba(21, 0, 53, 0.08);
	color: var(--pah-text);
	vertical-align: top;
}

.pah-post-content tbody tr:nth-child(even) {
	background: #faf9ff;
}

.pah-post-content tbody td:first-child {
	font-weight: 600;
	color: var(--pah-navy);
}

.pah-post-content caption {
	padding: 0 0 12px;
	font-family: var(--pah-font-body);
	font-size: 0.85rem;
	color: var(--pah-muted);
	text-align: left;
}

.pah-post-content hr {
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid rgba(21, 0, 53, 0.12);
}

.pah-post-content code {
	padding: 2px 6px;
	border-radius: 5px;
	background: #edeafb;
	font-size: 0.9em;
	color: var(--pah-navy);
}

.pah-post-content pre {
	margin: 2em 0;
	padding: 18px 20px;
	overflow-x: auto;
	border-radius: 12px;
	background: var(--pah-navy);
	color: #e8e5ff;
}

.pah-post-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

/* ---------- Single post: tags, footer, prev / next ---------- */
.pah-post-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
}

.pah-post-tags__label {
	font-family: var(--pah-font-body);
	font-size: 0.85rem;
	color: var(--pah-muted);
}

.pah-post-tags a {
	display: inline-flex;
	padding: 5px 12px;
	border-radius: 999px;
	background: #edeafb;
	font-family: var(--pah-font-body);
	font-size: 0.82rem;
	color: var(--pah-navy);
	text-decoration: none;
	transition: background var(--pah-transition);
}

.pah-post-tags a:hover,
.pah-post-tags a:focus-visible {
	background: #ddd8fb;
}

.pah-post-foot {
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid rgba(21, 0, 53, 0.1);
}

.pah-post-foot__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--pah-font-body);
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--pah-accent);
	text-decoration: none;
}

.pah-post-foot__back::before {
	content: "←";
}

.pah-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.pah-post-nav__link {
	display: block;
	padding: 16px 18px;
	border: 1px solid rgba(21, 0, 53, 0.1);
	border-radius: 12px;
	background: var(--pah-white);
	text-decoration: none;
	transition: border-color var(--pah-transition), transform var(--pah-transition);
}

.pah-post-nav__link:hover,
.pah-post-nav__link:focus-visible {
	border-color: var(--pah-accent);
	transform: translateY(-2px);
}

.pah-post-nav__link--next {
	text-align: right;
	grid-column: 2;
}

.pah-post-nav__label {
	display: block;
	margin-bottom: 4px;
	font-family: var(--pah-font-body);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pah-muted);
}

.pah-post-nav__title {
	display: block;
	font-family: var(--pah-font);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--pah-navy);
}

/* ---------- About statistics section ---------- */
.pah-about {
	background: #f7f6f3;
	padding: 54px 24px 70px;
}

.pah-about__inner {
	max-width: var(--pah-container);
	margin: 0 auto;
}

.pah-about__intro {
	max-width: 620px;
	margin-bottom: 30px;
}

.pah-about__intro-text {
	margin: 10px 0 0;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--pah-muted);
}

.pah-about__panel {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
	gap: 52px;
	padding: 38px 42px;
	border-radius: 14px;
	background: #1c1240;
	color: var(--pah-white);
}

.pah-about__story-title {
	margin: 0 0 18px;
	font-family: var(--pah-font);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -0.02em;
	color: var(--pah-white);
}

.pah-about__story-text {
	margin: 0 0 22px;
	font-family: var(--pah-font-body);
	font-size: 0.94rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

.pah-about__points {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pah-about__points li {
	position: relative;
	padding: 0 0 10px 20px;
	font-family: var(--pah-font-body);
	font-size: 0.88rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.82);
}

.pah-about__points li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: #938af8;
	font-weight: 700;
}

.pah-about__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
}

.pah-about__stat {
	padding: 0 22px 22px 0;
}

.pah-about__stat:nth-child(even) {
	padding-left: 22px;
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.pah-about__stat:nth-child(n + 3) {
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pah-about__stat-value {
	display: block;
	margin-bottom: 6px;
	font-family: var(--pah-font);
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	font-weight: 700;
	line-height: 1;
	color: var(--pah-white);
}

.pah-about__stat-label {
	display: block;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.6);
}

.pah-about__network {
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pah-about__network-title {
	margin: 0 0 7px;
	font-family: var(--pah-font);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--pah-white);
}

.pah-about__network-text {
	margin: 0 0 14px;
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.6);
}

.pah-about__countries {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.pah-about__countries span {
    display: inline-flex;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-family: var(--pah-font-body);
    font-size: 0.9rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.84);
}

/* ---------- FAQ section ---------- */
.pah-faq {
	background: #f7f6f3;
	padding: 70px 24px;
}

.pah-faq__inner {
	max-width: var(--pah-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	gap: 64px;
	align-items: start;
}

.pah-faq__intro--sticky {
	position: sticky;
	top: calc(var(--pah-header-h) + 24px);
	align-self: start;
}

.pah-faq__desc {
	margin: 12px 0 18px;
	max-width: 38ch;
	font-family: var(--pah-font-body);
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--pah-muted);
}

.pah-faq__link {
	display: inline-flex;
	padding: 9px 14px;
	border: 1px solid rgba(21, 0, 53, 0.16);
	border-radius: 8px;
	background: transparent;
	font-family: var(--pah-font-body);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--pah-navy);
	text-decoration: none;
	transition: background var(--pah-transition), border-color var(--pah-transition);
}

.pah-faq__link:hover {
	background: #F1EFFA;
    border-color: #4232D8;
    color: #1B1638;
}

.pah-faq__items {
	border-top: 1px solid rgba(21, 0, 53, 0.14);
}

.pah-faq__item {
	border-bottom: 1px solid rgba(21, 0, 53, 0.14);
}

.pah-faq__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.pah-faq__question {
	font-family: var(--pah-font);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--pah-navy);
}

.pah-faq__icon {
	position: relative;
	width: 25px;
	height: 25px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--pah-navy);
	transition: transform 0.25s ease, background 0.25s ease;
}

.pah-faq__icon::before,
.pah-faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 2px;
	background: var(--pah-white);
	transform: translate(-50%, -50%);
}

.pah-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	transition: transform 0.25s ease;
}

.pah-faq__item.is-active .pah-faq__icon::after {
	transform: translate(-50%, -50%) rotate(0);
}

.pah-faq__answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s cubic-bezier(0.4, 0.01, 0.2, 1);
}

.pah-faq__answer-inner {
	padding: 0 44px 22px 0;
	font-family: var(--pah-font-body);
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--pah-muted);
}

.pah-faq__answer-inner > *:first-child {
	margin-top: 0;
}

.pah-faq__answer-inner > *:last-child {
	margin-bottom: 0;
}

/* ---------- Contact CTA + form ---------- */
.pah-contact {
	background: #edeafb;
	padding: 64px 24px;
}

.pah-contact__inner {
	max-width: var(--pah-container);
	margin: 0 auto;
}

.pah-contact__panel {
	display: grid;
	grid-template-columns: minmax(0, 0.99fr) minmax(0, 1.15fr);
	gap: 52px;
	padding: 38px 42px;
	border-radius: 14px;
	background: var(--pah-white);
}

.pah-contact__content {
	display: flex;
	flex-direction: column;
}

.pah-contact__heading {
	max-width: 16ch;
}

.pah-contact__desc {
	margin: 14px 0 24px;
	max-width: 42ch;
	font-family: var(--pah-font-body);
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--pah-muted);
}

.pah-contact__person {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	margin-bottom: 20px;
}

.pah-contact__avatar {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50% !important;
	object-fit: cover;
}

.pah-contact__avatar--initials {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dcd7f5;
	font-family: var(--pah-font);
	font-weight: 700;
	color: var(--pah-navy);
}

.pah-contact__person-name,
.pah-contact__person-role {
	display: block;
}

.pah-contact__person-name {
	font-family: var(--pah-font);
	font-size: 1.2rem;
	color: var(--pah-navy);
}

.pah-contact__person-role {
	font-family: var(--pah-font-body);
	font-size: 1rem;
	color: var(--pah-muted);
}

.pah-contact__methods {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pah-contact__methods a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	border: 1px solid rgba(71, 59, 240, 0.24);
	border-radius: 8px;
	text-decoration: none;
	color: var(--pah-navy);
	transition: border-color var(--pah-transition), background var(--pah-transition);
}

.pah-contact__methods a:hover {
	border-color: rgba(71, 59, 240, 0.5);
	background: rgba(71, 59, 240, 0.05);
}

.pah-contact__method-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 14px;
	line-height: 1;
	color: var(--pah-accent);
}

.pah-contact__method-icon svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.pah-contact__method-text {
	display: inline-flex;
	flex-direction: column;
}

.pah-contact__methods span {
	font-family: var(--pah-font-body);
	font-size: 0.8rem;
	color: var(--pah-muted);
}

.pah-contact__methods strong {
	font-family: var(--pah-font-body);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--pah-accent);
}

.pah-contact__form-wrap {
	padding: 24px;
	border: 1px solid rgba(21, 0, 53, 0.12);
	border-radius: 12px;
	background: #faf9f6;
}

.pah-contact__form-title {
	margin: 0 0 20px;
	font-family: var(--pah-font);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--pah-navy);
}

.pah-contact__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px 15px;
}

.pah-contact__field--full {
	grid-column: 1 / -1;
}

.pah-contact__field label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--pah-font-body);
	font-size: 16px;
	font-weight: 500;
	color: var(--pah-navy);
}

.pah-contact__field input,
.pah-contact__field select,
.pah-contact__field textarea {
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid rgba(21, 0, 53, 0.14);
	border-radius: 8px;
	background: var(--pah-white);
	font-family: var(--pah-font-body);
	font-size: 1rem;
	line-height: 1.4;
	color: var(--pah-navy);
	transition: border-color var(--pah-transition), box-shadow var(--pah-transition);
}

.pah-contact__field textarea {
	min-height: 96px;
	resize: vertical;
}

.pah-contact__field input:focus,
.pah-contact__field select:focus,
.pah-contact__field textarea:focus {
	outline: none;
	border-color: var(--pah-accent);
	box-shadow: 0 0 0 3px rgba(71, 59, 240, 0.12);
}

.pah-contact__field.is-invalid input,
.pah-contact__field.is-invalid select,
.pah-contact__field.is-invalid textarea {
	border-color: #c62828;
}

.pah-contact__error {
	display: block;
	min-height: 16px;
	margin-top: 4px;
	font-family: var(--pah-font-body);
	font-size: 0.72rem;
	line-height: 1.3;
	color: #b71c1c;
}

.pah-contact__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
}

.pah-contact__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 11px 18px;
	border: 1px solid #473BF0;
	border-radius: 8px;
	background: var(--pah-accent);
	font-family: var(--pah-font-body);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--pah-white);
	cursor: pointer;
	transition: opacity var(--pah-transition), transform var(--pah-transition);
}

.pah-contact__submit:hover {
	background: var(--pah-white) !important;
	border: 1px solid var(--pah-navy);
	color: var(--pah-navy);
}

.pah-contact__submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.pah-contact__spinner {
	display: none;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: var(--pah-white);
	border-radius: 50%;
	animation: pah-spin 0.7s linear infinite;
}

.pah-contact__form.is-submitting .pah-contact__spinner {
	display: block;
}

@keyframes pah-spin {
	to {
		transform: rotate(360deg);
	}
}

.pah-contact__privacy {
	margin: 0;
	font-family: var(--pah-font-body);
	font-size: 0.72rem;
	color: var(--pah-muted);
}

.pah-contact__status {
	display: none;
	margin-top: 14px;
	padding: 10px 12px;
	border-radius: 8px;
	font-family: var(--pah-font-body);
	font-size: 0.84rem;
	line-height: 1.45;
}

.pah-contact__status.is-success,
.pah-contact__status.is-error {
	display: block;
}

.pah-contact__status.is-success {
	background: #e7f6ed;
	color: #1b5e20;
}

.pah-contact__status.is-error {
	background: #fdecea;
	color: #b71c1c;
}

.pah-contact__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

/* ---------- Single post: responsive ---------- */
@media (max-width: 1080px) {
	.pah-post-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.pah-post-hero__title {
		max-width: none;
	}

	.pah-post-body__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.pah-post-aside {
		position: static;
		order: -1;
	}

	.pah-post-main {
		max-width: none;
	}

	.pah-toc__list {
		max-height: 320px;
	}
}

@media (max-width: 640px) {
	.pah-post-hero {
		padding: 40px 20px 46px;
	}

	.pah-post-hero__card {
		padding: 8px;
		border-radius: 16px;
	}

	.pah-post-body {
		padding: 36px 20px 56px;
	}

	.pah-post-content {
		font-size: 1rem;
	}

	.pah-post-content table {
		min-width: 560px;
	}

	.pah-post-content thead th,
	.pah-post-content tbody td {
		padding: 12px 14px;
	}

	.pah-post-nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.pah-post-nav__link--next {
		grid-column: 1;
		text-align: left;
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	/* Scroll showcase: single column, media inline under each box. */
	.pah-showcase {
		padding: 44px 20px;
	}

	.pah-showcase__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.pah-showcase__panel {
		display: none;
	}

	.pah-showcase__intro,
	.pah-showcase__item {
		max-width: none;
	}

	.pah-showcase__item {
		min-height: 0 !important;
		padding: 22px 0 0;
		opacity: 1;
	}

	.pah-showcase__item-media {
		display: block;
	}

	.pah-showcase__item-media .pah-showcase__figure-fallback {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 180px;
		border-radius: 14px;
		background: var(--pah-white);
		box-shadow: 0 14px 36px rgba(21, 0, 53, 0.08);
	}

	.pah-hero {
		padding: 20px 16px 8px;
	}

	.pah-hero__panel {
		grid-template-columns: 1fr;
		min-height: 0;
		border-radius: 22px;
	}

	.pah-hero__content {
		padding: 36px 28px 28px;
		order: 1;
	}

	.pah-hero__media {
		order: 2;
		min-height: 280px;
		max-height: 360px;
	}

	.pah-hero__media::before {
		inset: auto 0 0 0;
		width: 100%;
		height: 30%;
		background: linear-gradient(0deg, #eeeaf8 0%, rgba(238, 234, 248, 0) 100%);
	}

	.pah-logo-slider__group {
		gap: 40px;
		padding-right: 40px;
	}

	.pah-intent {
		padding: 40px 16px;
	}

	.pah-intent__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pah-intent__media {
		order: -1;
	}

	.pah-intent__img {
		aspect-ratio: 16 / 11;
		max-height: 380px;
	}

	.pah-supply {
		padding: 40px 16px 48px;
	}

	.pah-supply__top {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-bottom: 48px;
	}

	.pah-supply__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pah-timeline {
		padding: 20px 16px;
	}

	.pah-timeline__inner {
		grid-template-columns: 1fr;
		row-gap: 24px;
	}

	.pah-timeline__heading,
	.pah-timeline__note,
	.pah-timeline__steps,
	.pah-timeline__panels {
		grid-column: 1;
		grid-row: auto;
	}

	.pah-timeline__heading {
		max-width: none;
	}

	.pah-timeline__note {
		margin-top: 0;
		max-width: none;
	}

	/* Single column stack — sticky would trap the panel mid-scroll. */
	.pah-timeline__panels--sticky {
		position: static;
		top: auto;
	}

	.pah-cslider {
		padding: 40px 16px 48px;
	}

	.pah-cslider__head {
		flex-wrap: wrap;
		margin-bottom: 20px;
	}

	.pah-tslider {
		padding: 20px 16px;
	}

	.pah-tslider__head {
		margin-bottom: 24px;
	}

	.pah-tslider__stage {
		gap: 10px;
	}

	.pah-tslider__btn {
		width: 36px;
		height: 36px;
	}

	.pah-tslider__slide {
		padding: 0 4px;
	}

	.pah-integrations {
		padding: 20px 16px;
	}

	.pah-integrations__inner {
		grid-template-columns: 1fr;
		row-gap: 28px;
	}

	/* Single column stack — sticky would trap the text mid-scroll. */
	.pah-integrations__content--sticky {
		position: static;
		top: auto;
	}

	.pah-blog,
	.pah-blog-grid {
		padding: 20px 16px;
	}

	.pah-blog__head {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 28px;
	}

	.pah-blog__all {
		align-self: flex-start;
	}

	.pah-blog__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.pah-blog-grid__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pah-about,
	.pah-faq,
	.pah-contact {
		padding: 20px 16px;
	}

	.pah-about__panel,
	.pah-contact__panel {
		grid-template-columns: 1fr;
		gap: 36px;
		padding: 30px 28px;
	}

	.pah-faq__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	/* Stacked layout should scroll normally instead of trapping intro text. */
	.pah-faq__intro--sticky {
		position: static;
		top: auto;
	}

	.pah-contact__heading {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.pah-hero__content {
		padding: 28px 20px 24px;
	}

	.pah-hero__btn {
		width: 100%;
		padding: 10px;
	}

	.pah-hero__features {
		flex-direction: column;
		gap: 8px;
	}

	.pah-logo-slider {
		padding: 28px 0 40px;
	}

	.pah-logo-slider__group {
		gap: 28px;
		padding-right: 28px;
	}

	.pah-intent__cards {
		grid-template-columns: 1fr;
	}

	.pah-supply__grid {
		grid-template-columns: 1fr;
	}

	.pah-timeline__step-day {
		margin-left: auto;
		font-size: 0.75rem;
	}

	.pah-timeline__step-text {
		padding-left: 0;
	}

	.pah-timeline__card {
		padding: 20px;
	}

	.pah-timeline__stats {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.pah-cslider__body {
		inset: auto 14px 14px 14px;
	}

	.pah-cslider__btn {
		width: 36px;
		height: 36px;
	}

	/* Arrows drop below the quote so the text keeps the full width. */
	.pah-tslider__stage {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 18px 12px;
	}

	.pah-tslider__viewport {
		grid-column: 1 / -1;
		grid-row: 1;
		width: 100%;
	}

	.pah-tslider__btn--prev {
		grid-column: 1;
		grid-row: 2;
		justify-self: end;
	}

	.pah-tslider__btn--next {
		grid-column: 2;
		grid-row: 2;
		justify-self: start;
	}

	.pah-tslider__slide {
		padding: 0;
	}

	.pah-tslider__dots {
		gap: 6px;
		margin-top: 22px;
	}

	.pah-integrations__card {
		min-height: 64px;
		padding: 12px 14px;
	}

	.pah-integrations__name {
		font-size: 0.85rem;
	}

	.pah-blog-grid__list {
		grid-template-columns: 1fr;
	}

	.pah-blog__item {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.pah-blog__nl-btn {
		width: 100%;
	}

	.pah-contact__methods a {
		width: 100%;
	}

	.pah-contact__privacy {
		text-align: center;
	}

	.pah-about__panel,
	.pah-contact__panel {
		padding: 24px 18px;
	}

	.pah-about__stats {
		grid-template-columns: 1fr;
	}

	.pah-about__stat,
	.pah-about__stat:nth-child(even),
	.pah-about__stat:nth-child(n + 3) {
		padding: 18px 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	.pah-about__stat:first-child {
		padding-top: 0;
		border-top: 0;
	}

	.pah-contact__form-wrap {
		padding: 15px 10px;
	}

	.pah-contact__fields {
		grid-template-columns: 1fr;
	}

	.pah-contact__field--full {
		grid-column: auto;
	}

	.pah-contact__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.pah-contact__submit {
		width: 100%;
	}
}