/**
 * POSH Act guide page - professional blue UI (content unchanged)
 * Aligned with POSH Employees page palette.
 */

html {
	scroll-padding-top: var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px));
}

#topofthepage {
	scroll-margin-top: 0;
}

/* Align with theme header (no extra gap) */
body.page-template-poshactcustompage .site-inner,
body.page-template-poshactcustompage .content-area {
	padding: 0 !important;
}

/* Expand full template area (not only middle content column) */
body.page-template-poshactcustompage .site-inner,
body.page-template-poshactcustompage .content-sidebar-wrap,
body.page-template-poshactcustompage .content {
	width: 100%;
	max-width: 100%;
}

.posh-act-page {
	--pa-teal: #0d73d4;
	--pa-teal-dark: #0b4f93;
	--pa-teal-soft: #eef5ff;
	--pa-orange: #002a38;
	--pa-orange-soft: #eef5ff;
	--pa-text: #0d2238;
	--pa-muted: #54708d;
	--pa-border: #d9e6f6;
	--pa-surface: #ffffff;
	--pa-bg: linear-gradient(180deg, #ffffff 0%, #f7fbff 55%, #eef5ff 100%);
	--pa-radius: 14px;
	--pa-shadow: 0 8px 24px rgba(11, 35, 58, 0.08);
	--pa-shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.06);
	font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--pa-text);
	background: var(--pa-bg);
	padding-top: 32px;
	padding-bottom: 3rem;
}

.posh-act-page .site-inner,
.posh-act-page .content-area {
	max-width: 100%;
}

.posh-act-container {
	/* Make whole page layout wider on large screens */
	max-width: min(1680px, 96vw);
	margin: 0 auto;
	padding: 0 clamp(0.75rem, 2vw, 1.5rem);
}

/* Hero */
.posh-act-hero {
	background: #f8fbff;
	border: 1px solid #d9e6f6;
	border-radius: 12px;
	padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem);
	margin: 1rem 0 1.5rem;
	box-shadow: 0 2px 10px rgba(15, 40, 72, 0.05);
	text-align: left;
	overflow: visible;
}

.posh-act-hero .poshact-primary,
.posh-act-page h1.poshact-primary {
	color: #1d334c !important;
	font-size: clamp(1.35rem, 3.5vw, 2rem);
	font-weight: 800;
	line-height: 1.3;
	margin: 0;
	letter-spacing: -0.02em;
}

.posh-act-hero-kicker {
	display: inline-block;
	margin: 0 0 0.7rem;
	padding: 0.34rem 0.72rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	color: #0c5fae;
	background: #eaf4ff;
	border: 1px solid #c9e1fb;
	border-radius: 999px;
}

.posh-act-hero .content-property {
	margin: 0.75rem 0 0;
}

.posh-act-hero .content-property + .content-property {
	margin-top: 0.5rem;
}

.posh-act-hero-section-title {
	margin: 0.7rem 0 0;
	font-size: clamp(1.05rem, 2.2vw, 1.3rem);
	font-weight: 700;
	color: #1d334c;
	line-height: 1.35;
}

.posh-act-hero .posh-download-section {
	margin: 1rem 0 0;
	max-width: 100%;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	flex-direction: column;
}

.posh-act-hero .posh-download-section-text {
	color: #1d334c;
	font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.posh-act-page .posh-hero-cta-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.75rem;
	width: 100%;
}

.posh-act-page .posh-download-section-text {
	flex: none;
	width: 100%;
	margin: 0;
	text-align: left !important;
}

.posh-act-page .posh-hero-cta-actions {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	position: relative;
	flex: 0 0 auto;
}

.posh-act-page .posh-hero-cta-actions.has-tour-callout {
	padding-top: 3.25rem;
}

.posh-act-hero .download-arrow-btn,
.posh-act-hero .download-arrow-btn:hover {
	background: #111111;
	color: #fff !important;
	box-shadow: none;
	transform: none;
}

/* Download CTA */
.posh-act-page .posh-download-section {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start !important;
	gap: 0.75rem;
	position: relative;
	overflow: visible;
	background: transparent !important;
	border: none !important;
	border-radius: 0;
	padding: 0 !important;
	margin-bottom: 0;
	box-shadow: none !important;
}

.posh-act-page .posh-download-section-text {
	margin: 0;
	font-weight: 500;
	font-size: clamp(0.95rem, 2.2vw, 1.05rem);
	color: #2c4766;
	text-align: left !important;
}

.posh-act-page .download-arrow-btn,
.posh-act-page .download-arrow-btn.open-download-popup {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	background: #111111;
	color: #fff !important;
	font-weight: 700;
	padding: 0.65rem 1.35rem;
	border-radius: 999px;
	text-decoration: none;
	border: none;
	box-shadow: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}

.download-arrow-btn:hover,
.posh-act-page .download-arrow-btn:hover {
	background: #000000;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: none;
}

.posh-act-page .download-arrow-btn.hero-primary-cta {
	background: linear-gradient(135deg, #0d73d4 0%, #2f90ef 100%);
	border: 1px solid #1e81df;
	box-shadow: 0 6px 18px rgba(13, 115, 212, 0.26);
}

.posh-act-page .download-arrow-btn.hero-primary-cta:hover {
	background: linear-gradient(135deg, #0b63b5 0%, #2b7ecc 100%);
	box-shadow: 0 8px 20px rgba(11, 99, 181, 0.28);
}

.posh-act-page .download-arrow-btn.hero-secondary-cta {
	background: #111111;
	border: 1px solid #111111;
}

/* Hero CTA tour tooltip — small popup above Get it Now! */
.pa-cta-btn-wrap {
	position: relative;
	display: inline-flex;
}

.posh-hero-cta-actions.is-highlighted .hero-primary-cta {
	animation: pa-cta-btn-pulse 1.6s ease-in-out 3;
}

@keyframes pa-cta-btn-pulse {
	0%, 100% {
		box-shadow: 0 6px 18px rgba(13, 115, 212, 0.26);
	}
	50% {
		box-shadow: 0 0 0 4px rgba(13, 115, 212, 0.28), 0 8px 24px rgba(13, 115, 212, 0.32);
	}
}

.posh-act-page .pa-cta-callout {
	position: absolute;
	left: 0;
	bottom: calc(100% + 10px);
	transform: translateY(6px);
	width: min(252px, calc(100vw - 2.5rem));
	padding: 0.65rem 1.85rem 0.65rem 0.75rem;
	background: #fff;
	border: 1px solid #c9e1fb;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(13, 54, 103, 0.14);
	z-index: 50;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.posh-act-page .pa-cta-callout.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.posh-act-page .pa-cta-callout__close {
	position: absolute;
	top: 0.35rem;
	right: 0.4rem;
	width: 1.35rem;
	height: 1.35rem;
	border: 0 !important;
	border-radius: 4px;
	background: transparent !important;
	color: #5a7390;
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 !important;
	box-shadow: none !important;
}

.posh-act-page .pa-cta-callout__close:hover,
.posh-act-page .pa-cta-callout__close:focus {
	background: transparent !important;
	border: 0 !important;
	color: #1d334c;
	box-shadow: none !important;
	outline: none;
}

.posh-act-page .pa-cta-callout__text {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: #1d334c;
}

.posh-act-page .pa-cta-callout__arrow {
	position: absolute;
	left: 1.1rem;
	bottom: -6px;
	width: 12px;
	height: 12px;
	background: #fff;
	border-right: 1px solid #c9e1fb;
	border-bottom: 1px solid #c9e1fb;
	transform: rotate(45deg);
}

@media (max-width: 749.98px) {
	.posh-act-page .posh-hero-cta-actions {
		flex-wrap: wrap;
	}

	.posh-act-page .pa-cta-callout {
		width: min(240px, calc(100vw - 2rem));
	}
}

/* Left nav / TOC — vertical center via .ep-sidebar--centered (JS) */
.posh-act-toc {
	position: -webkit-sticky;
	position: sticky;
	top: calc(var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px)) + 1rem);
	align-self: start;
	z-index: 20;
}

.posh-act-form-sidebar.ep-sidebar--centered,
.posh-act-toc.ep-sidebar--centered {
	top: 50%;
	transform: translateY(-50%);
}

.category-container {
	background: #ffffff;
	border-radius: 6px;
	border: 1px solid #d9e4f2;
	box-shadow: 0 6px 18px rgba(15, 40, 72, 0.07);
	overflow: hidden;
	height: auto;
	display: flex;
	flex-direction: column;
}

.categoryscrollbar {
	position: relative;
	top: 0;
	height: auto;
	max-height: min(560px, calc(100vh - var(--pa-header-offset, 80px) - 140px));
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: #0d73d4 #edf3fb;
}

.posh-act-page .categoryscrollbar {
	padding-right: 0.75rem;
}

.categoryscrollbar::-webkit-scrollbar {
	width: 6px;
}

.categoryscrollbar::-webkit-scrollbar-thumb {
	background: var(--pa-teal);
	border-radius: 3px;
}

.category-title {
	background: linear-gradient(180deg, #f5f9ff 0%, #ebf2fc 100%);
	color: #1f3b63 !important;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: none;
	border-bottom: 1px solid #d8e4f5;
	padding: 0.72rem 0.95rem !important;
}

.posh-act-page .accordion-item {
	border: none;
	background: transparent;
}

.acc-main-border {
	border-bottom: 1px solid #dfe8f5 !important;
}

.acc-secondary-border {
	border-bottom: 1px solid #e9eff8 !important;
}

.category-container .accordion-header {
	padding: 0;
	font-size: 0.92rem;
	line-height: 1.32;
}

.category-container .accordion-header h2,
.category-container .accordion-header h3,
.category-container h2.accordion-header,
.category-container h3.accordion-header {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
}

.category-container .accordion-header:not(:has(.posh-toc-toggle-btn)) {
	padding: 0.22rem 0.75rem 0.22rem 0.45rem;
}

.posh-act-page .posh-toc-toggle-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	width: 100%;
	padding: 0.66rem 1rem 0.66rem 0.55rem !important;
	color: #1d334c !important;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.32;
	text-align: left;
	border-radius: 0;
	box-shadow: none !important;
	background: transparent !important;
	word-break: normal;
	overflow-wrap: anywhere;
}

.posh-act-page .posh-toc-toggle-btn--sub {
	font-size: 0.86rem;
	font-weight: 600;
	padding-left: 0.85rem !important;
}

.posh-act-page .posh-toc-toggle-btn:hover,
.posh-act-page .posh-toc-toggle-btn:focus {
	color: #0b5fb8 !important;
	background: #eef5ff !important;
}

.posh-act-page .posh-toc-toggle-btn:not(.collapsed) {
	background: #f8fbff !important;
	color: #0b4f93 !important;
}

.posh-act-page .posh-toc-toggle-label {
	flex: 1;
	min-width: 0;
}

.posh-act-page .posh-toc-toggle-icon {
	flex: 0 0 auto;
	display: inline-block;
	font-size: 0.8rem;
	color: #2d6fb2;
	margin-right: 0.15rem;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	transform: rotate(0deg);
	transform-origin: center;
}

.posh-act-page .posh-toc-toggle-btn:not(.collapsed) .posh-toc-toggle-icon {
	transform: rotate(-180deg);
}

.category-main-title,
.category-sublevel-title {
	color: #1d334c !important;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.32;
	padding: 0.66rem 0.85rem 0.66rem 0.35rem;
	flex: 1;
	border-radius: 4px;
	display: block;
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.category-sublevel-title {
	font-size: 0.86rem;
	font-weight: 600;
}

.category-main-title:hover,
.category-sublevel-title:hover,
.category-container .sidebar-sub-links .cat-list a:hover,
.category-container .sidebar-sub-links .cat-list a.is-active {
	color: #0b5fb8 !important;
	background: #eef5ff;
}

.category-container .accordion-item:hover {
	background: #f8fbff;
}

.category-main-title.is-active,
.category-sublevel-title.is-active,
.cat-list a.is-active,
.posh-act-page .posh-toc-toggle-btn--main.is-active {
	color: #0b5fb8 !important;
	background: #e9f2ff;
	box-shadow: inset 3px 0 0 #0b5fb8;
	padding-left: 0.7rem;
}

.posh-act-page .posh-toc-toggle-btn--main.is-active {
	padding-left: 0.75rem !important;
}

.posh-act-page .accordion-button::after {
	display: none;
}

.category-container .sidebar-sub-links {
	list-style: none;
	margin: 0;
	padding: 0.15rem 0.5rem 0.4rem 0.35rem;
	background: #fafcff;
	border-top: 1px solid #edf2f9;
}

.category-container .sidebar-sub-links .cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.category-container .sidebar-sub-links .cat-list a {
	display: block;
	padding: 0.32rem 0.45rem 0.32rem 1rem;
	color: var(--pa-muted) !important;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.76rem;
	font-weight: 500;
	line-height: 1.35;
	position: relative;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.category-container .sidebar-sub-links .cat-list a::before {
	content: "";
	position: absolute;
	left: 0.35rem;
	top: 0.62rem;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--pa-teal);
}

.category-container .sidebar-sub-links h4 {
	display: none;
}

/* Main article */
.posh-act-article {
	background: var(--pa-surface);
	border-radius: var(--pa-radius);
	border: 1px solid var(--pa-border);
	box-shadow: var(--pa-shadow-sm);
	padding: clamp(1rem, 2.5vw, 1.75rem);
}

.contentarea .content-property,
.posh-act-page .content-property {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--pa-text);
}

.main-title-text {
	background: linear-gradient(90deg, var(--pa-teal-soft) 0%, transparent 100%);
	border-left: 4px solid var(--pa-teal);
	color: var(--pa-teal-dark) !important;
	font-size: clamp(1.2rem, 2.8vw, 1.5rem);
	font-weight: 800;
	border-radius: 0 var(--pa-radius) var(--pa-radius) 0;
	padding: 0.75rem 1rem !important;
	margin-top: 2rem !important;
	scroll-margin-top: calc(var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px)) + 1rem);
}

.posh-act-article .main-title-text:first-of-type {
	margin-top: 0 !important;
}

/* Side padding for article body (overrides Bootstrap px-0 on mobile) */
.posh-act-page .contentarea {
	padding-left: clamp(0.75rem, 2vw, 1rem) !important;
	padding-right: clamp(0.75rem, 2vw, 1rem) !important;
}

.posh-act-page .posh-act-article > .row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.sublevel-title-text {
	color: var(--pa-teal) !important;
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	font-weight: 700;
	scroll-margin-top: calc(var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px)) + 1rem);
}

.deeplevel-title-text {
	color: var(--pa-text) !important;
	font-size: clamp(1rem, 2vw, 1.12rem);
	font-weight: 700;
	scroll-margin-top: calc(var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px)) + 1rem);
}

.less-priority-title {
	color: var(--pa-muted);
	font-weight: 600;
	font-size: 0.98rem;
}

.posh-act-page .list-icon .fa-circle,
.posh-act-page .list .list-icon .fa-circle {
	font-size: 7px !important;
	color: var(--pa-teal);
	margin-top: 0.55rem;
	margin-right: 0.65rem;
	flex-shrink: 0;
}

.posh-act-mini-accordion {
	display: grid;
	gap: 0.7rem;
	margin: 0.8rem 0 1rem;
	counter-reset: mini-faq-sno;
}

.posh-act-mini-accordion details {
	counter-increment: mini-faq-sno;
	background: #f8fbff;
	border: 1px solid #d9e6f6;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.posh-act-mini-accordion details[open] {
	border-color: #b8d4f5;
	box-shadow: 0 4px 14px rgba(13, 115, 212, 0.1);
}

.posh-act-mini-accordion summary {
	list-style: none;
	cursor: pointer;
	padding: 0.8rem 2.2rem 0.8rem 0.9rem;
	font-weight: 500;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #1d334c;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.65rem;
	text-align: left;
	border: none !important;
	box-shadow: none !important;
}

.posh-act-mini-accordion summary::before {
	content: counter(mini-faq-sno, decimal-leading-zero);
	flex: 0 0 1.75rem;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: #eef5ff;
	color: #0b5fb8;
	font-size: 0.72rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.posh-act-mini-accordion details[open] summary {
	color: #0b4f93;
	background: linear-gradient(180deg, #eaf4ff 0%, #f8fbff 100%);
}

.posh-act-mini-accordion details[open] summary::before {
	background: #0d73d4;
	color: #fff;
}

.posh-act-mini-accordion summary::-webkit-details-marker {
	display: none;
}

.posh-act-mini-accordion summary::after {
	content: "\f078";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.72rem;
	color: #0b5fb8;
	line-height: 1;
	flex: 0 0 auto;
	margin-left: auto;
	margin-top: 0.2rem;
	display: inline-block;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
	transform: rotate(0deg);
	transform-origin: center;
}

.posh-act-mini-accordion details[open] summary::after {
	color: #0b4f93;
	transform: rotate(180deg);
}

.posh-act-mini-accordion .mini-accordion-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.posh-act-mini-accordion details[open] .mini-accordion-panel {
	grid-template-rows: 1fr;
}

.posh-act-mini-accordion .mini-accordion-content {
	padding: 0.15rem 1rem 0.95rem;
	border-top: none !important;
	min-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.45s ease 0.06s;
}

.posh-act-mini-accordion details[open] .mini-accordion-content {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.posh-act-mini-accordion details,
	.posh-act-mini-accordion summary::after,
	.posh-act-mini-accordion .mini-accordion-panel,
	.posh-act-mini-accordion .mini-accordion-content {
		transition: none !important;
	}
}

.posh-blog-feature {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	align-items: stretch;
	gap: 1.25rem;
	margin: 0.8rem 0 1rem;
}

.posh-blog-feature-copy {
	min-width: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.posh-blog-feature-card {
	width: 100%;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	background: #ffffff;
	border: 1px solid #d9e6f6;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.posh-blog-feature .posh-blog-feature-card {
	justify-self: center;
	max-width: 400px;
	width: 100%;
}

.posh-blog-feature-card img {
	width: 100%;
	height: auto;
	display: block;
}

.posh-blog-feature-body {
	padding: 0.9rem 1rem 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.posh-blog-feature-body h4 {
	margin: 0 0 0.5rem;
	font-size: 1.03rem;
	font-weight: 700;
	color: #1d334c;
	line-height: 1.35;
}

.posh-blog-feature-body p {
	margin: 0 0 0.85rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #54708d;
	flex: 1;
}

.posh-blog-feature-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin-top: auto;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	background: #e8f2f5;
	color: #002a38 !important;
	border: 1px solid rgba(0, 42, 56, 0.22);
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.9rem;
	transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.posh-blog-feature-btn:hover,
.posh-blog-feature-btn:focus {
	background: #002a38;
	border-color: #002a38;
	color: #ffffff !important;
}

.posh-blog-cards {
	margin: 0.8rem 0 1rem;
}

.posh-blog-cards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	justify-content: center;
	justify-items: center;
	width: 100%;
}

@media (min-width: 768px) {
	.posh-blog-cards-grid {
		grid-template-columns: repeat(3, minmax(260px, 400px));
		gap: 20px;
		justify-content: center;
	}

	.posh-blog-cards-grid--two {
		grid-template-columns: repeat(2, minmax(260px, 400px));
	}
}

.posh-blog-cards-grid .posh-blog-feature-card {
	max-width: 400px;
	width: 100%;
	justify-self: center;
	margin: 0 auto;
}

.posh-act-page .list li.d-flex {
	margin-bottom: 0.5rem;
	align-items: flex-start;
}

/* eLearning portfolio cards (3 cards from homepage) */
.posh-elearn-courses {
	margin-top: 0.35rem;
}

.posh-elearn-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 18px;
	justify-content: center;
	justify-items: center;
}

@media (min-width: 768px) {
	.posh-elearn-grid {
		grid-template-columns: repeat(3, minmax(260px, 300px));
		gap: 20px;
		justify-content: center;
	}
}

.posh-elearn-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	height: 100%;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

.posh-elearn-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.posh-elearn-image {
	display: block;
}

.posh-elearn-image img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	display: block;
}

.posh-elearn-tag {
	display: inline-block;
	margin: 10px 14px 0;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
	background: #ede9fe;
	color: #5b21b6;
}

.posh-elearn-body {
	padding: 10px 14px 16px;
}

.posh-elearn-body h3 {
	font-size: 1.03rem;
	font-weight: 700;
	margin: 0 0 12px;
	color: #0f172a;
}

.posh-elearn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border-radius: 8px;
	background: #e8f2f5;
	color: #002a38 !important;
	border: 1px solid rgba(0, 42, 56, 0.22);
	text-decoration: none !important;
	font-weight: 600;
	padding: 10px 14px;
	transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.posh-elearn-cta:hover,
.posh-elearn-cta:focus {
	background: #002a38;
	border-color: #002a38;
	color: #ffffff !important;
}

/* IC confidentiality action cards - stacked rows */
.posh-confidentiality-actions {
	margin: 0.8rem 0 1.25rem;
}

.posh-confidentiality-actions-grid {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.posh-confidentiality-action-card {
	background: #f8fbff;
	border: 1px solid #d9e6f6;
	border-radius: 12px;
	padding: 1rem 1.1rem;
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	box-shadow: 0 4px 14px rgba(15, 40, 72, 0.06);
	transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.posh-confidentiality-action-card:hover {
	border-color: #b8d4ef;
	box-shadow: 0 8px 22px rgba(15, 40, 72, 0.1);
}

.posh-confidentiality-action-icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--pa-teal) 0%, #0b5fb8 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	box-shadow: 0 4px 10px rgba(11, 95, 184, 0.25);
	margin-top: 0.1rem;
}

.posh-confidentiality-action-body {
	flex: 1;
	min-width: 0;
}

.posh-confidentiality-action-card .deeplevel-title-text {
	margin: 0 0 0.5rem !important;
	font-size: 1rem;
	line-height: 1.35;
}

.posh-confidentiality-action-card .content-property {
	font-size: 0.95rem;
	line-height: 1.65;
	margin-bottom: 0.65rem !important;
}

.posh-confidentiality-action-card .content-property:last-child {
	margin-bottom: 0 !important;
}

/* Linked step cards (inquiry report + inquiry process) */
.posh-inquiry-report-steps {
	--linked-step-gap: clamp(2rem, 3.5vw, 3rem);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin: 0.8rem 0 1.25rem;
	overflow: visible;
}

.posh-process-steps {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0.45rem 0 1rem;
}

.posh-inquiry-report-step,
.posh-process-step {
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	overflow: visible;
}

.posh-inquiry-report-step:not(:last-child) {
	margin-bottom: var(--linked-step-gap);
}

.posh-inquiry-report-step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	width: 2px;
	height: var(--linked-step-gap);
	background: linear-gradient(180deg, var(--pa-teal) 0%, #b8d4ef 100%);
	z-index: 2;
	pointer-events: none;
}

.posh-process-step:not(:last-child)::after {
	display: none;
}

.posh-inquiry-report-step:not(:last-child) .posh-inquiry-report-step-card::after,
.posh-process-step:not(:last-child) .posh-process-step-card::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--pa-teal);
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #b8d4ef;
	z-index: 3;
	pointer-events: none;
}

.posh-process-step:not(:last-child) .posh-process-step-card::after {
	display: none;
}

.posh-inquiry-report-step + .posh-inquiry-report-step .posh-inquiry-report-step-card::before,
.posh-process-step + .posh-process-step .posh-process-step-card::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #b8d4ef;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #b8d4ef;
	z-index: 3;
	pointer-events: none;
}

.posh-process-step + .posh-process-step .posh-process-step-card::before {
	display: none;
}

.posh-process-step-card {
	position: relative;
	width: 100%;
	background: #f8fbff;
	border: 1px solid #d9e6f6;
	border-radius: 10px;
	padding: 0.72rem 0.85rem;
	box-shadow: 0 2px 8px rgba(15, 40, 72, 0.05);
	overflow: visible;
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
}

.posh-inquiry-report-step-card {
	position: relative;
	width: 100%;
	background: #f8fbff;
	border: 1px solid #d9e6f6;
	border-radius: 12px;
	padding: 1rem 1.1rem 1.05rem;
	box-shadow: 0 4px 14px rgba(15, 40, 72, 0.06);
	overflow: visible;
}

.posh-process-step-num {
	flex-shrink: 0;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pa-teal) 0%, #0b5fb8 100%);
	color: #fff;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.82rem;
	box-shadow: 0 2px 8px rgba(11, 95, 184, 0.18);
	margin-top: 0.05rem;
}

.posh-process-step-card .content-property {
	flex: 1;
	min-width: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	margin-bottom: 0 !important;
}

.posh-inquiry-report-step-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.6rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid #e3edf9;
}

.posh-inquiry-report-step-head--compact {
	border-bottom: none;
	margin-bottom: 0.5rem;
	padding-bottom: 0;
}

.posh-inquiry-report-step-num {
	flex-shrink: 0;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pa-teal) 0%, #0b5fb8 100%);
	color: #fff;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	box-shadow: 0 4px 10px rgba(11, 95, 184, 0.22);
}

.posh-inquiry-report-step-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--pa-teal-dark);
	line-height: 1.35;
}

.posh-inquiry-report-step-card .content-property {
	font-size: 0.95rem;
	line-height: 1.65;
}

.posh-inquiry-report-step-card .list {
	margin-top: 0.35rem !important;
	margin-bottom: 0 !important;
}

@media (max-width: 575.98px) {
	.posh-inquiry-report-steps {
		--linked-step-gap: 1.75rem;
	}

	.posh-process-steps {
		gap: 0.45rem;
	}

	.posh-inquiry-report-step-card,
	.posh-process-step-card {
		padding: 0.65rem 0.75rem;
	}

	.posh-inquiry-report-step-num {
		width: 2rem;
		height: 2rem;
		font-size: 0.85rem;
	}

	.posh-process-step-num {
		width: 1.7rem;
		height: 1.7rem;
		font-size: 0.78rem;
	}

	.posh-inquiry-report-step-title {
		font-size: 0.95rem;
	}

	.posh-inquiry-report-step:not(:last-child) .posh-inquiry-report-step-card::after,
	.posh-inquiry-report-step + .posh-inquiry-report-step .posh-inquiry-report-step-card::before,
	.posh-process-step:not(:last-child) .posh-process-step-card::after,
	.posh-process-step + .posh-process-step .posh-process-step-card::before {
		width: 8px;
		height: 8px;
	}
}

.horizontal-line {
	border: none;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--pa-border), transparent);
	margin: 2rem 0 !important;
	opacity: 1;
}

/* Statute / quote boxes */
.highlighter-box {
	background: linear-gradient(135deg, #0b4f93 0%, #002a38 100%);
	border-radius: var(--pa-radius);
	padding: 1.25rem 1.5rem !important;
	margin: 1.25rem 0;
	box-shadow: var(--pa-shadow);
	border-left: 4px solid var(--pa-orange);
}

.highlighter-box p,
.highlighter-box .text,
.highlighter-box li {
	color: #fff !important;
}

.highlighter-box .h4 {
	color: #fff !important;
	font-weight: 700;
}

.highlighter-box .list-icon .fa-circle { color: #ffffff !important; }

/* SHe-Box guide promo card */
.pa-shebox-promo {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 1.25rem 0;
	padding: 1.1rem 1.35rem;
	background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 55%, #f8fbff 100%);
	border: 1px solid #c9e1fb;
	border-left: 4px solid var(--pa-teal);
	border-radius: var(--pa-radius);
	box-shadow: 0 6px 20px rgba(13, 115, 212, 0.08);
}

.pa-shebox-promo__content {
	min-width: 0;
}

.pa-shebox-promo__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pa-teal);
}

.pa-shebox-promo__text {
	margin: 0 0 0.65rem;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #1d334c;
}

.pa-shebox-promo__topics {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pa-shebox-promo__topics li {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.62rem;
	border-radius: 999px;
	border: 1px solid #c9e1fb;
	background: #fff;
	color: var(--pa-muted);
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.3;
}

.pa-shebox-promo__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin-top: 1rem;
	padding: 0.65rem 1.2rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--pa-teal) 0%, #2f90ef 100%);
	color: #fff !important;
	border: 1px solid #1e81df;
	box-shadow: 0 4px 14px rgba(13, 115, 212, 0.22);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pa-shebox-promo__cta:hover,
.pa-shebox-promo__cta:focus {
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(13, 115, 212, 0.28);
}

@media (max-width: 479px) {
	.pa-shebox-promo {
		padding: 1rem;
	}

	.pa-shebox-promo__cta {
		width: 100%;
		white-space: normal;
		text-align: center;
	}
}

/* Definition cards (Employer types) */
.pa-def-cards {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0.75rem 0 1rem;
}

.pa-def-card {
	padding: 0.85rem 1rem;
	background: #f8fbff;
	border: 1px solid #d9e6f6;
	border-left: 3px solid var(--pa-teal);
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(11, 35, 58, 0.05);
}

.pa-def-card__title {
	margin: 0 0 0.45rem;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
	color: #0b4f93;
}

.pa-def-card__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #1d334c;
}

.pa-def-card__quote {
	font-style: italic;
	font-weight: 600;
	color: #2a4a67;
}

@media (max-width: 479px) {
	.pa-def-card {
		padding: 0.75rem 0.85rem;
	}

	.pa-def-card__title {
		font-size: 0.9rem;
	}

	.pa-def-card__text {
		font-size: 0.92rem;
	}
}

/* Subtle name-change note (LC / IC historical names) */
.pa-name-change-note {
	margin: 0.75rem 0 1rem;
	padding: 0.75rem 0.95rem;
	background: #f8fbff;
	border: 1px solid #d9e6f6;
	border-left: 3px solid var(--pa-teal);
	border-radius: 8px;
}

.pa-name-change-note__text {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--pa-muted);
}

/* Tables */
.posh-act-page table,
.posh-act-page .table {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--pa-radius);
	overflow: hidden;
	border: 1px solid var(--pa-border);
	margin: 1rem 0 1.25rem;
	font-size: 0.95rem;
}

.posh-act-page table tr:first-child th,
.posh-act-page table tr[style] th,
.posh-act-page table thead th {
	background: var(--pa-teal) !important;
	color: #fff !important;
	font-weight: 700;
	padding: 0.85rem 1rem;
	border: none;
}

.posh-act-page table td,
.posh-act-page table th {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--pa-border);
	vertical-align: top;
}

.posh-act-page table tr:last-child td {
	border-bottom: none;
}

.posh-act-page table tr:nth-child(even):not(:first-child) td {
	background: #f8fafc;
}

/* Video embeds — stacked and centered */
.video-content-row,
.non-compliance-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	margin: 1rem 0 1.5rem;
}

.video-content-copy {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	order: unset;
}

.video-box {
	position: relative;
	width: 100%;
	max-width: 450px;
	margin: 0 auto;
	border-radius: var(--pa-radius);
	overflow: hidden;
	box-shadow: var(--pa-shadow);
	background: #0f172a;
	flex: 0 0 auto;
	order: unset;
}

.video-content-area {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	min-height: 0;
	border: 0;
	display: block;
}

.video-content-copy .deeplevel-title-text {
	margin-top: 0 !important;
}

.non-compliance-feature .deeplevel-title-text {
	margin-top: 0 !important;
	margin-bottom: 0.5rem !important;
}

.non-compliance-feature .content-property {
	margin-bottom: 0.5rem !important;
}

.non-compliance-feature .list {
	margin: 0.5rem 0 0 !important;
}

/* Contact CTA at bottom of left sidebar menu */
.category-container .sidebar-contact-wrap {
	flex-shrink: 0;
	width: 100%;
	border-top: 1px solid #d8e4f5;
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.category-container .sidebar-contact-card {
	padding: 1rem 0.85rem;
}

.category-container .sidebar-contact-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--pa-teal-dark);
	line-height: 1.4;
	margin: 0 0 0.85rem;
}

.category-container .sidebar-contact-btn {
	background: var(--pa-teal) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.5rem 0.85rem;
	width: 100%;
}

.category-container .sidebar-contact-btn:hover {
	background: var(--pa-teal-dark) !important;
}

.posh-form-modal {
	--posh-modal-top: 200px;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.posh-form-modal .modal-dialog {
	margin: var(--posh-modal-top) auto 1rem;
	max-width: min(520px, calc(100vw - 1.5rem));
	width: 100%;
}

.posh-form-modal .modal-content {
	border: 1px solid #cfe0f8;
	border-radius: 12px;
	box-shadow: 0 14px 35px rgba(13, 54, 103, 0.16);
	max-height: none;
	display: flex;
	flex-direction: column;
	overflow: visible;
}

.posh-form-modal #sidebar-form > h4 {
	display: none;
}

.posh-form-modal .modal-header {
	border-bottom: 1px solid #e3edf9;
	flex-shrink: 0;
	padding: 0.85rem 1rem;
}

.posh-form-modal .modal-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--pa-teal-dark);
	line-height: 1.35;
	padding-right: 0.5rem;
}

.posh-form-modal .modal-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: visible;
	padding: 0.75rem 0.5rem 1rem;
}

.posh-form-modal .blog-form {
	border-width: 1px !important;
	padding-bottom: 0.5rem !important;
}

.posh-form-modal .blog-form .col-sm-12,
.posh-form-modal .blog-form .col-12 {
	padding-left: 0.75rem !important;
	padding-right: 0.75rem !important;
}

.posh-form-modal .blog-form .form-control {
	font-size: 0.92rem;
}

.posh-form-modal .blog-form textarea.form-control {
	min-height: 72px;
	max-height: 120px;
}

.posh-form-modal .captchaverify,
.posh-form-modal #captchaText {
	font-size: 1rem !important;
}

.posh-form-modal .btnSubmit {
	width: 100%;
	font-size: 0.92rem !important;
	padding: 0.65rem 1rem !important;
}

@media (max-width: 991.98px) {
	.posh-form-modal {
		--posh-modal-top: calc(var(--pa-header-offset, 80px) + 1rem);
	}

	.posh-form-modal .modal-dialog {
		max-width: min(480px, calc(100vw - 1rem));
		margin-bottom: 0.75rem;
	}

	.posh-form-modal .modal-title {
		font-size: 0.98rem;
	}
}

@media (max-width: 575.98px) {
	.posh-form-modal {
		--posh-modal-top: calc(var(--pa-header-offset, 80px) + 0.5rem);
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.posh-form-modal .modal-dialog {
		max-width: 100%;
		margin-bottom: 0.5rem;
	}

	.posh-form-modal .modal-content {
		border-radius: 10px;
		max-height: none;
	}

	.posh-form-modal .modal-header {
		padding: 0.7rem 0.85rem;
	}

	.posh-form-modal .modal-body {
		padding: 0.5rem 0.25rem 0.85rem;
	}

	.posh-form-modal .modal-title {
		font-size: 0.9rem;
	}

	.posh-form-modal .blog-form .col-sm-12,
	.posh-form-modal .blog-form .col-12 {
		padding-left: 0.5rem !important;
		padding-right: 0.5rem !important;
		margin-bottom: 0.65rem !important;
	}

	.posh-form-modal .blog-form .form-control {
		font-size: 16px;
		padding: 0.5rem 0.65rem;
	}

	.posh-form-modal .checkbox {
		width: auto;
		margin-right: 0.35rem;
	}

	.posh-form-modal .form-check-label {
		font-size: 0.88rem;
		line-height: 1.4;
	}
}

/* Horizontal promo cards */
.sidebar-container {
	background: linear-gradient(145deg, #eef5ff, #ffffff);
	border: 1px solid var(--pa-border);
	border-radius: var(--pa-radius);
}

.sidebar-title {
	font-weight: 700;
	color: var(--pa-teal-dark);
	font-size: 1.05rem;
}

.sidebar-desc {
	color: var(--pa-muted);
	font-size: 0.95rem;
}

.sidebar-btn {
	background: var(--pa-teal) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-weight: 600;
	border: none !important;
}

.sidebar-btn:hover {
	background: var(--pa-teal-dark) !important;
}

.posh-act-main {
	min-width: 0;
}

.posh-act-content-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}

.posh-act-form-sidebar {
	min-width: 0;
}

.posh-act-form-card {
	background: #ffffff;
	border: 1px solid var(--pa-border);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(15, 40, 72, 0.07);
	overflow: hidden;
}

.posh-act-form-title {
	margin: 0;
	padding: 0.85rem 0.95rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: #1d334c;
	background: #f8fbff;
	border-bottom: 1px solid var(--pa-border);
	word-break: normal;
	overflow-wrap: normal;
}

.posh-act-form-scroll {
	max-height: none;
	overflow: visible;
	padding: 0.75rem;
}

.posh-act-form-sidebar .epcf-wrap--desktop {
	max-width: 100%;
	padding: 0;
}

.posh-act-form-sidebar .epcf-card {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}

.posh-act-form-sidebar .epcf-form--desktop {
	gap: 8px;
}

.posh-act-form-sidebar .epcf-input,
.posh-act-form-sidebar .epcf-textarea {
	font-size: 0.95rem;
	padding: 0.46rem 0.65rem;
	min-height: 40px;
}

.posh-act-form-sidebar .epcf-textarea {
	min-height: 72px;
	max-height: 120px;
}

.posh-act-form-sidebar .epcf-submit {
	width: 100%;
	font-size: 0.92rem;
	padding: 0.65rem 1rem;
}

.posh-act-form-sidebar .epcf-check span {
	font-size: 0.88rem;
	line-height: 1.4;
}

/* Inline emphasis (preserve existing bold colors) */
.posh-act-page b[style*="004080"] {
	color: #0b4f93 !important;
}

/* Responsive */
@media (max-width: 991.98px) {
	.posh-act-toc {
		/* Keep sticky behavior (matches JS desktop mode at >= 750px) */
		position: sticky;
		margin-bottom: 0;
	}

	.posh-act-article {
		padding: 1rem;
	}

	.category-main-title,
	.posh-act-page .posh-toc-toggle-btn--main {
		font-size: 0.92rem;
	}

	.category-sublevel-title,
	.posh-act-page .posh-toc-toggle-btn--sub {
		font-size: 0.86rem;
	}
}

@media (max-width: 749.98px) {
	.posh-act-hero {
		margin-top: 0.5rem;
	}

	.posh-act-page {
		padding-top: 0;
	}

	.categoryscrollbar {
		max-height: 280px;
	}

	/* Mobile layout: no sticky scroll containers */
	.posh-act-toc,
	.categoryscrollbar,
	.formscroolbar {
		position: static;
		top: auto;
		max-height: none;
	}
}

@media (min-width: 750px) {
	.posh-act-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(290px, 23%);
		gap: 1.25rem;
		align-items: start;
	}

	.posh-act-content-wrap {
		grid-template-columns: minmax(250px, 21%) minmax(0, 1fr);
	}

	.posh-act-toc .category-container {
		max-height: calc(100vh - var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px)) - 2rem);
	}

	.posh-act-toc .categoryscrollbar {
		max-height: none;
		flex: 1 1 auto;
		min-height: 0;
	}

	.posh-act-toc {
		position: sticky;
		top: calc(var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px)) + 1rem);
		width: 100%;
		max-width: none;
		max-height: calc(100vh - var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px)) - 2rem);
		overflow: hidden;
		align-self: start;
		z-index: 20;
	}

	.posh-act-toc.ep-sidebar--centered {
		top: 50%;
		transform: translateY(-50%);
	}

	.posh-act-main {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.posh-act-form-sidebar {
		display: block;
		position: sticky;
		top: calc(var(--epsh-desktop-header-offset, var(--pa-header-offset, 96px)) + 1rem);
		width: 100%;
		max-width: none;
		min-width: 290px;
		align-self: start;
		z-index: 20;
	}

	.posh-act-form-sidebar.ep-sidebar--centered {
		top: 50%;
		transform: translateY(-50%);
	}

	.posh-act-article {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
}

@media (min-width: 1200px) {
	.posh-act-layout {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 25%);
	}

	.posh-act-content-wrap {
		grid-template-columns: minmax(270px, 23%) minmax(0, 1fr);
	}
}

@media (min-width: 1600px) {
	.posh-act-layout {
		grid-template-columns: minmax(0, 1fr) minmax(360px, 26%);
		gap: 1.5rem;
	}

	.posh-act-content-wrap {
		grid-template-columns: minmax(300px, 24%) minmax(0, 1fr);
		gap: 1.5rem;
	}
}

@media (max-width: 749.98px) {
	.posh-act-form-sidebar {
		display: block;
		margin-top: 1.5rem;
	}
}