/* =========================================================
   PIPELINE EXCAVATION RESOURCE SYSTEM
   Hub: .peresources
   Single Posts: .pearticle
========================================================= */


/* =========================================================
   BETHEME SAFE RESET
========================================================= */

html,
body.pe-resources-hub-page,
body.pe-resource-single-page {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: hidden !important;
}

body.pe-resources-hub-page,
body.pe-resource-single-page {
	margin-top: 0 !important;
	padding-top: 0 !important;
	background: #ffffff !important;
}

body.pe-resources-hub-page #Wrapper,
body.pe-resources-hub-page #Content,
body.pe-resource-single-page #Wrapper,
body.pe-resource-single-page #Content {
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow-x: hidden !important;
}

body.pe-resources-hub-page .content_wrapper,
body.pe-resources-hub-page .sections_group,
body.pe-resources-hub-page .entry-content,
body.pe-resources-hub-page .section,
body.pe-resources-hub-page .section_wrapper,
body.pe-resources-hub-page .container,
body.pe-resources-hub-page .mcb-section,
body.pe-resources-hub-page .mcb-section-inner,
body.pe-resources-hub-page .mcb-wrap,
body.pe-resources-hub-page .mcb-wrap-inner,
body.pe-resource-single-page .content_wrapper,
body.pe-resource-single-page .sections_group,
body.pe-resource-single-page .entry-content,
body.pe-resource-single-page .section,
body.pe-resource-single-page .section_wrapper,
body.pe-resource-single-page .container,
body.pe-resource-single-page .mcb-section,
body.pe-resource-single-page .mcb-section-inner,
body.pe-resource-single-page .mcb-wrap,
body.pe-resource-single-page .mcb-wrap-inner {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	overflow: visible !important;
}

body.pe-resources-hub-page .the_content_wrapper,
body.pe-resource-single-page .the_content_wrapper {
	margin: 0 !important;
}

body.pe-resource-single-page .section-post-header,
body.pe-resource-single-page .single-photo-wrapper,
body.pe-resource-single-page .post-header,
body.pe-resource-single-page .post-meta,
body.pe-resource-single-page .fixed-nav,
body.pe-resource-single-page .post-nav,
body.pe-resource-single-page .section-post-about,
body.pe-resource-single-page .section-post-comments,
body.pe-resource-single-page .section-post-related,
body.pe-resource-single-page .share_wrapper,
body.pe-resource-single-page .share-simple-wrapper,
body.pe-resource-single-page .section-post-footer,
body.pe-resource-single-page .post-footer,
body.pe-resource-single-page .post-share,
body.pe-resource-single-page .mfn-post-footer,
body.pe-resource-single-page .mfn-share,
body.pe-resource-single-page .single-share,
body.pe-resource-single-page .share-box {
	display: none !important;
}


/* =========================================================
   TOKENS
========================================================= */

:root {
	--pers-black: #030303;
	--pers-ink: #151515;
	--pers-charcoal: #101010;
	--pers-red: #ed1c24;
	--pers-yellow: #ffd21a;
	--pers-yellow-2: #ffc75a;
	--pers-white: #ffffff;
	--pers-soft: #f4fbff;
	--pers-copy: #555555;
	--pers-muted: #777777;
	--pers-line: rgba(0,0,0,0.09);
	--pers-yellow-line: rgba(255,210,26,0.25);
	--pers-red-line: rgba(237,28,36,0.18);
	--pers-shadow: 0 24px 58px rgba(0,0,0,0.12);
	--pers-dark-shadow: 0 28px 70px rgba(0,0,0,0.36);
}

.peresources,
.pearticle,
.peresources *,
.pearticle * {
	box-sizing: border-box;
}

.peresources,
.pearticle,
.peresources-hero,
.peresources-topic-strip,
.peresources-section,
.pearticle-hero,
.pearticle-section,
.pearticle-nav-section,
.pearticle-final-cta {
	position: relative;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	overflow: hidden;
	font-family: inherit;
}

.peresources,
.pearticle {
	color: var(--pers-ink);
	background: #ffffff;
}

.peresources-shell,
.pearticle-shell {
	width: min(100% - 48px, 1320px) !important;
	max-width: 1320px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.peresources-eyebrow,
.pearticle-eyebrow {
	display: inline-flex;
	margin: 0 0 14px;
	color: var(--pers-red);
	font-size: 11px;
	font-weight: 950;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.peresources-btn,
.pearticle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 16px 24px;
	border: 1px solid transparent;
	font-size: 12px;
	font-weight: 950;
	line-height: 1.15;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none !important;
	transition:
		transform 0.24s ease,
		box-shadow 0.24s ease,
		background 0.24s ease,
		border-color 0.24s ease,
		color 0.24s ease;
}

.peresources-btn-primary,
.pearticle-btn-primary {
	color: #050505 !important;
	background: linear-gradient(135deg, var(--pers-yellow), var(--pers-yellow-2));
	box-shadow: 0 16px 34px rgba(255,210,26,0.22);
}

.peresources-btn-secondary,
.pearticle-btn-secondary {
	color: #ffffff !important;
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.18);
}

.peresources-btn:hover,
.pearticle-btn:hover {
	transform: translateY(-3px);
}

.peresources-btn-secondary:hover,
.pearticle-btn-secondary:hover {
	color: #050505 !important;
	background: #ffffff;
	border-color: #ffffff;
}


/* =========================================================
   SHARED DARK GRADIENT HERO
========================================================= */

.peresources-hero,
.pearticle-hero {
	min-height: 590px;
	display: flex;
	align-items: center;
	padding: 92px 0;
	color: #ffffff;
	background: #050505;
	border-bottom: 5px solid var(--pers-red);
}

.peresources-hero-bg,
.pearticle-hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 15% 48%, rgba(255,210,26,0.24) 0%, rgba(255,210,26,0.12) 22%, rgba(255,210,26,0) 52%),
		radial-gradient(ellipse at 82% 42%, rgba(237,28,36,0.32) 0%, rgba(237,28,36,0.15) 28%, rgba(237,28,36,0) 58%),
		linear-gradient(90deg, #050505 0%, #070604 36%, #110303 72%, #050505 100%);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center center;
}

.peresources-hero::after,
.pearticle-hero::after {
	position: absolute;
	inset: auto 0 0;
	height: 46%;
	background:
		linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.34) 58%, rgba(0,0,0,0.72) 100%);
	content: "";
	pointer-events: none;
}

.peresources-hero-grid,
.pearticle-hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: 52px;
	align-items: center;
}

.peresources-hero-copy,
.pearticle-hero-copy {
	max-width: 820px;
}

.peresources-hero .peresources-eyebrow,
.pearticle-hero .pearticle-eyebrow {
	color: var(--pers-yellow);
}

.peresources-hero h1,
.pearticle-hero h1 {
	margin: 0 0 22px;
	color: #ffffff;
	font-size: clamp(46px, 5.8vw, 84px);
	line-height: 0.92;
	font-weight: 950;
	letter-spacing: -0.065em;
	text-wrap: balance;
}

.peresources-hero p,
.pearticle-hero p {
	max-width: 720px;
	margin: 0;
	color: rgba(255,255,255,0.78);
	font-size: 18px;
	line-height: 1.75;
}

.peresources-hero-actions,
.pearticle-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 32px;
}

.peresources-hero-pills,
.pearticle-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.peresources-hero-pills span,
.pearticle-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 10px 12px;
	color: rgba(255,255,255,0.88);
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,210,26,0.18);
	font-size: 10px;
	font-weight: 950;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.peresources-hero-card,
.pearticle-hero-card {
	position: relative;
	overflow: hidden;
	padding: 32px;
	background:
		radial-gradient(circle at top right, rgba(255,210,26,0.16), transparent 34%),
		linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
	border: 1px solid rgba(255,210,26,0.24);
	box-shadow: var(--pers-dark-shadow);
	backdrop-filter: blur(12px);
}

.peresources-hero-card::before,
.pearticle-hero-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: var(--pers-red);
	content: "";
}

.peresources-hero-card span,
.pearticle-hero-card span {
	display: block;
	margin-bottom: 14px;
	color: var(--pers-yellow);
	font-size: 11px;
	font-weight: 950;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.peresources-hero-card strong,
.pearticle-hero-card strong {
	display: block;
	margin-bottom: 12px;
	color: #ffffff;
	font-size: 26px;
	line-height: 1.1;
	font-weight: 950;
	letter-spacing: -0.035em;
}

.peresources-hero-card p,
.pearticle-hero-card p {
	margin: 0;
	color: rgba(255,255,255,0.72);
	font-size: 15px;
	line-height: 1.7;
}

.pearticle-breadcrumb {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0 0 18px;
	padding: 11px 15px;
	color: #050505 !important;
	background: linear-gradient(135deg, var(--pers-yellow), var(--pers-yellow-2));
	border: 1px solid rgba(255,210,26,0.35);
	box-shadow: 0 14px 32px rgba(255,210,26,0.18);
	font-size: 11px;
	font-weight: 950;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pearticle-breadcrumb:hover {
	transform: translateY(-2px);
}


/* =========================================================
   HUB TOPIC STRIP
========================================================= */

.peresources-topic-strip {
	padding: 22px 0;
	background: #ffffff;
	box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.peresources-topic-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.peresources-topic-grid a {
	display: block;
	min-height: 104px;
	padding: 22px;
	color: var(--pers-ink) !important;
	background: linear-gradient(145deg, #ffffff, #fff8e8);
	border: 1px solid rgba(255,210,26,0.28);
	text-decoration: none !important;
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.peresources-topic-grid a:hover {
	transform: translateY(-4px);
	border-color: rgba(237,28,36,0.25);
	box-shadow: 0 18px 38px rgba(0,0,0,0.1);
}

.peresources-topic-grid span {
	display: block;
	margin-bottom: 8px;
	color: var(--pers-red);
	font-size: 11px;
	font-weight: 950;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.peresources-topic-grid strong {
	display: block;
	color: var(--pers-ink);
	font-size: 17px;
	line-height: 1.25;
	font-weight: 950;
	letter-spacing: -0.02em;
}


/* =========================================================
   HUB SECTIONS / GRIDS
========================================================= */

.peresources-section {
	padding: 82px 0;
}

.peresources-section:nth-of-type(even) {
	background: #f4fbff;
}

.peresources-section-head,
.pearticle-section-head {
	max-width: 780px;
	margin: 0 auto 36px;
	text-align: center;
}

.peresources-section-head-left {
	margin-left: 0;
	text-align: left;
}

.peresources-section-head h2,
.pearticle-section-head h2 {
	margin: 0 0 14px;
	color: var(--pers-ink);
	font-size: clamp(34px, 4vw, 56px);
	line-height: 0.98;
	font-weight: 950;
	letter-spacing: -0.055em;
	text-wrap: balance;
}

.peresources-section-head p,
.pearticle-section-head p {
	margin: 0;
	color: var(--pers-copy);
	font-size: 16px;
	line-height: 1.75;
}

.peresources-main-grid,
.pearticle-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 42px;
	align-items: start;
}

.peresources-grid,
.pearticle-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}


/* =========================================================
   CARDS
========================================================= */

.peresources-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	background: #ffffff;
	border: 1px solid var(--pers-line);
	box-shadow: 0 18px 42px rgba(0,0,0,0.07);
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.peresources-card:hover {
	transform: translateY(-6px);
	border-color: rgba(237,28,36,0.22);
	box-shadow: 0 28px 62px rgba(0,0,0,0.13);
}

.peresources-card-image {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #111111;
	text-decoration: none !important;
}

.peresources-card-image::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(255,210,26,0.14) 0%, rgba(237,28,36,0.16) 52%, rgba(0,0,0,0.18) 100%),
		radial-gradient(circle at 18% 16%, rgba(255,210,26,0.22), transparent 38%),
		radial-gradient(circle at 84% 78%, rgba(237,28,36,0.2), transparent 42%);
	opacity: 0.28;
	content: "";
	pointer-events: none;
	transition: opacity 0.26s ease;
}

.peresources-card:hover .peresources-card-image::after {
	opacity: 0.68;
}

.peresources-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(1) contrast(1);
	transition: transform 0.42s ease, filter 0.42s ease;
}

.peresources-card:hover .peresources-card-image img {
	transform: scale(1.045);
	filter: saturate(1.08) contrast(1.04) brightness(1.03);
}

.peresources-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.peresources-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.peresources-card-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 7px 9px;
	color: var(--pers-red);
	background: rgba(237,28,36,0.06);
	border: 1px solid rgba(237,28,36,0.1);
	font-size: 10px;
	font-weight: 950;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.peresources-card h3 {
	margin: 0 0 12px;
	color: var(--pers-ink);
	font-size: 22px;
	line-height: 1.12;
	font-weight: 950;
	letter-spacing: -0.035em;
}

.peresources-card h3 a {
	color: inherit !important;
	text-decoration: none !important;
}

.peresources-card p {
	margin: 0 0 20px;
	color: var(--pers-copy);
	font-size: 14px;
	line-height: 1.68;
}

.peresources-card-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	color: var(--pers-red) !important;
	font-size: 11px;
	font-weight: 950;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none !important;
}

.peresources-card-link::after {
	color: var(--pers-yellow);
	font-size: 15px;
	content: "➜";
	transition: transform 0.2s ease;
}

.peresources-card-link:hover::after {
	transform: translateX(4px);
}

.peresources-card-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	min-height: 430px;
	background: linear-gradient(145deg, #ffffff, #fff7e3);
}

.peresources-card-featured .peresources-card-image {
	aspect-ratio: auto;
	min-height: 430px;
}

.peresources-card-featured .peresources-card-body {
	justify-content: center;
	padding: 46px;
}

.peresources-card-featured h3 {
	font-size: clamp(32px, 3.4vw, 52px);
	line-height: 0.98;
}


/* =========================================================
   SIDEBARS
========================================================= */

.peresources-sidebar,
.pearticle-sidebar {
	position: sticky;
	top: 150px;
	display: grid;
	gap: 18px;
	align-self: start;
}

.peresources-side-card,
.pearticle-side-card {
	position: relative;
	overflow: hidden;
	padding: 26px;
	background: #ffffff;
	border: 1px solid var(--pers-line);
	box-shadow: 0 18px 44px rgba(0,0,0,0.08);
}

.peresources-side-card > span,
.pearticle-side-card > span {
	display: block;
	margin-bottom: 12px;
	color: var(--pers-red);
	font-size: 10px;
	font-weight: 950;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.peresources-side-card h3,
.pearticle-side-card h3 {
	margin: 0 0 12px;
	color: var(--pers-ink);
	font-size: 26px;
	line-height: 1.05;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.peresources-side-card p,
.pearticle-side-card p {
	margin: 0;
	color: var(--pers-copy);
	font-size: 14px;
	line-height: 1.7;
}

.peresources-side-cta,
.pearticle-side-cta {
	color: #ffffff;
	background:
		radial-gradient(circle at top right, rgba(255,210,26,0.2), transparent 34%),
		linear-gradient(145deg, #050505, #1c1c1c);
	border-color: rgba(255,210,26,0.22);
	box-shadow: var(--pers-dark-shadow);
}

.peresources-side-cta h3,
.pearticle-side-cta h3 {
	color: #ffffff;
}

.pearticle-side-cta h3 {
	max-width: 280px;
	font-size: 25px;
	line-height: 1.12;
}

.peresources-side-cta p,
.pearticle-side-cta p {
	color: rgba(255,255,255,0.72);
}

.peresources-side-cta a,
.pearticle-side-cta a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	margin-top: 14px;
	padding: 14px 16px;
	color: #050505 !important;
	background: linear-gradient(135deg, var(--pers-yellow), var(--pers-yellow-2));
	border: 1px solid transparent;
	font-size: 11px;
	font-weight: 950;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform 0.22s ease;
}

.peresources-side-cta a:last-child,
.pearticle-side-cta a:last-child {
	color: #ffffff !important;
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.15);
}

.peresources-side-cta a:hover,
.pearticle-side-cta a:hover {
	transform: translateY(-3px);
}

.peresources-side-links,
.pearticle-side-links {
	display: grid;
	gap: 8px;
}

.peresources-side-links a,
.pearticle-side-links a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding: 13px 34px 13px 14px;
	color: var(--pers-ink) !important;
	background: #f8f8f8;
	border: 1px solid rgba(0,0,0,0.06);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.25;
	text-decoration: none !important;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.peresources-side-links a::after,
.pearticle-side-links a::after {
	position: absolute;
	right: 14px;
	color: var(--pers-red);
	content: "›";
	font-size: 18px;
	line-height: 1;
}

.peresources-side-links a:hover,
.pearticle-side-links a:hover {
	color: #ffffff !important;
	background: var(--pers-ink);
	border-color: var(--pers-ink);
	transform: translateX(4px);
}


/* =========================================================
   DARK INTERLINK SECTION
========================================================= */

.peresources-dark {
	color: #ffffff;
	background:
		radial-gradient(circle at 16% 30%, rgba(255,210,26,0.14), transparent 34%),
		radial-gradient(circle at 92% 36%, rgba(237,28,36,0.2), transparent 34%),
		linear-gradient(135deg, #050505, #170404) !important;
	border-top: 5px solid var(--pers-red);
	border-bottom: 5px solid var(--pers-red);
}

.peresources-dark-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 52px;
	align-items: center;
}

.peresources-dark-copy .peresources-eyebrow {
	color: var(--pers-yellow);
}

.peresources-dark-copy h2 {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: clamp(38px, 4.8vw, 66px);
	line-height: 0.94;
	font-weight: 950;
	letter-spacing: -0.06em;
}

.peresources-dark-copy p {
	margin: 0 0 28px;
	color: rgba(255,255,255,0.74);
	font-size: 16px;
	line-height: 1.75;
}

.peresources-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.peresources-feature-grid a {
	position: relative;
	overflow: hidden;
	display: block;
	min-height: 230px;
	padding: 26px;
	color: #ffffff !important;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,210,26,0.18);
	text-decoration: none !important;
	transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.peresources-feature-grid a:hover {
	transform: translateY(-5px);
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,210,26,0.42);
}

.peresources-feature-grid span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 18px;
	color: #050505;
	background: var(--pers-yellow);
	font-size: 12px;
	font-weight: 950;
}

.peresources-feature-grid h3 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 24px;
	line-height: 1.05;
	font-weight: 950;
	letter-spacing: -0.035em;
}

.peresources-feature-grid p {
	margin: 0;
	color: rgba(255,255,255,0.68);
	font-size: 14px;
	line-height: 1.65;
}


/* =========================================================
   FAQ
========================================================= */

.peresources-faq {
	background: #ffffff;
}

.peresources-faq-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 52px;
	align-items: start;
}

.peresources-faq-copy h2 {
	margin: 0 0 16px;
	color: var(--pers-ink);
	font-size: clamp(36px, 4.4vw, 62px);
	line-height: 0.96;
	font-weight: 950;
	letter-spacing: -0.06em;
}

.peresources-faq-copy p {
	margin: 0 0 28px;
	color: var(--pers-copy);
	font-size: 16px;
	line-height: 1.75;
}

.peresources-faq-list {
	display: grid;
	gap: 12px;
}

.peresources-faq-list details {
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 14px 34px rgba(0,0,0,0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.peresources-faq-list details:hover {
	transform: translateY(-3px);
	border-color: rgba(237,28,36,0.18);
	box-shadow: 0 20px 44px rgba(0,0,0,0.09);
}

.peresources-faq-list summary {
	position: relative;
	padding: 22px 58px 22px 24px;
	color: var(--pers-ink);
	font-size: 16px;
	font-weight: 950;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}

.peresources-faq-list summary::-webkit-details-marker {
	display: none;
}

.peresources-faq-list summary::after {
	position: absolute;
	top: 50%;
	right: 22px;
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	color: #050505;
	background: var(--pers-yellow);
	border-radius: 999px;
	content: "+";
	transform: translateY(-50%);
}

.peresources-faq-list details[open] summary::after {
	content: "−";
}

.peresources-faq-list p {
	margin: 0;
	padding: 0 24px 24px;
	color: var(--pers-copy);
	font-size: 15px;
	line-height: 1.72;
}


/* =========================================================
   PAGINATION / EMPTY
========================================================= */

.peresources-pagination {
	margin-top: 36px;
}

.peresources-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.peresources-pagination li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.peresources-pagination a,
.peresources-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 12px 15px;
	color: var(--pers-ink) !important;
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.08);
	font-size: 12px;
	font-weight: 950;
	line-height: 1;
	text-decoration: none !important;
}

.peresources-pagination .current,
.peresources-pagination a:hover {
	color: #050505 !important;
	background: var(--pers-yellow);
	border-color: var(--pers-yellow);
}

.peresources-empty {
	padding: 42px;
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.08);
	box-shadow: var(--pers-shadow);
}

.peresources-empty span {
	display: block;
	margin-bottom: 12px;
	color: var(--pers-red);
	font-size: 11px;
	font-weight: 950;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.peresources-empty h3 {
	margin: 0 0 12px;
	color: var(--pers-ink);
	font-size: 32px;
	line-height: 1.05;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.peresources-empty p {
	margin: 0;
	color: var(--pers-copy);
	font-size: 15px;
	line-height: 1.7;
}


/* =========================================================
   SINGLE ARTICLE CONTENT
========================================================= */

.pearticle-main {
	padding: 82px 0;
	background:
		radial-gradient(circle at 8% 18%, rgba(255,210,26,0.08), transparent 32%),
		linear-gradient(180deg, #f4fbff 0%, #eef8ff 100%);
}

.pearticle-content-card {
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.08);
	box-shadow: var(--pers-shadow);
}

.pearticle-content {
	padding: clamp(30px, 5vw, 62px);
	color: var(--pers-ink);
}

.pearticle-content > *:first-child {
	margin-top: 0 !important;
}

.pearticle-content > *:last-child {
	margin-bottom: 0 !important;
}

.pearticle-content h2,
.pearticle-content h3,
.pearticle-content h4 {
	color: var(--pers-ink);
	font-weight: 950;
	letter-spacing: -0.045em;
}

.pearticle-content h2 {
	position: relative;
	margin: 52px 0 18px;
	padding-top: 22px;
	font-size: clamp(30px, 3.2vw, 46px);
	line-height: 1.02;
}

.pearticle-content h2::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 72px;
	height: 4px;
	background: var(--pers-red);
	content: "";
}

.pearticle-content h3 {
	margin: 34px 0 14px;
	font-size: clamp(24px, 2.4vw, 34px);
	line-height: 1.06;
}

.pearticle-content h4 {
	margin: 28px 0 12px;
	font-size: 22px;
	line-height: 1.15;
}

.pearticle-content p {
	margin: 0 0 22px;
	color: #4f4f4f;
	font-size: 17px;
	line-height: 1.82;
}

.pearticle-content a {
	color: var(--pers-red) !important;
	font-weight: 850;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.pearticle-content ul,
.pearticle-content ol {
	margin: 0 0 28px 0;
	padding-left: 0;
	list-style: none;
}

.pearticle-content li {
	position: relative;
	margin: 0 0 12px;
	padding-left: 30px;
	color: #4f4f4f;
	font-size: 17px;
	line-height: 1.72;
}

.pearticle-content ul li::before {
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 9px;
	height: 9px;
	background: var(--pers-yellow);
	box-shadow: 0 0 0 5px rgba(255,210,26,0.2);
	content: "";
	transform: translateY(-50%);
}

.pearticle-content ol {
	counter-reset: pe-counter;
}

.pearticle-content ol li {
	counter-increment: pe-counter;
	padding-left: 42px;
}

.pearticle-content ol li::before {
	position: absolute;
	top: 0.2em;
	left: 0;
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	color: #050505;
	background: var(--pers-yellow);
	font-size: 12px;
	font-weight: 950;
	line-height: 1;
	content: counter(pe-counter);
}

.pearticle-content blockquote {
	position: relative;
	margin: 36px 0;
	padding: 30px 34px;
	color: #ffffff;
	background:
		radial-gradient(circle at top right, rgba(255,210,26,0.16), transparent 34%),
		linear-gradient(145deg, #050505, #1a1a1a);
	border: 1px solid rgba(255,210,26,0.22);
}

.pearticle-content blockquote p {
	margin: 0;
	color: rgba(255,255,255,0.86);
	font-size: 20px;
	line-height: 1.62;
	font-weight: 800;
}

.pearticle-content img {
	display: block;
	width: 100%;
	margin: 34px 0;
	border: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 18px 42px rgba(0,0,0,0.1);
}

.pearticle-content table {
	width: 100%;
	margin: 34px 0;
	border-collapse: collapse;
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.08);
	overflow: hidden;
}

.pearticle-content th,
.pearticle-content td {
	padding: 16px;
	border: 1px solid rgba(0,0,0,0.08);
	color: #4f4f4f;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}

.pearticle-content th {
	color: #050505;
	background: #fff4cf;
	font-weight: 950;
}


/* =========================================================
   ARTICLE TOC
========================================================= */

.pearticle-mobile-toc {
	display: none;
}

.pearticle-toc {
	display: grid;
	gap: 7px;
}

.pearticle-toc a,
.pearticle-mobile-toc a {
	display: block;
	padding: 11px 12px;
	color: var(--pers-copy) !important;
	background: #f8f8f8;
	border: 1px solid rgba(0,0,0,0.06);
	font-size: 13px;
	font-weight: 850;
	line-height: 1.35;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pearticle-toc a:hover,
.pearticle-toc a.is-active,
.pearticle-mobile-toc a:hover,
.pearticle-mobile-toc a.is-active {
	color: #050505 !important;
	background: var(--pers-yellow);
	border-color: var(--pers-yellow);
}


/* =========================================================
   ARTICLE RELATED / NAV / CTA
========================================================= */

.pearticle-related {
	padding: 82px 0;
	background: #ffffff;
}

.pearticle-nav-section {
	padding: 34px 0;
	background: #f4fbff;
}

.pearticle-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.pearticle-post-nav a {
	display: block;
	min-height: 130px;
	padding: 26px;
	color: #ffffff !important;
	background:
		radial-gradient(circle at top right, rgba(255,210,26,0.16), transparent 34%),
		linear-gradient(145deg, #050505, #1a1a1a);
	border: 1px solid rgba(255,210,26,0.22);
	text-decoration: none !important;
	transition: transform 0.22s ease, border-color 0.22s ease;
}

.pearticle-post-nav a:hover {
	transform: translateY(-4px);
	border-color: rgba(255,210,26,0.42);
}

.pearticle-post-nav span {
	display: block;
	margin-bottom: 10px;
	color: var(--pers-yellow);
	font-size: 10px;
	font-weight: 950;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pearticle-post-nav strong {
	display: block;
	color: #ffffff;
	font-size: 22px;
	line-height: 1.12;
	font-weight: 950;
	letter-spacing: -0.035em;
}

.pearticle-final-cta {
	padding: 58px 0;
	color: #ffffff;
	background:
		radial-gradient(circle at 14% 30%, rgba(255,210,26,0.14), transparent 32%),
		radial-gradient(circle at 88% 26%, rgba(237,28,36,0.18), transparent 34%),
		linear-gradient(135deg, #050505, #170404);
	border-top: 5px solid var(--pers-red);
}

.pearticle-final-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 34px;
	align-items: center;
}

.pearticle-final-grid span {
	display: block;
	margin-bottom: 12px;
	color: var(--pers-yellow);
	font-size: 11px;
	font-weight: 950;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.pearticle-final-grid h2 {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: clamp(32px, 4vw, 58px);
	line-height: 0.96;
	font-weight: 950;
	letter-spacing: -0.055em;
}

.pearticle-final-grid p {
	max-width: 780px;
	margin: 0;
	color: rgba(255,255,255,0.74);
	font-size: 16px;
	line-height: 1.75;
}

.pearticle-final-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
}

.pearticle-final-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 16px 22px;
	color: #050505 !important;
	background: linear-gradient(135deg, var(--pers-yellow), var(--pers-yellow-2));
	border: 1px solid transparent;
	font-size: 12px;
	font-weight: 950;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pearticle-final-actions a:last-child {
	color: #ffffff !important;
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.16);
}

.pearticle-final-actions a:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 38px rgba(255,210,26,0.18);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
	.peresources-main-grid,
	.pearticle-main-grid {
		grid-template-columns: minmax(0, 1fr) 310px;
		gap: 30px;
	}

	.peresources-grid,
	.pearticle-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.peresources-hero-grid,
	.pearticle-hero-grid,
	.peresources-dark-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.peresources-hero-card,
	.pearticle-hero-card {
		max-width: 640px;
	}
}

@media (max-width: 980px) {
	.peresources-shell,
	.pearticle-shell {
		width: min(100% - 34px, 760px) !important;
	}

	.peresources-hero,
	.pearticle-hero {
		min-height: auto;
		padding: 82px 0;
	}

	.peresources-topic-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.peresources-main-grid,
	.pearticle-main-grid,
	.peresources-faq-grid,
	.pearticle-final-grid {
		grid-template-columns: 1fr;
	}

	.peresources-sidebar,
	.pearticle-sidebar {
		position: relative;
		top: auto;
	}

	.peresources-card-featured {
		grid-template-columns: 1fr;
	}

	.peresources-card-featured .peresources-card-image {
		min-height: auto;
		aspect-ratio: 16 / 10;
	}

	.peresources-card-featured .peresources-card-body {
		padding: 30px;
	}

	.pearticle-mobile-toc {
		display: grid;
		gap: 7px;
		margin-bottom: 20px;
		padding: 20px;
		background: #ffffff;
		border: 1px solid rgba(0,0,0,0.08);
		box-shadow: 0 14px 34px rgba(0,0,0,0.06);
	}

	.pearticle-mobile-toc > span {
		display: block;
		margin-bottom: 8px;
		color: var(--pers-red);
		font-size: 10px;
		font-weight: 950;
		letter-spacing: 0.14em;
		text-transform: uppercase;
	}

	.pearticle-toc {
		display: none;
	}

	.pearticle-final-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 700px) {
	.peresources-shell,
	.pearticle-shell {
		width: min(100% - 26px, 540px) !important;
	}

	.peresources-hero,
	.pearticle-hero {
		padding: 66px 0;
	}

	.peresources-hero h1,
	.pearticle-hero h1 {
		font-size: clamp(40px, 13vw, 60px);
	}

	.peresources-hero p,
	.pearticle-hero p {
		font-size: 16px;
		line-height: 1.68;
	}

	.peresources-hero-actions,
	.pearticle-hero-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.peresources-btn,
	.pearticle-btn {
		width: 100%;
	}

	.peresources-hero-pills,
	.pearticle-meta {
		display: grid;
		grid-template-columns: 1fr;
	}

	.peresources-topic-grid,
	.peresources-grid,
	.pearticle-related-grid,
	.peresources-feature-grid,
	.pearticle-post-nav {
		grid-template-columns: 1fr;
	}

	.peresources-section,
	.pearticle-section,
	.pearticle-related {
		padding: 58px 0;
	}

	.peresources-section-head,
	.pearticle-section-head,
	.peresources-section-head-left {
		text-align: left;
	}

	.peresources-card-body,
	.peresources-side-card,
	.pearticle-side-card {
		padding: 22px;
	}

	.peresources-card-featured .peresources-card-body {
		padding: 24px;
	}

	.peresources-card h3,
	.peresources-card-featured h3 {
		font-size: 24px;
		line-height: 1.06;
	}

	.pearticle-content {
		padding: 26px 20px;
	}

	.pearticle-content h2 {
		font-size: 30px;
	}

	.pearticle-content h3 {
		font-size: 24px;
	}

	.pearticle-content p,
	.pearticle-content li {
		font-size: 16px;
		line-height: 1.74;
	}

	.pearticle-final-actions {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}

	.pearticle-final-actions a {
		width: 100%;
	}
}