/* MyAIPornList — Editorial Black & White theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
	--mpl-primary:       #18181b;
	--mpl-secondary:     #3f3f46;
	--mpl-bg:            #fafafa;
	--mpl-surface:       #ffffff;
	--mpl-card:          rgba(255, 255, 255, 0.90);
	--mpl-card-border:   rgba(228, 228, 231, 0.80);
	--mpl-text:          #09090b;
	--mpl-muted:         #71717a;
	--mpl-brand-title:   #09090b;
	--mpl-radius:        16px;
	--mpl-shadow:        0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0,0,0,0.04);
	--mpl-shadow-hover:  0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0,0,0,0.06);
	--mpl-blur:          blur(18px);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body.mpl-body {
	margin: 0;
	background: var(--mpl-bg);
	background-attachment: fixed;
	color: var(--mpl-text);
	line-height: 1.6;
	min-height: 100vh;
}

.mpl-skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--mpl-primary);
	color: #fff;
	padding: 0.5rem 1rem;
	z-index: 200;
	border-radius: 0 0 8px 0;
}
.mpl-skip-link:focus {
	left: 1rem;
}

.mpl-container {
	width: min(1180px, 100% - 2rem);
	margin-inline: auto;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.mpl-site-header {
	border-bottom: 1px solid rgba(200, 190, 220, 0.4);
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: var(--mpl-blur);
	-webkit-backdrop-filter: var(--mpl-blur);
	position: sticky;
	top: 0;
	z-index: 50;
}

.mpl-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
}

.mpl-branding .custom-logo-link img {
	max-height: 44px;
	width: auto;
	display: block;
}

.mpl-site-title {
	font-size: 1.15rem;
	font-weight: 800;
	text-decoration: none;
	color: var(--mpl-text);
	letter-spacing: -0.01em;
}

.mpl-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.25rem;
}
.mpl-menu a {
	color: var(--mpl-muted);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.15s;
}
.mpl-menu a:hover {
	color: var(--mpl-primary);
}

/* ── Mobile hamburger toggle ─────────────────────────────────────────────── */
.mpl-nav-toggle {
	display: flex;
	background: none;
	border: 1px solid rgb(255 255 255 / 80%);
	border-radius: 8px;
	padding: 0.45rem 0.6rem;
	cursor: pointer;
	color: var(--mpl-text);
	line-height: 1;
	align-items: center;
	justify-content: center;
}

/* Overlay — shown only via JS (never via CSS alone, to avoid blocking clicks) */
.mpl-nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 199;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.25s;
	pointer-events: none;
}
.mpl-nav-overlay.is-visible {
	opacity: 1;
	pointer-events: auto;
}

@media (max-width: 767px) {
	.mpl-nav-toggle {
		display: flex;
	}

	/* Bottom sheet */
	.mpl-nav {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		max-height: 88vh;
		max-height: 88dvh;
		background: #fff;
		z-index: 200;
		padding: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: 20px 20px 0 0;
		transform: translateY(100%);
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
		box-shadow: 0 -4px 40px rgba(0,0,0,0.18);
		display: block;
	}
	.mpl-nav.is-open {
		transform: translateY(0);
		visibility: visible;
		pointer-events: auto;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
	}
	.mpl-menu {
		flex-direction: column;
		gap: 0;
		padding: 0 1.25rem;
	}
	.mpl-menu li {
		border-bottom: 1px solid var(--mpl-card-border);
	}
	.mpl-menu a {
		display: block;
		padding: 0.75rem 0;
		font-size: 0.95rem;
		font-weight: 500;
	}
}

/* Bottom sheet header */
.mpl-nav__header {
	display: none;
}
@media (max-width: 767px) {
	.mpl-nav__header {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		padding: 0 1.25rem 0.75rem;
		border-bottom: 1px solid var(--mpl-card-border);
		background: #fff;
		position: sticky;
		top: 0;
		z-index: 1;
	}
	/* drag handle */
	.mpl-nav__header::before {
		content: '';
		display: block;
		width: 36px;
		height: 4px;
		background: var(--mpl-card-border);
		border-radius: 2px;
		margin: 10px auto 14px;
	}
	.mpl-nav__header-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}
.mpl-nav__title {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--mpl-muted);
}
.mpl-nav__close {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--mpl-text);
	padding: 0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: background 0.15s;
}
.mpl-nav__close:hover {
	background: var(--mpl-card-border);
}
.mpl-nav__divider {
	border: none;
	border-top: 1px solid var(--mpl-card-border);
	margin: 0.5rem 1.25rem;
}

/* ── Quiz: Quick Finder (drawer only) ───────────────────────────────────── */
/* Quiz visible on all screen sizes */
.mpl-quiz {
	display: block;
	padding: 1rem 1rem 2rem;
}

/* Desktop nav — centered popup like brand modal */
@media (min-width: 768px) {
	.mpl-nav {
		position: fixed;
		top: 50%;
		left: 50%;
		bottom: auto;
		right: auto;
		width: 420px;
		max-width: calc(100vw - 2rem);
		max-height: 90vh;
		background: #fff;
		z-index: 200;
		padding: 0;
		overflow-y: auto;
		border-radius: 20px;
		box-shadow: 0 8px 16px rgba(0,0,0,0.06), 0 32px 80px rgba(0,0,0,0.16);
		transform: translate(-50%, -48%) scale(0.96);
		opacity: 0;
		transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1),
		            opacity 0.22s ease,
		            visibility 0s linear 0.26s;
		visibility: hidden;
		pointer-events: none;
	}
	.mpl-nav.is-open {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
		visibility: visible;
		transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1),
		            opacity 0.22s ease,
		            visibility 0s linear 0s;
		pointer-events: auto;
	}

	/* Header bar — title left, X right */
	.mpl-nav__header {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 1.1rem 1.4rem 1rem;
		border-bottom: 1px solid var(--mpl-card-border);
		background: #fff;
		border-radius: 20px 20px 0 0;
		position: sticky;
		top: 0;
		z-index: 1;
	}
	/* No drag handle on desktop */
	.mpl-nav__header::before { display: none; }

	.mpl-nav__header-row {
		display: contents;
	}

	.mpl-nav__close {
		width: 32px;
		height: 32px;
		border-radius: 50%;
		background: var(--mpl-card-border);
		border: none;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--mpl-text);
		transition: background 0.15s;
		flex-shrink: 0;
	}
	.mpl-nav__close:hover {
		background: #e2e8f0;
	}

	/* Remove bottom padding on mobile-specific quiz wrapper */
	.mpl-quiz {
		padding: 1.25rem 1.25rem 1.5rem;
	}
}

/* Glass green card */
.mpl-quiz__card {
	background: rgba(20, 83, 45, 0.55);
	backdrop-filter: blur(18px) saturate(1.4);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	border: 1px solid rgba(74, 222, 128, 0.25);
	border-radius: 18px;
	padding: 1.4rem 1.2rem 1.2rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}

.mpl-quiz__card-header {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1.1rem;
}
.mpl-quiz__card-emoji,
.mpl-quiz__card-icon {
	flex-shrink: 0;
	margin-top: 0.05rem;
}
.mpl-quiz__card-title {
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.25;
}

/* Step dots */
.mpl-quiz__dots {
	display: flex;
	gap: 7px;
	margin-bottom: 1rem;
}
.mpl-quiz__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	transition: background 0.2s;
}
.mpl-quiz__dot.is-active { background: #22c55e; }
.mpl-quiz__dot.is-done   { background: #16a34a; }

/* Question */
.mpl-quiz__question {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0 0 0.85rem;
	line-height: 1.4;
}

/* Answer options */
.mpl-quiz__options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mpl-quiz__opt {
	width: 100%;
	text-align: left;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 0.8rem 1rem;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s, border-color 0.15s, transform 0.1s;
	line-height: 1.3;
}
.mpl-quiz__opt:hover {
	background: rgba(34, 197, 94, 0.15);
	border-color: rgba(34, 197, 94, 0.45);
	transform: translateX(2px);
}
.mpl-quiz__opt.is-active {
	background: rgba(34, 197, 94, 0.25);
	border-color: rgba(34, 197, 94, 0.7);
}

/* Result screen */
.mpl-quiz__result {
	text-align: center;
	padding: 0.5rem 0;
}
.mpl-quiz__result-label {
	color: rgba(255,255,255,0.7);
	font-size: 0.85rem;
	margin: 0 0 0.5rem;
}
.mpl-quiz__result-brand {
	color: #fbbf24;
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	margin: 0 0 0.4rem;
	line-height: 1.2;
}
.mpl-quiz__result-desc {
	color: rgba(255,255,255,0.55);
	font-size: 0.78rem;
	line-height: 1.45;
	margin: 0 0 1.1rem;
}
.mpl-quiz__result-btn {
	display: block;
	width: 100%;
	padding: 0.9rem 1rem;
	background: linear-gradient(135deg, #16a34a, #22c55e);
	border: none;
	border-radius: 14px;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	text-align: center;
	text-decoration: none;
	transition: opacity 0.15s, transform 0.1s;
	margin-bottom: 0.75rem;
	box-sizing: border-box;
}
.mpl-quiz__result-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	color: #fff;
	text-decoration: none;
}
.mpl-quiz__result-retry {
	background: none;
	border: none;
	color: rgba(255,255,255,0.5);
	font-size: 0.8rem;
	text-decoration: underline;
	cursor: pointer;
	font-family: inherit;
	padding: 0;
}
.mpl-quiz__result-retry:hover {
	color: rgba(255,255,255,0.8);
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.mpl-hero {
	padding: 2.75rem 0 1.5rem;
	text-align: center;
}

/* "Updated Month Year" kicker */
.mpl-hero-kicker {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--mpl-muted);
	text-transform: uppercase;
	padding: 0.3rem 1.1rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.03);
	margin: 0 auto 0.85rem;
}
.mpl-hero-kicker__dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #18c964;
	box-shadow: 0 0 0 3px rgba(24, 201, 100, 0.18);
	flex-shrink: 0;
}

.mpl-hero-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.9rem, 4.5vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--mpl-text);
	text-align: center;
}
.mpl-hero-sub {
	margin: 0 0 1.5rem;
	color: var(--mpl-muted);
	font-size: 0.95rem;
	max-width: 46ch;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* Stats bar — stile in tema bianco/bordo */
.mpl-hero-stats {
	display: flex;
	align-items: center;
	background: var(--mpl-surface);
	border: 1px solid var(--mpl-card-border);
	border-radius: var(--mpl-radius);
	box-shadow: var(--mpl-shadow);
	padding: 1.1rem 1.75rem;
	margin-top: 1.5rem;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}
.mpl-hero-stat {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
}
.mpl-hero-stat__value {
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 800;
	color: var(--mpl-text);
	letter-spacing: -0.03em;
	line-height: 1;
}
.mpl-hero-stat__label {
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mpl-muted);
}
.mpl-hero-stat__div {
	width: 1px;
	height: 2rem;
	background: var(--mpl-card-border);
	flex-shrink: 0;
	margin: 0 0.5rem;
}
@media (max-width: 479px) {
	.mpl-hero-stats { max-width: 100%; padding: 1rem 1.25rem; }
}

/* ── Editorial text ─────────────────────────────────────────────────────────── */
.mpl-editorial {
	padding: 0 0 1rem;
}
.mpl-editorial__inner {
	padding: 0.75rem 1.1rem;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: var(--mpl-blur);
	border: 1px solid var(--mpl-card-border);
	border-radius: var(--mpl-radius);
	max-height: 80px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(0,0,0,0.18) transparent;
}
.mpl-editorial__inner::-webkit-scrollbar {
	width: 4px;
}
.mpl-editorial__inner::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,0.18);
	border-radius: 4px;
}
.mpl-editorial__text {
	margin: 0;
	font-size: 0.85rem;
	color: var(--mpl-muted);
	line-height: 1.65;
}

/* ── Methodology & FAQ sections ─────────────────────────────────────────────── */
.mpl-section-heading {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--mpl-text);
	margin: 0 0 0.4rem;
	letter-spacing: -0.01em;
}
.mpl-section-sub {
	font-size: 0.88rem;
	color: var(--mpl-muted);
	margin: 0 0 1.5rem;
	line-height: 1.6;
}
.mpl-methodology {
	padding: 2.5rem 0 0.5rem;
}
.mpl-method-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
@media (max-width: 600px) {
	.mpl-method-grid { grid-template-columns: 1fr; }
}
.mpl-method-item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	background: rgba(255,255,255,0.6);
	border: 1px solid var(--mpl-card-border);
	border-radius: 12px;
	padding: 0.9rem 1rem;
}
.mpl-method-item__icon {
	font-size: 1.25rem;
	flex-shrink: 0;
	margin-top: 1px;
}
.mpl-method-item strong {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--mpl-text);
	margin-bottom: 0.2rem;
}
.mpl-method-item p {
	margin: 0;
	font-size: 0.81rem;
	color: var(--mpl-muted);
	line-height: 1.55;
}
.mpl-faq-section {
	padding: 2.5rem 0 2rem;
}

/* ── Toolbar ─────────────────────────────────────────────────────────────────── */
.mpl-toolbar {
	padding-bottom: 1.25rem;
}

/* Search bar in toolbar */
.mpl-toolbar-search-wrap {
	position: relative;
	margin-bottom: 0.75rem;
}
.mpl-toolbar-search {
	width: 100%;
	padding: 0.65rem 1rem 0.65rem 2.6rem;
	font-size: 0.92rem;
	font-family: inherit;
	color: var(--mpl-text);
	background: var(--mpl-surface);
	border: 1px solid var(--mpl-card-border);
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	outline: none;
	transition: border-color 0.18s, box-shadow 0.18s;
	-webkit-appearance: none;
	appearance: none;
}
.mpl-toolbar-search:focus {
	border-color: var(--mpl-primary);
	box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.07);
}
.mpl-toolbar-search__icon {
	position: absolute;
	left: 0.8rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--mpl-muted);
	pointer-events: none;
	display: flex;
}
.mpl-toolbar-search::-webkit-search-cancel-button { display: none; }

.mpl-toolbar-inner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.mpl-tag-pills-wrap {
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
}
.mpl-toolbar-sort {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}
.mpl-toolbar-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mpl-muted);
	margin-bottom: 0.45rem;
}

/* Pill filter buttons */
.mpl-tag-pills {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.45rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 2px; /* prevent bottom clip */
}
.mpl-tag-pills::-webkit-scrollbar { display: none; }

.mpl-tag-pills .mpl-tag-pill {
	flex-shrink: 0;
	padding: 0.38rem 0.85rem;
	font-size: 0.82rem;
	font-weight: 600;
	font-family: inherit;
	border-radius: 999px;
	border: 1px solid var(--mpl-card-border);
	background: var(--mpl-surface);
	color: var(--mpl-muted);
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.mpl-tag-pills .mpl-tag-pill:hover {
	border-color: var(--mpl-primary);
	color: var(--mpl-primary);
}
.mpl-tag-pills .mpl-tag-pill.is-active {
	background: var(--mpl-primary);
	border-color: var(--mpl-primary);
	color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

@media (max-width: 767px) {
	.mpl-toolbar-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.65rem;
	}
	.mpl-tag-pills-wrap { width: 100%; }
	.mpl-toolbar-sort   { align-self: flex-end; }
}

.mpl-tag-dropdown__empty {
	margin: 0;
	font-size: 0.9rem;
	color: var(--mpl-muted);
}

.mpl-select {
	padding: 0.38rem 2rem 0.38rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--mpl-card-border);
	background: var(--mpl-surface);
	color: var(--mpl-muted);
	font-size: 0.82rem;
	font-family: inherit;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	transition: border-color 0.15s, color 0.15s;
}
.mpl-select:focus {
	outline: none;
	border-color: var(--mpl-primary);
	color: var(--mpl-text);
}
.mpl-select:hover {
	border-color: var(--mpl-primary);
	color: var(--mpl-text);
}

/* ── Grid ────────────────────────────────────────────────────────────────────── */
.mpl-grid-wrap {
	padding-bottom: 3rem;
}
.mpl-brand-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 1.1rem;
}
.mpl-brand-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}
.mpl-brand-col:empty { display: none; }

@media (max-width: 767px) {
	.mpl-grid-wrap { padding-left: 1rem; padding-right: 1rem; }
	.mpl-brand-grid { flex-direction: column; gap: 1.25rem; }
	.mpl-brand-col { width: 100%; gap: 1.25rem; }
}

/* ── Card ────────────────────────────────────────────────────────────────────── */
/* ── Card base ───────────────────────────────────────────────────────────── */
.mpl-card {
	background: #111;
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 18px;
	padding: 0;
	box-shadow: 0 1px 4px rgba(0,0,0,0.18), 0 6px 24px rgba(0,0,0,0.22);
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 0;
	overflow: hidden;
	transition: box-shadow 0.22s, transform 0.18s;
	position: relative;
}
.mpl-card:hover {
	box-shadow: 0 8px 36px rgba(0,0,0,0.36), 0 2px 6px rgba(0,0,0,0.2);
	border-color: rgba(255,255,255,0.18);
	transform: translateY(-4px);
}

/* ── Card: split screenshot design ──────────────────────────────────────── */
.mpl-card[style*="--card-screenshot"] {
	background: #0d0d0d;
}
.mpl-card[style*="--card-screenshot"]:hover {
	border-color: rgba(255,255,255,0.22);
	box-shadow: 0 8px 40px rgba(0,0,0,0.42), 0 2px 8px rgba(0,0,0,0.22);
}

/* Screenshot fills the top of the card — vivid, not crushed */
.mpl-card[style*="--card-screenshot"]::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--card-screenshot);
	background-size: 100% auto;
	background-position: top center;
	filter: brightness(0.82) saturate(0.9);
	pointer-events: none;
	z-index: 0;
}

/* All card children above the screenshot */
.mpl-card > * { position: relative; z-index: 1; }

/* ── Best-for accent bar ─────────────────────────────────────────────────── */
.mpl-card-best-bar {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.5rem 1.1rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bar-color, #18181b);
	background: var(--bar-bg, rgba(0,0,0,0.05));
	border-bottom: 1px solid var(--bar-border, rgba(0,0,0,0.1));
	text-shadow: 0 0 12px var(--bar-color, transparent);
}
.mpl-card[style*="--card-screenshot"] .mpl-card-best-bar {
	background: rgba(0,0,0,0.55) !important;
	border-bottom-color: rgba(255,255,255,0.08) !important;
	color: #fff !important;
	text-shadow: none !important;
}
.mpl-card-best-bar svg {
	flex-shrink: 0;
	stroke: var(--bar-color, currentColor);
	fill: var(--bar-color, none);
	filter: drop-shadow(0 0 4px var(--bar-color, transparent));
}
.mpl-card[style*="--card-screenshot"] .mpl-card-best-bar svg {
	stroke: rgba(255,255,255,0.9) !important;
	filter: none !important;
}

/* ── Screenshot spacer — empty div that reveals the ::before background ──── */
.mpl-card-screenshot-area {
	height: 130px;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

/* ── Logo banner — lives inside the white glass body ────────────────────── */
.mpl-card-logo-banner {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 1.1rem 1.2rem 0.5rem;
}
.mpl-card-logo-banner__title {
	flex: 1;
	margin: 0;
	line-height: 0;
	min-width: 0;
}
.mpl-card-logo-banner__img {
	display: block;
	width: 100%;
	height: 52px;
	object-fit: contain;
	object-position: left center;
}
.mpl-card-logo-banner .mpl-badge--rating {
	flex-shrink: 0;
}

/* ── Glass body — dark frosted panel ─────────────────────────────────────── */
.mpl-card-glass-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1;
	background: rgba(14,14,18,0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-top: 1px solid rgba(255,255,255,0.08);
}
.mpl-card[style*="--card-screenshot"] .mpl-card-glass-body {
	background: rgba(10,10,14,0.88);
	border-top: 1px solid rgba(255,255,255,0.10);
	box-shadow: 0 -6px 24px rgba(0,0,0,0.3);
}

/* ── Card inner layout ───────────────────────────────────────────────────── */
.mpl-card-top,
.mpl-card-snippet,
.mpl-card-actions {
	text-align: center;
}
.mpl-card-title-row { justify-content: center; }
.mpl-card-meta      { justify-content: center; }

.mpl-card-top,
.mpl-card-snippet,
.mpl-card-tags {
	padding-left: 1.2rem;
	padding-right: 1.2rem;
}
.mpl-card-top     { padding-top: 1.15rem; }
.mpl-card-snippet { padding-top: 0.6rem; }
.mpl-card-tags    { padding-top: 0.55rem; }
.mpl-card-top {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.mpl-card-title-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
}
.mpl-card-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	flex: 1;
	min-width: 0;
	color: #fff;
}
.mpl-card-title-row .mpl-badge--rating { flex-shrink: 0; }
.mpl-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
}

/* ── Badges ──────────────────────────────────────────────────────────────── */
.mpl-badge {
	font-size: 0.74rem;
	font-weight: 600;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: rgba(0,0,0,0.04);
	color: var(--mpl-muted);
	border: 1px solid rgba(0,0,0,0.08);
}
.mpl-badge--rating {
	background: #f59e0b;
	color: #fff;
	border-color: #d97706;
	font-weight: 800;
	font-size: 0.78rem;
	padding: 0.25rem 0.7rem;
	box-shadow: 0 1px 4px rgba(245,158,11,0.35);
}
.mpl-badge--cat {
	background: rgba(0,0,0,0.04);
	color: #18181b;
	border-color: rgba(0,0,0,0.07);
}
.mpl-badge--pick {
	background: rgba(250,204,21,0.12);
	color: #92400e;
	border-color: rgba(250,204,21,0.45);
}
.mpl-badge--price {
	background: rgba(0,0,0,0.03);
	color: var(--mpl-muted);
	border-color: rgba(0,0,0,0.07);
	font-weight: 500;
}

/* ── Snippet ─────────────────────────────────────────────────────────────── */
.mpl-card-snippet {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(255,255,255,0.60);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Tag pills on cards ──────────────────────────────────────────────────── */
.mpl-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
}
.mpl-tag-pill--sm {
	font-size: 0.68rem;
	font-weight: 500;
	padding: 0.12rem 0.5rem;
	border-radius: 999px;
	background: rgba(0,0,0,0.04);
	color: var(--mpl-muted);
	border: 1px solid rgba(0,0,0,0.07);
	white-space: nowrap;
}

/* ── Actions ─────────────────────────────────────────────────────────────── */
.mpl-card-actions {
	margin-top: auto;
	padding: 1.2rem 1.1rem 1.1rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.mpl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1rem;
	border-radius: 12px;
	font-size: 0.88rem;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: filter 0.15s, transform 0.1s, box-shadow 0.15s;
	letter-spacing: -0.01em;
}
.mpl-btn--primary {
	background: var(--mpl-primary);
	color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}
.mpl-btn--primary:hover {
	background: #27272a;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}
.mpl-btn--lg {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	border-radius: 14px;
}
.mpl-btn--ghost {
	background: var(--mpl-surface);
	border-color: var(--mpl-card-border);
	color: var(--mpl-text);
}
.mpl-btn--ghost:hover {
	border-color: var(--mpl-primary);
	color: var(--mpl-primary);
}

/* CTA button — dark glass + green accent (card + modal + standalone) */
/* Card CTA — white glass (on dark screenshot background) */
.mpl-card-cta {
	background: rgba(255,255,255,0.10);
	color: #ffffff;
	border: 1px solid rgba(255,255,255,0.20);
	box-shadow: 0 1px 8px rgba(0,0,0,0.2);
}
.mpl-card-cta:hover {
	background: rgba(255,255,255,0.18);
	border-color: rgba(255,255,255,0.35);
	box-shadow: 0 4px 16px rgba(0,0,0,0.3);
	color: #ffffff;
}

/* Visit buttons (modal + standalone) — white glass with green border on dark strip */
.mpl-bm-visit-btn,
.mpl-brand-page__sticky-btn {
	background: rgba(255, 255, 255, 0.10);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(24, 201, 100, 0.55);
	box-shadow: 0 0 0 1px rgba(24, 201, 100, 0.12) inset,
	            0 0 18px rgba(24, 201, 100, 0.08);
	color: #ffffff;
}
.mpl-bm-visit-btn:hover,
.mpl-brand-page__sticky-btn:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(24, 201, 100, 0.85);
	box-shadow: 0 0 0 1px rgba(24, 201, 100, 0.22) inset,
	            0 0 24px rgba(24, 201, 100, 0.14);
	color: #ffffff;
}

/* Card CTA specifics */
.mpl-card-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 0.88rem;
	font-family: inherit;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: #ffffff;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.mpl-card-cta:hover {
	transform: translateY(-1px);
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.mpl-site-footer {
	border-top: 1px solid var(--mpl-card-border);
	background: rgb(254, 254, 254);
	backdrop-filter: var(--mpl-blur);
	padding: 2rem 0 2.5rem;
	color: var(--mpl-muted);
	font-size: 0.82rem;
}
.mpl-footer-inner {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	max-width: 42rem;
	margin-inline: auto;
}
.copyright {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.mpl-footer-text {
	font-size: 0.8rem;
	line-height: 1.55;
	color: var(--mpl-muted);
	max-width: 36rem;
}
.mpl-footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem 0.6rem;
}
.mpl-footer-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.38rem 0.85rem;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--mpl-card-border);
	background: var(--mpl-surface);
	color: var(--mpl-muted);
	transition: border-color 0.15s, color 0.15s;
}
.mpl-footer-btn:hover {
	border-color: var(--mpl-primary);
	color: var(--mpl-primary);
}

/* ── Utility ─────────────────────────────────────────────────────────────────── */
.mpl-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.mpl-card.is-hidden { display: none !important; }

/* ── Static pages ────────────────────────────────────────────────────────────── */
.mpl-page {
	padding: 2.5rem 0 3.5rem;
	max-width: min(720px, 100%);
}
.mpl-page-header { margin-bottom: 1.5rem; }
.mpl-page-title {
	margin: 0;
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--mpl-text);
}
.mpl-page-content { color: var(--mpl-text); }
.mpl-page-content > *:first-child { margin-top: 0; }
.mpl-page-content > *:last-child  { margin-bottom: 0; }
.mpl-page-content h2,
.mpl-page-content h3 {
	margin: 1.5rem 0 0.65rem;
	color: var(--mpl-text);
	font-weight: 700;
}
.mpl-page-content p  { margin: 0 0 1rem; }
.mpl-page-content ul,
.mpl-page-content ol { margin: 0 0 1rem; padding-left: 1.35rem; }
.mpl-page-content a  { color: var(--mpl-primary); text-decoration: underline; text-underline-offset: 0.15em; }
.mpl-page-content a:hover { filter: brightness(1.15); }
.mpl-page-pagination { margin-top: 2rem; font-size: 0.9rem; color: var(--mpl-muted); }
.mpl-page-pagination-label { margin-right: 0.35rem; }

/* ── Single post (comparison articles) ──────────────────────────────────────── */
.mpl-single-post {
	padding: 2.5rem 0 4rem;
	max-width: min(780px, 100%);
}
.mpl-single-post__header { margin-bottom: 1.75rem; }
.mpl-single-post__date {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mpl-muted);
	margin: 0 0 0.65rem;
}
.mpl-single-post__title {
	margin: 0;
	font-size: clamp(1.65rem, 3.8vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.2;
	color: var(--mpl-text);
}
.mpl-single-post__thumb {
	margin-bottom: 2rem;
	border-radius: 14px;
	overflow: hidden;
}
.mpl-single-post__thumb-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}
.mpl-single-post__content {
	font-size: 0.97rem;
	line-height: 1.78;
	color: var(--mpl-text);
}
.mpl-single-post__content > *:first-child { margin-top: 0; }
.mpl-single-post__content > *:last-child  { margin-bottom: 0; }
.mpl-single-post__content h2 {
	font-size: 1.35rem;
	font-weight: 800;
	margin: 2rem 0 0.75rem;
	letter-spacing: -0.02em;
	color: var(--mpl-text);
}
.mpl-single-post__content h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 1.5rem 0 0.6rem;
	color: var(--mpl-text);
}
.mpl-single-post__content p  { margin: 0 0 1.1rem; }
.mpl-single-post__content ul,
.mpl-single-post__content ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.mpl-single-post__content li { margin-bottom: 0.3rem; }
.mpl-single-post__content a  { color: var(--mpl-primary); text-underline-offset: 0.15em; }
.mpl-single-post__content a:hover { filter: brightness(1.15); }
.mpl-single-post__content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 0.5rem 0 1rem;
}
.mpl-single-post__content table {
	width: 100%;
	min-width: 480px;
	table-layout: auto;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.88rem;
}
.mpl-single-post__content thead th {
	background: var(--mpl-text);
	color: #fff;
	padding: 0.65rem 1rem;
	text-align: left;
	font-weight: 700;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.mpl-single-post__content tbody tr { border-bottom: 1px solid rgba(0,0,0,0.07); }
.mpl-single-post__content tbody tr:nth-child(even) { background: rgba(0,0,0,0.025); }
.mpl-single-post__content tbody tr:hover { background: rgba(22,163,74,0.04); }
.mpl-single-post__content td,
.mpl-single-post__content th {
	padding: 0.6rem 1rem;
	vertical-align: top;
	max-width: 240px;
	overflow-wrap: break-word;
	white-space: normal;
}
.mpl-single-post__content td:first-child { font-weight: 600; }
.mpl-single-post__content .wp-block-table,
.mpl-single-post__content figure.wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.5rem 0;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.mpl-single-post__content .wp-block-table table,
.mpl-single-post__content figure.wp-block-table table { margin: 0; box-shadow: none; }
.mpl-single-post__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--mpl-card-border); }
.mpl-single-post__back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--mpl-muted);
	text-decoration: none;
	transition: color 0.15s;
}
.mpl-single-post__back:hover { color: var(--mpl-primary); }

/* ── Brand Modal ─────────────────────────────────────────────────────────────── */
#mpl-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
@media (min-width: 600px) {
	#mpl-modal-overlay {
		align-items: center;
		padding: 1rem;
	}
}
#mpl-modal-overlay[hidden] { display: none !important; }

.mpl-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.mpl-modal-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 720px;
	max-height: 92vh;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: var(--mpl-blur);
	-webkit-backdrop-filter: var(--mpl-blur);
	border: 1px solid var(--mpl-card-border);
	border-radius: 24px 24px 0 0;
	box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: mpl-modal-slide-up 0.28s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@media (min-width: 600px) {
	.mpl-modal-dialog {
		border-radius: 24px;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10), 0 4px 16px rgba(0,0,0,0.1);
		animation: mpl-modal-scale-in 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
	}
}
@keyframes mpl-modal-slide-up {
	from { transform: translateY(60px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}
@keyframes mpl-modal-scale-in {
	from { transform: scale(0.94); opacity: 0; }
	to   { transform: scale(1);    opacity: 1; }
}

.mpl-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	border: 1px solid var(--mpl-card-border);
	background: var(--mpl-surface);
	color: var(--mpl-muted);
	font-size: 1.2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.mpl-modal-close:hover {
	background: var(--mpl-primary);
	color: #fff;
	border-color: var(--mpl-primary);
}

.mpl-modal-body {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	flex: 1;
	padding: 0;
}

.mpl-modal-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
}

.mpl-spinner {
	width: 2.5rem;
	height: 2.5rem;
	border: 3px solid rgba(0, 0, 0, 0.08);
	border-top-color: var(--mpl-primary);
	border-radius: 50%;
	animation: mpl-spin 0.7s linear infinite;
}
@keyframes mpl-spin {
	to { transform: rotate(360deg); }
}

.mpl-modal-error {
	text-align: center;
	padding: 2rem;
	color: var(--mpl-muted);
	font-size: 0.95rem;
}
.mpl-modal-error a { color: var(--mpl-primary); }

/* ── Brand Modal content (mpl-bm) ────────────────────────────────────────────── */

/* Hero screenshot */
.mpl-bm-hero {
	position: relative;
	background: #f5f4f8;
	border-radius: 24px 24px 0 0;
	overflow: hidden;
}

.mpl-bm-hero__img-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: #f0eff5;
	max-height: 360px;
}

.mpl-bm-hero__img {
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: contain;
	object-position: center top;
	display: block;
	transition: opacity 0.18s;
}

/* Thumbnail strip */
.mpl-bm-hero__thumbs {
	display: flex;
	gap: 0.4rem;
	padding: 0.5rem 0.75rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background: rgba(255,255,255,0.85);
	border-top: 1px solid var(--mpl-card-border);
	backdrop-filter: blur(8px);
}
.mpl-bm-thumb {
	flex-shrink: 0;
	width: 56px;
	height: 38px;
	border-radius: 6px;
	overflow: hidden;
	border: 2px solid transparent;
	background: none;
	padding: 0;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.15s, border-color 0.15s, transform 0.12s;
}
.mpl-bm-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mpl-bm-thumb.is-active,
.mpl-bm-thumb:hover {
	opacity: 1;
	border-color: var(--mpl-primary);
	transform: translateY(-1px);
}

/* Placeholder (no screenshots) */
.mpl-bm-hero__placeholder {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f4f5;
}
@media (min-width: 600px) {
	.mpl-bm-hero__placeholder { height: 240px; }
}
.mpl-bm-hero__placeholder-logo {
	max-height: 80px;
	max-width: 220px;
	width: auto;
	opacity: 0.7;
}
.mpl-bm-hero__placeholder-initials {
	font-size: 4rem;
	font-weight: 800;
	color: rgba(0, 0, 0, 0.15);
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

/* Body */
.mpl-bm-body {
	padding: 1.1rem 1.5rem 1.5rem;
}
@media (max-width: 599px) {
	.mpl-bm-body { padding: 0.9rem 1rem 1.25rem; }
}

/* Back link */
.mpl-bm-back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(124, 58, 237, 0.05);
	border: 1px solid var(--mpl-card-border);
	border-radius: 999px;
	padding: 0.3rem 0.85rem 0.3rem 0.6rem;
	margin-bottom: 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	font-family: inherit;
	color: var(--mpl-muted);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	letter-spacing: 0.01em;
}
.mpl-bm-back:hover {
	background: rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.18);
	color: var(--mpl-primary);
}

/* Identity */
.mpl-bm-identity {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin-bottom: 0.85rem;
}
.mpl-bm-logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 10px;
	border: 1px solid var(--mpl-card-border);
	background: #fff;
	padding: 4px;
	flex-shrink: 0;
}
.mpl-bm-title-block {
	flex: 1;
	min-width: 0;
}
.mpl-bm-name {
	margin: 0 0 0.3rem;
	font-size: clamp(1.25rem, 4vw, 1.65rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--mpl-text);
	line-height: 1.2;
}
.mpl-bm-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-bottom: 0.4rem;
}
.mpl-bm-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	align-items: center;
}
.mpl-tag-pill {
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.04);
	color: var(--mpl-muted);
	border: 1px solid rgba(0, 0, 0, 0.09);
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
a.mpl-tag-pill {
	cursor: pointer;
}
a.mpl-tag-pill:hover {
	background: rgba(22, 163, 74, 0.08);
	border-color: rgba(22, 163, 74, 0.35);
	color: #15803d;
}
/* Link variant — clearly interactive tag chips */
.mpl-tag-pill--link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: rgba(22, 163, 74, 0.07);
	border-color: rgba(22, 163, 74, 0.28);
	color: #15803d;
	font-weight: 700;
	transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
}
a.mpl-tag-pill--link:hover {
	background: rgba(22, 163, 74, 0.15);
	border-color: rgba(22, 163, 74, 0.55);
	color: #14532d;
	transform: translateY(-1px);
}
.mpl-tag-pill__arrow {
	font-size: 0.9em;
	line-height: 1;
	opacity: 0.6;
	transition: transform 0.15s, opacity 0.15s;
}
a.mpl-tag-pill--link:hover .mpl-tag-pill__arrow {
	opacity: 1;
	transform: translateX(2px);
}
.mpl-tags-more {
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.04);
	color: var(--mpl-primary);
	border: 1px solid rgba(0, 0, 0, 0.08);
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s;
}
.mpl-tags-more:hover { background: rgba(0, 0, 0, 0.06); }

/* Editorial note */
.mpl-bm-editorial {
	position: relative;
	margin: 0 0 1.4rem 0.5rem;
	padding: 0.85rem 1.1rem 0.85rem 1rem;
	background: #f0f9ff;
	border: 1.5px solid #bae6fd;
	border-radius: 16px 16px 16px 4px;
	font-size: 0.88rem;
	font-style: normal;
	font-weight: 500;
	color: #0c4a6e;
	line-height: 1.6;
	box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
}
.mpl-bm-editorial::before {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 14px;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 0 solid transparent;
	border-top: 10px solid #bae6fd;
}
.mpl-bm-editorial::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 15px;
	width: 0;
	height: 0;
	border-left: 9px solid transparent;
	border-right: 0 solid transparent;
	border-top: 9px solid #f0f9ff;
}

.mpl-bm-divider {
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.04);
	margin: 0 0 0.75rem;
}

/* Sections */
.mpl-bm-section {
	padding: 0.9rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.mpl-bm-section:last-of-type { border-bottom: none; }

.mpl-bm-section-title {
	margin: 0 0 0.65rem;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--mpl-muted);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.mpl-bm-section-count {
	text-transform: none;
	letter-spacing: 0;
	color: var(--mpl-primary);
	font-size: 0.75rem;
}

/* About / description */
.mpl-bm-desc {
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.78;
	color: var(--mpl-text);
}
.mpl-bm-desc h2,
.mpl-bm-desc h3,
.mpl-bm-desc h4 {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--mpl-brand-title);
	margin: 1.1em 0 0.35em;
}
.mpl-bm-desc h2 { font-size: 1.05rem; }
.mpl-bm-desc p { margin: 0 0 0.75em; }
.mpl-bm-desc ul,
.mpl-bm-desc ol {
	padding-left: 1.3em;
	margin: 0 0 0.75em;
}
.mpl-bm-desc strong { font-weight: 700; }
.mpl-bm-desc em { font-style: italic; }

/* Feature chips grid */
.mpl-feature-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}
.mpl-feature-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.32rem;
	padding: 0.32rem 0.75rem;
	border-radius: 8px;
	font-size: 0.81rem;
	font-weight: 600;
	background: #f8f8fb;
	border: 1px solid rgba(99, 102, 241, 0.15);
	color: #3730a3;
	line-height: 1.3;
	letter-spacing: -0.01em;
	transition: background 0.12s, border-color 0.12s;
}
.mpl-feature-chip:hover {
	background: rgba(99, 102, 241, 0.06);
	border-color: rgba(99, 102, 241, 0.28);
}
.mpl-feature-chip__icon {
	font-size: 0.55rem;
	color: #818cf8;
	flex-shrink: 0;
}
.mpl-feature-chips--free .mpl-feature-chip {
	background: rgba(14, 165, 233, 0.08);
	border-color: rgba(14, 165, 233, 0.25);
	color: #0369a1;
	border-radius: 7px;
	font-weight: 600;
	padding: 0.3rem 0.65rem;
}
.mpl-feature-chips--free .mpl-feature-chip__icon {
	color: #0ea5e9;
	font-size: 0.72rem;
}

.mpl-badge--free {
	background: rgba(22, 160, 92, 0.1);
	color: #18181b;
	border: 1px solid rgba(22, 160, 92, 0.25);
	font-size: 0.64rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Pros & Cons — two columns */
.mpl-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}
@media (max-width: 480px) {
	.mpl-pros-cons { grid-template-columns: 1fr; }
}
.mpl-pros-cons__col {
	border-radius: 10px;
	padding: 0.8rem 0.9rem;
}
.mpl-pros-cons__col--pros {
	background: rgba(22, 160, 92, 0.06);
	border: 1px solid rgba(22, 160, 92, 0.2);
}
.mpl-pros-cons__col--cons {
	background: rgba(201, 55, 55, 0.05);
	border: 1px solid rgba(201, 55, 55, 0.15);
}
.mpl-pros-cons__label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 0.55rem;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}
.mpl-pros-cons__col--pros .mpl-pros-cons__label { color: #18181b; }
.mpl-pros-cons__col--cons .mpl-pros-cons__label { color: #b03030; }
.mpl-pros-cons__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.mpl-pros-cons__list li {
	font-size: 0.86rem;
	color: var(--mpl-text);
	line-height: 1.45;
	padding-left: 0.9rem;
	position: relative;
}
.mpl-pros-cons__col--pros .mpl-pros-cons__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #18181b;
	font-weight: 700;
	font-size: 0.8rem;
}
.mpl-pros-cons__col--cons .mpl-pros-cons__list li::before {
	content: "✗";
	position: absolute;
	left: 0;
	color: #c93535;
	font-weight: 700;
	font-size: 0.8rem;
}

/* Pricing card — dark glass */
.mpl-pricing-card {
	background: rgb(226, 21, 193);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 18px;
	padding: 1rem 1.5rem 1.70rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12);
	position: relative;
	overflow: hidden;
}
.mpl-pricing-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
	pointer-events: none;
}
.mpl-pricing-card__label {
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 0.2rem;
}
.mpl-pricing-card__price {
	font-size: clamp(2.6rem, 6vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #ffffff;
	line-height: 1;
}
.mpl-pricing-card__period {
	font-size: 0.95rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 0;
}

/* FAQ accordion */
.mpl-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.mpl-faq-item {
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--mpl-card-border);
	border-radius: 10px;
	overflow: hidden;
}
.mpl-faq-item[open] { border-color: rgba(0, 0, 0, 0.10); }
.mpl-faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--mpl-text);
	list-style: none;
	user-select: none;
	transition: background 0.15s;
}
.mpl-faq-question::-webkit-details-marker { display: none; }
.mpl-faq-question:hover { background: rgba(0, 0, 0, 0.03); }
.mpl-faq-chevron {
	font-size: 1.15rem;
	color: var(--mpl-muted);
	flex-shrink: 0;
	transition: transform 0.2s;
	display: inline-block;
}
.mpl-faq-item[open] .mpl-faq-chevron { transform: rotate(90deg); }
.mpl-faq-answer {
	padding: 0 1rem 0.9rem;
	border-top: 1px solid rgba(0, 0, 0, 0.04);
	animation: mpl-open 0.18s ease-out;
}
.mpl-faq-answer p {
	margin: 0.65rem 0 0;
	font-size: 0.88rem;
	color: var(--mpl-muted);
	line-height: 1.65;
}

/* Sticky bottom CTA — dark strip so white-glass button pops */
.mpl-bm-sticky-cta {
	position: sticky;
	bottom: 0;
	z-index: 5;
	padding: 0;
	background: #0c0c0c;
}
.mpl-bm-sticky-cta[hidden] { display: none !important; }

/* Visit button — edge-to-edge (color from shared crimson rule above) */
.mpl-bm-visit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	padding: 1.2rem 1.5rem;
	font-size: 1rem;
	font-family: inherit;
	font-weight: 500;
	letter-spacing: -0.005em;
	text-decoration: none;
	color: #ffffff;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
}
.mpl-bm-visit-btn strong {
	font-weight: 800;
	font-size: 1.05rem;
}
.mpl-bm-sticky-spacer { height: 0.5rem; }

/* ── Tag archive page (/best/{tag}/) ─────────────────────────────────────────── */
.mpl-tag-archive {
	padding-bottom: 3rem;
}
.mpl-tag-archive__hero {
	text-align: center;
	padding: 2.5rem 0 2rem;
}
.mpl-tag-archive__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #16a34a;
	background: rgba(22, 163, 74, 0.08);
	border: 1px solid rgba(22, 163, 74, 0.2);
	border-radius: 999px;
	padding: 0.25rem 0.9rem;
	margin-bottom: 0.9rem;
}
.mpl-tag-archive__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--mpl-text);
	margin: 0 0 0.75rem;
}
.mpl-tag-archive__desc {
	max-width: 52ch;
	margin: 0 auto;
	font-size: 0.96rem;
	color: var(--mpl-muted);
	line-height: 1.6;
}
.mpl-tag-archive__empty {
	text-align: center;
	color: var(--mpl-muted);
	padding: 3rem 0;
}

/* ── Related categories ───────────────────────────────────────────────────── */
.mpl-related-cats {
	padding: 2.5rem 0 1rem;
	border-top: 1px solid var(--mpl-card-border);
	margin-top: 0;
}
.mpl-related-cats__title {
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--mpl-text);
	margin: 0 0 1.25rem;
}
.mpl-related-cats__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.65rem;
}
@media (min-width: 540px) {
	.mpl-related-cats__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
	.mpl-related-cats__grid { grid-template-columns: repeat(4, 1fr); }
}
.mpl-related-cat-card {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.75rem 1rem;
	background: var(--mpl-surface);
	border: 1px solid var(--mpl-card-border);
	border-radius: 10px;
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.mpl-related-cat-card:hover {
	border-color: var(--mpl-primary);
	box-shadow: 0 3px 10px rgba(0,0,0,0.09);
	transform: translateY(-1px);
}
.mpl-related-cat-card__name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--mpl-text);
	line-height: 1.3;
}
.mpl-related-cat-card:hover .mpl-related-cat-card__name {
	color: var(--mpl-primary);
}
.mpl-related-cat-card__count {
	font-size: 0.72rem;
	color: var(--mpl-muted);
	font-weight: 400;
}

/* ── Tag archive FAQ ──────────────────────────────────────────────────────── */
.mpl-tag-archive .mpl-faq-section {
	border-top: 1px solid var(--mpl-card-border);
	margin-top: 1rem;
	padding: 2.5rem 0 3rem;
}
.mpl-tag-archive .mpl-section-title {
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--mpl-text);
	margin: 0 0 1.25rem;
}

/* ── Brand page (single standalone URL) ──────────────────────────────────────── */
.mpl-brand-page {
	padding: 2.5rem 0 3rem;
}
.mpl-brand-page__inner { max-width: 740px; }

.mpl-breadcrumb {
	font-size: 0.8rem;
	color: var(--mpl-muted);
	margin-bottom: 1.5rem;
}
.mpl-breadcrumb a { color: var(--mpl-muted); text-decoration: none; }
.mpl-breadcrumb a:hover { color: var(--mpl-primary); }

/* Reuse mpl-bm styles on the standalone page too */
.mpl-brand-page .mpl-bm {
	background: var(--mpl-surface);
	border: 1px solid var(--mpl-card-border);
	border-radius: var(--mpl-radius);
	overflow: hidden;
	box-shadow: var(--mpl-shadow);
}

/* Brand page: mpl-bm-back is an <a> on the standalone page */
.mpl-brand-page .mpl-bm-back {
	display: inline-flex;
	text-decoration: none;
}

/* Brand page: sticky visit bar — dark strip so white-glass button pops */
.mpl-brand-page__sticky-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 0;
	background: #0c0c0c;
	transition: opacity 0.25s, transform 0.25s;
}
.mpl-brand-page__sticky-bar.is-hidden {
	opacity: 0;
	transform: translateY(100%);
	pointer-events: none;
}
.mpl-brand-page__sticky-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	padding: 1.2rem 1.5rem;
	font-size: 1rem;
	font-family: inherit;
	font-weight: 600;
	letter-spacing: -0.005em;
	text-decoration: none;
	color: #ffffff;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
}
.mpl-brand-page__sticky-btn strong {
	font-weight: 800;
}
/* Bottom CTA (anchor for IntersectionObserver) — dark strip like sticky bar */
.mpl-brand-page__bottom-cta {
	background: #0c0c0c;
	padding: 0;
	margin-top: 2rem;
}

/* Brand page: back link (legacy, keep for safety) */
.mpl-brand-page__back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	background: var(--mpl-surface);
	border: 1px solid var(--mpl-card-border);
	color: var(--mpl-muted);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.mpl-brand-page__back-link:hover {
	border-color: var(--mpl-primary);
	color: var(--mpl-primary);
	box-shadow: 0 2px 10px rgba(201, 75, 142, 0.15);
}

/* ── Reviewed badge ──────────────────────────────────────────────────────── */
.mpl-badge--reviewed {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: #0c0c0c;
	color: #fff;
	border: 1px solid #333;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	letter-spacing: 0.02em;
	box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* ── Similar / Alternatives grid ────────────────────────────────────────── */
.mpl-similar-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mpl-similar-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--mpl-card-border);
	border-radius: 12px;
	background: var(--mpl-surface);
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
	text-align: left;
	width: 100%;
	font-family: inherit;
}
.mpl-similar-card:hover {
	border-color: var(--mpl-primary);
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	transform: translateY(-1px);
}

.mpl-similar-card__logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 8px;
	flex-shrink: 0;
	background: var(--mpl-bg);
	border: 1px solid var(--mpl-card-border);
}
.mpl-similar-card__initials {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--mpl-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	flex-shrink: 0;
}
.mpl-similar-card__info {
	flex: 1;
	min-width: 0;
}
.mpl-similar-card__name {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--mpl-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mpl-similar-card__tag {
	display: inline-block;
	margin-top: 4px;
	font-size: 0.68rem;
	font-weight: 700;
	border-radius: 5px;
	padding: 0.1rem 0.45rem;
	white-space: nowrap;
	line-height: 1.5;
	color: #0369a1;
	background: rgba(14, 165, 233, 0.08);
	border: 1px solid rgba(14, 165, 233, 0.2);
}
.mpl-similar-card__tag--free {
	color: #166534;
	background: rgba(22, 160, 92, 0.08);
	border-color: rgba(22, 160, 92, 0.22);
}
.mpl-similar-card__tag--freemium {
	color: #92400e;
	background: rgba(245, 158, 11, 0.08);
	border-color: rgba(245, 158, 11, 0.25);
}
.mpl-similar-card__tag--free-trial {
	color: #1e40af;
	background: rgba(59, 130, 246, 0.08);
	border-color: rgba(59, 130, 246, 0.22);
}
.mpl-similar-card__tag--paid {
	color: #6b21a8;
	background: rgba(139, 92, 246, 0.08);
	border-color: rgba(139, 92, 246, 0.22);
}
.mpl-similar-card__rating {
	font-size: 0.8rem;
	font-weight: 700;
	color: #b45309;
	background: rgba(180, 83, 9, 0.08);
	border: 1px solid rgba(180, 83, 9, 0.15);
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	white-space: nowrap;
	flex-shrink: 0;
}

/* ── Associated articles grid ────────────────────────────────────────────── */
.mpl-articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.mpl-article-card {
	display: flex;
	flex-direction: column;
	background: var(--mpl-surface);
	border: 1px solid var(--mpl-card-border);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.18s, transform 0.15s, border-color 0.15s;
}
.mpl-article-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
	border-color: #16a34a;
	text-decoration: none;
}

.mpl-article-card__thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--mpl-bg);
}
.mpl-article-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s;
}
.mpl-article-card:hover .mpl-article-card__thumb img {
	transform: scale(1.04);
}

.mpl-article-card__body {
	padding: 0.85rem 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.mpl-article-card__date {
	font-size: 0.72rem;
	font-weight: 600;
	color: #16a34a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.mpl-article-card__title {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--mpl-text);
	margin: 0;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mpl-article-card__excerpt {
	font-size: 0.78rem;
	color: var(--mpl-muted);
	margin: 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 640px) {
	.mpl-articles-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Article card: button reset + read-more link ─────────────────────────── */
button.mpl-article-card {
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	width: 100%;
}
.mpl-article-card__read {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #64748b;
	transition: color 0.15s;
}
button.mpl-article-card:hover .mpl-article-card__read {
	color: #16a34a;
}

/* ── Article reader overlay ──────────────────────────────────────────────── */
#mpl-article-overlay {
	position: fixed;
	inset: 0;
	z-index: 10100;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	animation: mpl-fade-in 0.18s ease;
}
#mpl-article-overlay[hidden] { display: none; }

@keyframes mpl-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.mpl-article-modal {
	background: #fff;
	width: 100%;
	max-width: 680px;
	max-height: 92dvh;
	border-radius: 22px 22px 0 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: mpl-slide-up 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 640px) {
	#mpl-article-overlay { align-items: center; }
	.mpl-article-modal {
		border-radius: 20px;
		max-height: 88dvh;
	}
}

@keyframes mpl-slide-up {
	from { transform: translateY(40px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

.mpl-article-modal__header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0.75rem 1.25rem 0.6rem;
	border-bottom: 1px solid var(--mpl-card-border);
	flex-shrink: 0;
}

.mpl-article-modal__close {
	background: rgba(0,0,0,0.06);
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 1.1rem;
	line-height: 1;
	color: var(--mpl-text);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}
.mpl-article-modal__close:hover { background: rgba(0,0,0,0.12); }

.mpl-article-modal__body {
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	padding: 1.5rem 1.5rem 2rem;
	flex: 1;
	min-width: 0;
}

.mpl-article-modal__spinner,
.mpl-article-modal__error {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--mpl-muted);
	font-size: 0.9rem;
}
.mpl-article-modal__error a {
	color: var(--mpl-primary);
}

.mpl-article-modal__date {
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.6rem;
}

.mpl-article-modal__title {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--mpl-text);
	margin: 0 0 1.5rem;
	line-height: 1.3;
}

/* WordPress content inside the article reader */
.mpl-article-modal__text {
	font-size: 0.93rem;
	line-height: 1.75;
	color: var(--mpl-text);
}
.mpl-article-modal__text p   { margin: 0 0 1rem; }
.mpl-article-modal__text h2,
.mpl-article-modal__text h3  { font-weight: 700; margin: 1.5rem 0 0.5rem; }
.mpl-article-modal__text img { max-width: 100%; border-radius: 10px; }
.mpl-article-modal__text a   { color: #16a34a; }
.mpl-article-modal__text ul,
.mpl-article-modal__text ol  { padding-left: 1.4rem; margin: 0 0 1rem; }

/* ── Tables inside article reader ──────────────────────────────────────── */
.mpl-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.25rem 0 1.5rem;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.mpl-article-modal__text table {
	width: 100%;
	min-width: 480px;
	table-layout: auto;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.85rem;
	border-radius: 12px;
	overflow: hidden;
}
.mpl-article-modal__text thead {
	background: #0c0c0c;
	color: #fff;
}
.mpl-article-modal__text thead th {
	padding: 0.7rem 0.75rem;
	font-weight: 700;
	text-align: left;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: none;
	overflow-wrap: break-word;
	word-break: break-word;
}
/* First column (feature label) fixed narrow width */
.mpl-article-modal__text td:first-child,
.mpl-article-modal__text th:first-child {
	width: 130px;
	min-width: 100px;
}
.mpl-article-modal__text tbody tr {
	border-bottom: 1px solid rgba(0,0,0,0.07);
	transition: background 0.12s;
}
.mpl-article-modal__text tbody tr:last-child {
	border-bottom: none;
}
.mpl-article-modal__text tbody tr:nth-child(even) {
	background: rgba(0,0,0,0.025);
}
.mpl-article-modal__text tbody tr:hover {
	background: rgba(22,163,74,0.05);
}
.mpl-article-modal__text td,
.mpl-article-modal__text th {
	padding: 0.65rem 0.75rem;
	vertical-align: top;
	text-align: left;
	max-width: 220px;
	overflow-wrap: break-word;
	white-space: normal;
}
.mpl-article-modal__text td:first-child {
	font-weight: 700;
	color: var(--mpl-text);
}
@media (max-width: 600px) {
	.mpl-article-modal__text table { font-size: 0.8rem; min-width: 420px; }
	.mpl-article-modal__text td,
	.mpl-article-modal__text th { padding: 0.5rem 0.55rem; max-width: 160px; }
	.mpl-article-modal__text td:first-child,
	.mpl-article-modal__text th:first-child { width: 110px; min-width: 90px; }
}
/* Scrollable wrapper for Gutenberg block tables */
.mpl-article-modal__text .wp-block-table,
.mpl-article-modal__text figure.wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.25rem 0 1.5rem;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.mpl-article-modal__text .wp-block-table table,
.mpl-article-modal__text figure.wp-block-table table {
	margin: 0;
	box-shadow: none;
}

.mpl-article-modal__footer {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--mpl-card-border);
}

.mpl-article-modal__read-btn {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
	background: rgba(22, 163, 74, 0.08);
	border: 1.5px solid rgba(22, 163, 74, 0.35);
	color: #15803d;
	text-align: center;
	font-size: 0.88rem;
	font-weight: 700;
	border-radius: 14px;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s, border-color 0.15s;
	box-sizing: border-box;
}
.mpl-article-modal__read-btn:hover {
	background: rgba(22, 163, 74, 0.15);
	border-color: rgba(22, 163, 74, 0.6);
}

/* ── Pricing model pills ─────────────────────────────────────────────────── */
.mpl-card-pricing-row {
	display: flex;
	justify-content: center;
	padding: 0.8rem 1.2rem 2px;
}

.mpl-pricing-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.1rem 0.4rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	border: 0.2px solid transparent;
}

.mpl-pricing-pill__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* FREE — green */
.mpl-pricing-pill--free {
	background: rgba(22, 163, 74, 0.1);
	border-color: rgba(22, 163, 74, 0.35);
	color: #15803d;
}
.mpl-pricing-pill--free .mpl-pricing-pill__dot { background: #22c55e; }

/* FREE-TRIAL — blue/indigo */
.mpl-pricing-pill--free-trial {
	background: rgba(99, 102, 241, 0.1);
	border-color: rgba(99, 102, 241, 0.35);
	color: #4f46e5;
}
.mpl-pricing-pill--free-trial .mpl-pricing-pill__dot { background: #6366f1; }

/* FREEMIUM — amber/gold */
.mpl-pricing-pill--freemium {
	background: rgba(217, 119, 6, 0.1);
	border-color: rgba(217, 119, 6, 0.35);
	color: #b45309;
}
.mpl-pricing-pill--freemium .mpl-pricing-pill__dot { background: #f59e0b; }

/* PAID — neutral slate */
.mpl-pricing-pill--paid {
	background: rgba(71, 85, 105, 0.1);
	border-color: rgba(71, 85, 105, 0.3);
	color: #475569;
}
.mpl-pricing-pill--paid .mpl-pricing-pill__dot { background: #94a3b8; }


/* Pricing pills on dark glass — bright versions for all cards */
.mpl-card .mpl-pricing-pill--free {
	background: rgba(34, 197, 94, 0.18);
	border-color: rgba(74, 222, 128, 0.5);
	color: #4ade80;
}
.mpl-card .mpl-pricing-pill--free .mpl-pricing-pill__dot { background: #4ade80; }

.mpl-card .mpl-pricing-pill--free-trial {
	background: rgba(129, 140, 248, 0.18);
	border-color: rgba(165, 180, 252, 0.5);
	color: #a5b4fc;
}
.mpl-card .mpl-pricing-pill--free-trial .mpl-pricing-pill__dot { background: #a5b4fc; }

.mpl-card .mpl-pricing-pill--freemium {
	background: rgba(251, 191, 36, 0.18);
	border-color: rgba(251, 191, 36, 0.5);
	color: #fbbf24;
}
.mpl-card .mpl-pricing-pill--freemium .mpl-pricing-pill__dot { background: #fbbf24; }

.mpl-card .mpl-pricing-pill--paid {
	background: rgba(148, 163, 184, 0.12);
	border-color: rgba(148, 163, 184, 0.45);
	color: #cbd5e1;
}
.mpl-card .mpl-pricing-pill--paid .mpl-pricing-pill__dot { background: #cbd5e1; }

/* ── Age Gate ──────────────────────────────────────────────────────────────── */
body.mpl-age-gate-open { overflow: hidden; }

#mpl-age-gate {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(9, 9, 11, 0.92);
	backdrop-filter: blur(18px) saturate(1.2);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	animation: mpl-agegate-in 0.35s cubic-bezier(0.16,1,0.3,1) both;
}

#mpl-age-gate.mpl-age-gate--hiding {
	animation: mpl-agegate-out 0.38s cubic-bezier(0.4,0,1,1) both;
}

@keyframes mpl-agegate-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes mpl-agegate-out {
	from { opacity: 1; }
	to   { opacity: 0; }
}

.mpl-age-gate__card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	padding: 2.8rem 2.4rem 2.6rem;
	max-width: 420px;
	width: 100%;
	text-align: center;
	box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
	animation: mpl-agegate-card-in 0.45s cubic-bezier(0.16,1,0.3,1) both;
	animation-delay: 0.05s;
}

@keyframes mpl-agegate-card-in {
	from { opacity: 0; transform: translateY(24px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.mpl-age-gate__logo {
	margin-bottom: 1.8rem;
}

.mpl-age-gate__logo img {
	max-height: 44px;
	width: auto;
	display: inline-block;
	filter: brightness(0) invert(1);
}

.mpl-age-gate__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.45);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 999px;
	padding: 0.25rem 0.75rem;
	margin-bottom: 1.2rem;
}

.mpl-age-gate__badge::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f43f5e;
	flex-shrink: 0;
}

.mpl-age-gate__title {
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #ffffff;
	margin: 0 0 0.65rem;
	line-height: 1.2;
}

.mpl-age-gate__subtitle {
	font-size: 0.88rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.5);
	margin: 0 0 2rem;
}

.mpl-age-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.mpl-age-gate__btn-enter {
	display: block;
	width: 100%;
	padding: 0.85rem 1.5rem;
	border-radius: 14px;
	background: #ffffff;
	color: #09090b;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	border: none;
	cursor: pointer;
	transition: background 0.15s, transform 0.12s;
}

.mpl-age-gate__btn-enter:hover {
	background: #f4f4f5;
	transform: translateY(-1px);
}

.mpl-age-gate__btn-exit {
	display: block;
	width: 100%;
	padding: 0.75rem 1.5rem;
	border-radius: 14px;
	background: transparent;
	color: rgba(255,255,255,0.4);
	font-size: 0.85rem;
	font-weight: 500;
	border: 1px solid rgba(255,255,255,0.1);
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s;
}

.mpl-age-gate__btn-exit:hover {
	color: rgba(255,255,255,0.7);
	border-color: rgba(255,255,255,0.25);
}

.mpl-age-gate__disclaimer {
	margin-top: 1.4rem;
	font-size: 0.72rem;
	color: rgba(255,255,255,0.2);
	line-height: 1.5;
}

/* ── Scroll to top ───────────────────────────────────────────────────────────── */
.mpl-scroll-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.25rem;
	z-index: 900;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	padding: 0;
	cursor: pointer;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.10);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateY(12px) scale(0.9);
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.15s;
}
.mpl-scroll-top.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}
.mpl-scroll-top:hover {
	box-shadow: 0 6px 24px rgba(0,0,0,0.22);
	transform: translateY(-2px) scale(1.04);
}
.mpl-scroll-top:active {
	transform: scale(0.96);
}
.mpl-scroll-top img {
	width: 30px;
	height: 30px;
	object-fit: contain;
	display: block;
	border-radius: 0;
}
