/* =========================================================
   Advanced Portfolio — Frontend Styles
   All selectors are scoped under .advpf-wrap to avoid leaking
   into the host theme. Colors/spacing use CSS custom properties
   so a theme (or the Elementor/Gutenberg controls) can override
   them without touching this file.
   ========================================================= */

.advpf-wrap {
	--advpf-primary: #4655f5;
	--advpf-primary-dark: #3a46d6;
	--advpf-title: #1a1d2e;
	--advpf-text: #6b7280;
	--advpf-border: #e7e9f0;
	--advpf-radius: 16px;
	--advpf-shadow: 0 4px 14px rgba(20, 24, 55, 0.06);
	--advpf-shadow-hover: 0 14px 30px rgba(20, 24, 55, 0.13);
	/* v3.0 Design-settings-overridable tokens (Portfolio → Settings →
	   Design). Defaults below match the plugin's existing look exactly —
	   overriding one of these via Settings is the only thing that changes
	   the rendered color/size; nothing here shifts on its own. */
	--advpf-card-bg: #fff;
	--advpf-card-border: var(--advpf-border);
	--advpf-active-cat-bg: var(--advpf-primary);
	--advpf-active-cat-text: #fff;
	--advpf-button-bg: var(--advpf-primary);
	--advpf-button-text: #fff;
	--advpf-font-card-title: 16.5px;
	--advpf-font-card-desc: 13px;
	--advpf-font-category: 12.5px;
	--advpf-font-single-title: 34px;
	--advpf-font-section-heading: 20px;
	--advpf-font-body: 15.5px;
	box-sizing: border-box;
}
.advpf-wrap *,
.advpf-wrap *::before,
.advpf-wrap *::after {
	box-sizing: inherit;
}

/* ---------- Filter bar ---------- */
.advpf-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.advpf-filter-btn {
	appearance: none;
	background: #fff;
	border: 1px solid var(--advpf-border);
	color: #3d4152;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.advpf-filter-btn:hover {
	border-color: var(--advpf-primary);
	color: var(--advpf-primary);
	transform: translateY(-1px);
}
.advpf-filter-btn.is-active {
	background: var(--advpf-active-cat-bg);
	border-color: var(--advpf-active-cat-bg);
	color: var(--advpf-active-cat-text);
	box-shadow: 0 6px 16px rgba(70, 85, 245, 0.28);
}

/* ---------- Grid ---------- */
.advpf-grid {
	display: grid;
	grid-template-columns: repeat(var(--advpf-cols-desktop, 3), 1fr);
	gap: 26px;
	transition: opacity 0.25s ease;
}
.advpf-grid.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.advpf-grid { grid-template-columns: repeat(var(--advpf-cols-tablet, 2), 1fr); }
}
@media (max-width: 640px) {
	.advpf-grid { grid-template-columns: repeat(var(--advpf-cols-mobile, 1), 1fr); }
}

/* ---------- Card ---------- */
.advpf-card {
	background: var(--advpf-card-bg);
	border: 1px solid var(--advpf-card-border);
	border-radius: var(--advpf-radius);
	overflow: hidden;
	box-shadow: var(--advpf-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
	opacity: 0;
	animation: advpf-fade-in 0.5s ease forwards;
	cursor: pointer; /* the whole card is a click target — see frontend.js */
}
@keyframes advpf-fade-in {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}
.advpf-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--advpf-shadow-hover);
}

.advpf-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef0f6;
}
.advpf-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.advpf-card:hover .advpf-card-media img {
	transform: scale(1.06);
}
.advpf-card-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(17, 20, 39, 0.72);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 5px 10px;
	border-radius: 999px;
	backdrop-filter: blur(3px);
}

.advpf-card-body {
	padding: 18px 20px 20px;
	display: flex;
	flex: 1;
	gap: 12px;
}
.advpf-card-content {
	flex: 1;
	min-width: 0;
}
.advpf-card-category {
	display: inline-block;
	font-size: var(--advpf-font-category);
	font-weight: 700;
	color: var(--advpf-cat-color, var(--advpf-primary));
	margin-bottom: 6px;
}
.advpf-card-title {
	margin: 0 0 6px;
	font-size: var(--advpf-font-card-title);
	line-height: 1.3;
	font-weight: 700;
	color: var(--advpf-title);
}
.advpf-card-title a {
	color: inherit;
	text-decoration: none;
}
.advpf-card-desc {
	margin: 0;
	font-size: var(--advpf-font-card-desc);
	line-height: 1.55;
	color: var(--advpf-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.advpf-card-arrow {
	flex-shrink: 0;
	align-self: flex-end;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1.5px solid var(--advpf-primary);
	background: #fff;
	color: var(--advpf-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
	cursor: pointer;
}
.advpf-card-arrow svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.advpf-card-arrow:hover {
	background: var(--advpf-primary);
	color: #fff;
	transform: translateX(2px);
}

/* ---------- Pagination ---------- */
.advpf-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 30px;
}
.advpf-page-numbers { display: flex; gap: 6px; }
.advpf-page-btn {
	appearance: none;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--advpf-border);
	background: #fff;
	border-radius: 8px;
	color: #3d4152;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.advpf-page-btn:hover:not(:disabled) {
	border-color: var(--advpf-primary);
	color: var(--advpf-primary);
}
.advpf-page-btn.is-active {
	background: var(--advpf-active-cat-bg);
	border-color: var(--advpf-active-cat-bg);
	color: var(--advpf-active-cat-text);
}
.advpf-page-btn:disabled { opacity: 0.4; cursor: default; }

/* ---------- View all button ---------- */
.advpf-view-all {
	display: block;
	width: max-content;
	margin: 34px auto 0;
	padding: 13px 30px;
	border: 1.5px solid var(--advpf-primary);
	border-radius: 999px;
	color: var(--advpf-primary);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.advpf-view-all:hover {
	background: var(--advpf-button-bg);
	color: var(--advpf-button-text);
}

/* ---------- Empty state ---------- */
.advpf-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--advpf-text);
	grid-column: 1 / -1;
}

/* ---------- Popup / lightbox ----------
   IMPORTANT: pointer-events defaults to none. Without this, the closed
   overlay is still a full-viewport `position:fixed` box sitting on top
   of the entire page — invisible (opacity:0) but still capturing every
   click underneath it, which is what breaks cards/filters/buttons
   anywhere on the page the shortcode is used. Only .is-open re-enables
   pointer-events, once the overlay is actually meant to be interactive. */
.advpf-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 17, 33, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 100000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.advpf-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.2s ease, visibility 0s linear 0s;
}
.advpf-modal {
	background: #fff;
	border-radius: 18px;
	max-width: 720px;
	width: 100%;
	max-height: 86vh;
	overflow-y: auto;
	position: relative;
	transform: translateY(16px);
	transition: transform 0.2s ease;
}
.advpf-modal-overlay.is-open .advpf-modal { transform: translateY(0); }
.advpf-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.15);
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	color: #333;
	z-index: 1;
}
.advpf-modal-media img { width: 100%; display: block; border-radius: 18px 18px 0 0; }
.advpf-modal-body { padding: 24px; }
.advpf-modal-body h3 { margin: 0 0 8px; font-size: 20px; color: var(--advpf-title); }
.advpf-modal-body p { color: var(--advpf-text); line-height: 1.6; }
.advpf-modal-gallery { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.advpf-modal-gallery img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.advpf-modal-cta {
	display: inline-block;
	margin-top: 16px;
	padding: 11px 22px;
	background: var(--advpf-button-bg);
	color: var(--advpf-button-text);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
}

/* ---------- Skeleton loading ---------- */
.advpf-skeleton .advpf-card-media { background: linear-gradient(90deg,#eef0f6 25%,#f6f7fb 37%,#eef0f6 63%); background-size: 400% 100%; animation: advpf-shimmer 1.4s ease infinite; }
@keyframes advpf-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }


/* ---------- AJAX Search (v3.0) ---------- */
.advpf-search {
	position: relative;
	max-width: 480px;
	margin: 0 auto 32px;
}
.advpf-search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--advpf-text);
	display: flex;
	pointer-events: none;
}
.advpf-search-icon svg { width: 18px; height: 18px; }
.advpf-search-input {
	width: 100%;
	padding: 13px 44px 13px 46px;
	border: 1px solid var(--advpf-card-border);
	border-radius: 999px;
	font-size: 14px;
	color: var(--advpf-title);
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.advpf-search-input:focus {
	outline: none;
	border-color: var(--advpf-primary);
	box-shadow: 0 0 0 3px rgba(70, 85, 245, 0.12);
}
.advpf-search-input::placeholder { color: #a8adba; }
.advpf-search-clear {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	font-size: 20px;
	line-height: 1;
	color: var(--advpf-text);
	cursor: pointer;
	padding: 4px 8px;
}
.advpf-search-clear:hover { color: var(--advpf-title); }

/* =========================================================
   Single Project page (v3.0 redesign — matches the supplied
   reference layout: top title/category/visit-website row,
   Description + main image, two-column info sidebar with
   platform links, gallery, resource cards, social sharing,
   related projects. Colors/sizes all come from the CSS
   variables above, NOT hardcoded from the reference image,
   per the "keep existing theme colors" requirement.
   ========================================================= */
.advpf-single {
	/* v3.1: no fixed max-width — the page follows whatever content/
	   container width the active theme provides (spec: "do not use a
	   fixed width"). Previously this was capped at 1200px and
	   independently centered, which fought with narrower AND wider
	   theme containers alike. */
	width: 100%;
	padding: 48px 20px 70px;
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	grid-template-areas:
		"hero      hero"
		"main      sidebar"
		"gallery   gallery"
		"resources resources"
		"social    social"
		"related   related";
	column-gap: 44px;
	row-gap: 40px;
}
/* Mobile stacking order per spec §22: Main → Project Information →
   Gallery → Short Description → Social Sharing → Related Projects. */
@media (max-width: 900px) {
	.advpf-single {
		grid-template-columns: 1fr;
		grid-template-areas:
			"hero"
			"main"
			"sidebar"
			"gallery"
			"resources"
			"social"
			"related";
		row-gap: 34px;
	}
}

.advpf-single-hero { grid-area: hero; }
.advpf-single-title { font-size: var(--advpf-font-single-title); line-height: 1.2; color: var(--advpf-title); margin: 0 0 16px; }
.advpf-single-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.advpf-single-tag {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--advpf-cat-color, var(--advpf-primary));
	background: color-mix(in srgb, var(--advpf-cat-color, var(--advpf-primary)) 12%, white);
	padding: 7px 16px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.15s ease;
}
.advpf-single-tag:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--advpf-cat-color, var(--advpf-primary)) 20%, white); }
.advpf-single-visit-btn {
	flex-shrink: 0;
	padding: 11px 24px;
	background: var(--advpf-button-bg);
	color: var(--advpf-button-text);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-size: 13.5px;
	white-space: nowrap;
	transition: opacity 0.2s ease, transform 0.15s ease;
}
.advpf-single-visit-btn:hover { opacity: 0.9; transform: translateY(-1px); }
/* Same button, styled to sit inside the Project Information card instead
   of the top row — full width, centered text, no shrink-to-content. */
.advpf-info-visit-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }

.advpf-single-main { grid-area: main; min-width: 0; }
.advpf-single-section-heading { font-size: var(--advpf-font-section-heading); color: var(--advpf-title); margin: 0 0 18px; }
.advpf-single-content { font-size: var(--advpf-font-body); line-height: 1.8; color: #3d4152; margin-bottom: 28px; }
.advpf-single-content p { margin: 0 0 1.2em; }

.advpf-single-media {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--advpf-shadow-hover);
	/* v3.1: cap the frame instead of letting a very tall image stretch
	   the whole page — the image scrolls INSIDE this box, everything
	   below it stays where it is. A short image never hits this cap, so
	   it just hugs its own natural height with no leftover blank space. */
	max-height: 640px;
	overflow-y: auto;
}
.advpf-single-media img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
	.advpf-single-media { max-height: 70vh; }
}

.advpf-single-sidebar { grid-area: sidebar; display: flex; flex-direction: column; gap: 18px; }
.advpf-single-info-card {
	background: #fafafe;
	border: 1px solid var(--advpf-card-border);
	border-radius: 16px;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	/* v3.1: grow to fill whatever extra height the sidebar has (the grid
	   row stretches to match the Description/image column) so the Visit
	   Website button below has real space to center within — on a card
	   that's exactly as tall as its own content, this is a no-op. */
	flex: 1;
}
.advpf-single-info-card h2 { font-size: 15px; margin: 0 0 14px; color: var(--advpf-title); flex-shrink: 0; }
/* Groups the info list + Visit Website button together and centers that
   group vertically within the card, below the (always-top) heading —
   stays centered no matter how many info rows are present, since it's
   the pair's combined height being centered, not a fixed position. */
.advpf-info-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.advpf-info-list { list-style: none; margin: 0; padding: 0; }
.advpf-info-list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	grid-template-areas: "icon label" ". value";
	column-gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #eef0f6;
	font-size: 13.5px;
}
.advpf-info-list li:last-child { border-bottom: none; }
.advpf-info-icon { grid-area: icon; color: var(--advpf-primary); display: flex; align-items: flex-start; padding-top: 2px; }
.advpf-info-icon svg { width: 16px; height: 16px; }
.advpf-info-label { grid-area: label; color: #9098a8; font-weight: 600; }
.advpf-info-value { grid-area: value; color: var(--advpf-title); font-weight: 500; word-break: break-word; }
.advpf-info-value a { color: var(--advpf-primary); text-decoration: none; }

.advpf-platform-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Icon badges: platform links + social sharing ---------- */
.advpf-icon-badge {
	--advpf-badge-fg: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--advpf-badge-color, var(--advpf-primary));
	color: var(--advpf-badge-fg);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
	flex-shrink: 0;
}
.advpf-icon-badge svg { width: 18px; height: 18px; }
.advpf-icon-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }

.advpf-single-gallery-section { grid-area: gallery; }
.advpf-single-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.advpf-single-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; display: block; transition: transform 0.3s ease; }
.advpf-single-gallery a:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .advpf-single-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .advpf-single-gallery { grid-template-columns: repeat(2, 1fr); } }

.advpf-single-resources-section { grid-area: resources; }
.advpf-resource-cards { display: flex; flex-wrap: wrap; gap: 18px; }
.advpf-resource-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--advpf-card-border);
	border-radius: 14px;
	padding: 16px 20px;
	flex: 1 1 240px;
	min-width: 220px;
	text-decoration: none;
	box-shadow: var(--advpf-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.advpf-resource-card:hover { transform: translateY(-3px); box-shadow: var(--advpf-shadow-hover); }
.advpf-resource-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--advpf-primary) 12%, white);
	color: var(--advpf-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.advpf-resource-icon svg { width: 19px; height: 19px; }
/* When a resource has its own uploaded image, show it as a rounded-square
   thumbnail instead of the generic tinted-circle icon. */
.advpf-resource-icon-image { background: none; border-radius: 10px; overflow: hidden; }
.advpf-resource-icon-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.advpf-resource-title { font-weight: 700; color: var(--advpf-title); font-size: 14.5px; flex: 1; }
.advpf-resource-cta { font-size: 12.5px; font-weight: 700; color: var(--advpf-primary); }
/* The lightbox-mode video card is a <button> (it opens the modal via JS,
   it doesn't navigate anywhere), so it needs the usual button-reset to
   look identical to the <a>-based cards next to it. */
button.advpf-resource-card { font: inherit; cursor: pointer; text-align: left; width: 100%; }

/* ---------- Flexible video (v3.1) ---------- */
/* "Embedded on the page" — the actual player, full width, right in the
   Short Description section (no click required). */
.advpf-video-embed-wrap {
	position: relative;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--advpf-shadow);
	margin-bottom: 18px;
}
.advpf-video-embed-wrap iframe,
.advpf-video-embed-wrap video {
	width: 100%;
	aspect-ratio: 16 / 9;
	display: block;
	border: none;
	object-fit: contain;
	background: #10121f;
}
/* "Thumbnail + Play → plays inline in place" — a big clickable poster
   that swaps itself for the real player on click, without a modal and
   without leaving the section. */
.advpf-video-thumbnail-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: #10121f;
	cursor: pointer;
	margin-bottom: 18px;
}
.advpf-video-thumbnail-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; }
.advpf-video-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--advpf-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background 0.2s ease;
}
.advpf-video-play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.advpf-video-thumbnail-wrap:hover .advpf-video-play-btn { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
/* Once clicked, JS clones the <template> in here and removes the
   thumbnail/play-button children — this just makes sure whatever lands
   here (an iframe or <video>) fills the same frame. */
.advpf-video-thumbnail-wrap iframe,
.advpf-video-thumbnail-wrap video { width: 100%; height: 100%; display: block; border: none; object-fit: contain; background: #10121f; }

.advpf-single-social-section { grid-area: social; }
.advpf-social-row { display: flex; flex-wrap: wrap; gap: 10px; }

.advpf-related-section { grid-area: related; }

/* ---------- Related Projects carousel (v3.1) ----------
   4 cards/view desktop, 2 tablet, 1 mobile — plain flexbox +
   scroll-snap, no carousel library, matching the "avoid unnecessary JS
   libraries" performance principle elsewhere in this stylesheet. */
.advpf-related-carousel { display: flex; align-items: center; gap: 10px; }
.advpf-related-track {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	flex: 1;
	min-width: 0;
	padding-bottom: 4px; /* room for the scrollbar so it doesn't clip cards */
	scrollbar-width: thin;
}
.advpf-related-track .advpf-card {
	flex: 0 0 calc((100% - 3 * 26px) / 4); /* 4 per view on desktop */
	scroll-snap-align: start;
	min-width: 0;
}
@media (max-width: 1024px) {
	.advpf-related-track .advpf-card { flex-basis: calc((100% - 26px) / 2); } /* 2 per view */
}
@media (max-width: 640px) {
	.advpf-related-track .advpf-card { flex-basis: 100%; } /* 1 per view */
}
.advpf-related-nav {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1.5px solid var(--advpf-primary);
	background: #fff;
	color: var(--advpf-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.advpf-related-nav svg { width: 18px; height: 18px; }
.advpf-related-nav:hover { background: var(--advpf-primary); color: #fff; }
.advpf-related-nav:disabled { opacity: 0.35; cursor: default; background: #fff; color: var(--advpf-primary); }
.advpf-related-nav.is-hidden { display: none; }
