/* Advance Mega Menu – 3 layouts (Blocks, Features, Solutions) */
.unlockafe-amm {
	position: relative;
	display: block;
	z-index: 30;
	--amm-duration: 220ms;
	--amm-radius: 16px;
	--amm-shadow: 0 18px 60px rgba(0, 0, 0, 0.15);
	--amm-accent: #7c3aed;
	--amm-accent-hover: #6d28d9;
	--amm-cta-gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
	--amm-nav-color: #1f2937;
	--amm-nav-hover: #7c3aed;
	--amm-panel-bg: #fff;
	--amm-text: #374151;
	--amm-text-muted: #6b7280;
}

.unlockafe-amm__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 0;
	min-width: 0;
}

.unlockafe-amm-toggle {
	display: none;
	margin-left: auto;
	padding: 6px;
	border: none;
	background: transparent;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
	transition: background-color var(--amm-duration), box-shadow var(--amm-duration);
}

.unlockafe-amm-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	background: #111827;
	border-radius: 999px;
	transition: transform var(--amm-duration), opacity var(--amm-duration), background-color var(--amm-duration);
}

/* When menu is open: close button = white circle + perfect X (two identical lines, left-to-right & right-to-left) */
.unlockafe-amm--mobile-open .unlockafe-amm-toggle {
	width: 36px;
	height: 36px;
	min-width: 36px;
	min-height: 36px;
	padding: 0;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	position: relative;
	z-index: 2;
}

/* Hide hamburger bars; draw perfect X with two identical pseudo-lines */
.unlockafe-amm--mobile-open .unlockafe-amm-toggle__bar {
	opacity: 0;
	pointer-events: none;
}

.unlockafe-amm--mobile-open .unlockafe-amm-toggle::before,
.unlockafe-amm--mobile-open .unlockafe-amm-toggle::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 2px;
	margin-left: -8px;
	margin-top: -1px;
	background: #111827;
	border-radius: 999px;
}

.unlockafe-amm--mobile-open .unlockafe-amm-toggle::before {
	transform: rotate(45deg);
}

.unlockafe-amm--mobile-open .unlockafe-amm-toggle::after {
	transform: rotate(-45deg);
}

.unlockafe-amm-logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.unlockafe-amm-logo__link,
.unlockafe-amm-logo__wrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}

.unlockafe-amm-logo__text {
	display: inline-block;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--amm-accent);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.unlockafe-amm-logo__link {
	color: var(--amm-accent);
}

.unlockafe-amm-logo__link:hover {
	color: var(--amm-accent-hover);
}

.unlockafe-amm-logo__img {
	display: block;
	max-height: 40px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.unlockafe-amm-logo__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	width: 1em;
	height: 1em;
	color: var(--amm-accent);
}

.unlockafe-amm-logo__icon svg {
	width: 1em;
	height: 1em;
}

.unlockafe-amm-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	flex: 0 1 auto;
	min-width: 0;
	gap: 8px 18px;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.unlockafe-amm-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff !important;
	text-decoration: none;
	border: none;
	border-radius: 10px;
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
	transition: opacity var(--amm-duration), transform var(--amm-duration);
}

.unlockafe-amm-btn:hover {
	opacity: 0.95;
	color: #fff !important;
}

.unlockafe-amm-btn:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.4);
}

/* Simple dropdown positions under parent; mega panel needs nav as containing block */
.unlockafe-amm-nav__item {
	position: relative;
}
.unlockafe-amm-nav__item--mega {
	position: static;
}

.unlockafe-amm-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 3px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	color: var(--amm-nav-color);
	text-decoration: none;
	position: relative;
	overflow: visible;
	transition: color var(--amm-duration) ease;
}

.unlockafe-amm-nav__link:hover,
.unlockafe-amm-nav__item.is-open .unlockafe-amm-nav__link,
.unlockafe-amm-nav__link.is-active {
	color: var(--amm-nav-hover);
}

.unlockafe-amm-nav__text {
	display: inline-block;
}

.unlockafe-amm-nav__arrow {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-left: 4px;
	border: 2px solid currentColor;
	border-left: 0;
	border-top: 0;
	transform: rotate(45deg);
	transform-origin: center;
	transition: transform var(--amm-duration) ease;
}

.unlockafe-amm-nav__item.is-open .unlockafe-amm-nav__arrow {
	transform: rotate(225deg);
}

/* Bottom part: underline so user can identify which menu is clicked/hover (active) */
.unlockafe-amm-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--amm-nav-underline-height, 3px);
	background: var(--amm-nav-underline-bg, linear-gradient(90deg, var(--amm-nav-hover) 0%, #a855f7 100%));
	border-radius: 3px 3px 0 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--amm-duration) ease;
	z-index: 1;
	pointer-events: none;
}

.unlockafe-amm-nav__item:hover .unlockafe-amm-nav__link::after,
.unlockafe-amm-nav__item.is-open .unlockafe-amm-nav__link::after,
.unlockafe-amm-nav__link.is-active::after {
	transform: scaleX(1);
}

/* Simple dropdown (sub-items list) – under parent item; uses data-dropdown-animation and --amm-dropdown-duration */
.unlockafe-amm-dropdown {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	min-width: 180px;
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	background: var(--amm-panel-bg);
	border-radius: var(--amm-radius);
	box-shadow: var(--amm-shadow);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-8px);
	transform-origin: top;
	--amm-dd-dur: var(--amm-dropdown-duration, var(--amm-duration));
	transition: opacity var(--amm-dd-dur) ease 0s, transform var(--amm-dd-dur) ease 0s, visibility 0s linear var(--amm-dd-dur);
	z-index: 100;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

/* When open: show immediately; animate with --amm-dropdown-duration (fallback 220ms) */
.unlockafe-amm-nav__item.is-open .unlockafe-amm-dropdown {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translateY(0);
	transition: opacity var(--amm-dropdown-duration, 220ms) ease 0s, transform var(--amm-dropdown-duration, 220ms) ease 0s, visibility 0s linear 0s;
}

/* Dropdown animation: None */
.unlockafe-amm[data-dropdown-animation="none"] .unlockafe-amm-dropdown {
	transition-duration: 0s;
}
.unlockafe-amm[data-dropdown-animation="none"] .unlockafe-amm-nav__item.is-open .unlockafe-amm-dropdown {
	transition-duration: 0s;
}

/* Dropdown animation: Fade (opacity only) */
.unlockafe-amm[data-dropdown-animation="fade"] .unlockafe-amm-dropdown {
	transform: none;
}
.unlockafe-amm[data-dropdown-animation="fade"] .unlockafe-amm-nav__item.is-open .unlockafe-amm-dropdown {
	transform: none;
}

/* Dropdown animation: Slide Up */
.unlockafe-amm[data-dropdown-animation="slide-up"] .unlockafe-amm-dropdown {
	transform: translateY(8px);
}
.unlockafe-amm[data-dropdown-animation="slide-up"] .unlockafe-amm-nav__item.is-open .unlockafe-amm-dropdown {
	transform: translateY(0);
}

/* Dropdown animation: Zoom In */
.unlockafe-amm[data-dropdown-animation="zoom-in"] .unlockafe-amm-dropdown {
	transform: scale(0.95);
	transform-origin: top;
}
.unlockafe-amm[data-dropdown-animation="zoom-in"] .unlockafe-amm-nav__item.is-open .unlockafe-amm-dropdown {
	transform: scale(1);
}

.unlockafe-amm-dropdown li {
	margin: 0;
}

.unlockafe-amm-dropdown__link {
	display: block;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--amm-text);
	text-decoration: none;
	transition: background var(--amm-duration), color var(--amm-duration);
}

.unlockafe-amm-dropdown__link:hover {
	background: rgba(124, 58, 237, 0.08);
	color: var(--amm-accent);
}

/* Mega panel – uses data-mega-animation and --amm-mega-duration */
.unlockafe-amm-panel {
	position: absolute;
	left: 50%;
	top: calc(100% + 12px);
	width: min(900px, 94vw);
	min-width: 320px;
	min-height: 180px;
	transform: translateX(-50%) translateY(-8px);
	background: var(--amm-panel-bg);
	border-radius: var(--amm-radius);
	box-shadow: var(--amm-shadow);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	--amm-mega-dur: var(--amm-mega-duration, var(--amm-duration));
	transition: opacity var(--amm-mega-dur) ease 0s, transform var(--amm-mega-dur) ease 0s, visibility 0s linear var(--amm-mega-dur);
	z-index: 100;
	overflow: hidden;
}

/* When open: show immediately; animate with --amm-mega-duration (fallback 220ms) */
.unlockafe-amm-nav__item.is-open .unlockafe-amm-panel {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translateX(-50%) translateY(0);
	transition: opacity var(--amm-mega-duration, 220ms) ease 0s, transform var(--amm-mega-duration, 220ms) ease 0s, visibility 0s linear 0s;
}

/* Mega panel animation: None */
.unlockafe-amm[data-mega-animation="none"] .unlockafe-amm-panel {
	transition-duration: 0s;
}
.unlockafe-amm[data-mega-animation="none"] .unlockafe-amm-nav__item.is-open .unlockafe-amm-panel {
	transition-duration: 0s;
}

/* Mega panel animation: Fade */
.unlockafe-amm[data-mega-animation="fade"] .unlockafe-amm-panel {
	transform: translateX(-50%);
}
.unlockafe-amm[data-mega-animation="fade"] .unlockafe-amm-nav__item.is-open .unlockafe-amm-panel {
	transform: translateX(-50%);
}

/* Mega panel animation: Slide Up */
.unlockafe-amm[data-mega-animation="slide-up"] .unlockafe-amm-panel {
	transform: translateX(-50%) translateY(8px);
}
.unlockafe-amm[data-mega-animation="slide-up"] .unlockafe-amm-nav__item.is-open .unlockafe-amm-panel {
	transform: translateX(-50%) translateY(0);
}

/* Mega panel animation: Zoom In */
.unlockafe-amm[data-mega-animation="zoom-in"] .unlockafe-amm-panel {
	transform: translateX(-50%) scale(0.95);
	transform-origin: top center;
}
.unlockafe-amm[data-mega-animation="zoom-in"] .unlockafe-amm-nav__item.is-open .unlockafe-amm-panel {
	transform: translateX(-50%) scale(1);
}

/* Layout 2 (Features): wider panel, rounded */
.unlockafe-amm-panel--features {
	width: min(1024px, 96vw);
	border-radius: 20px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.unlockafe-amm--trigger-click .unlockafe-amm-panel {
	top: calc(100% + 8px);
}

.unlockafe-amm-panel__inner {
	padding: 20px 24px 0;
	padding-bottom: 0;
}

.unlockafe-amm-panel--custom-inner {
	min-width: 0;
}

.unlockafe-amm-empty {
	padding: 12px 16px;
	color: var(--amm-text-muted);
	font-size: 14px;
}

.unlockafe-amm-panel__header {
	margin-bottom: 16px;
}

.unlockafe-amm-panel__title {
	margin: 0 0 4px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--amm-accent);
	line-height: 1.2;
}

.unlockafe-amm-panel__count {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--amm-text-muted);
}

/* Category tabs */
.unlockafe-amm-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.unlockafe-amm-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	color: var(--amm-text);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background var(--amm-duration), color var(--amm-duration), border-color var(--amm-duration);
}

.unlockafe-amm-tab:hover {
	border-color: var(--amm-accent);
	color: var(--amm-accent);
}

.unlockafe-amm-tab.is-active {
	background: var(--amm-accent);
	border-color: var(--amm-accent);
	color: #fff;
}

.unlockafe-amm-tab__icon {
	display: inline-flex;
	font-size: 14px;
}

.unlockafe-amm-tab__icon svg {
	width: 1em;
	height: 1em;
}

.unlockafe-amm-tab__icon--img {
	width: 16px;
	height: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.unlockafe-amm-tab__icon--img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* ——— Layout 1: Blocks (pixel-perfect: MegaMenu.tsx – height, width, colors, CTA right) ——— */
/* Panel: max-w-5xl (1024px), h-[550px], rounded-3xl – position: absolute like Features/Solutions to avoid scroll issue on hover */
.unlockafe-amm-panel--blocks {
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(-8px);
	top: calc(100% + 12px);
	width: min(1024px, 96vw);
	height: 550px;
	min-height: 550px;
	max-height: 550px;
	border-radius: 24px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(229, 231, 235, 0.5);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	overflow: hidden !important;
}

.unlockafe-amm-nav__item.is-open .unlockafe-amm-panel--blocks {
	transform: translateX(-50%) translateY(0);
}

.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-panel__inner {
	display: flex;
	flex-direction: column;
	padding: 0;
	padding-bottom: 0;
	/* Allow full layout height to grow with content so left submenu + View All don’t overlap CTA */
	flex: 1 1 0%;
	min-height: 0;
	overflow: hidden;
}

/* Body fills panel so left/right columns get same height; grid fills body */
.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-panel__body {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 0% !important;
	min-height: 0;
	padding: 0;
	overflow: hidden;
}

/* Layout 1: flex row so left & right same height by default; View All & CTA align at bottom */
.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-blocks,
.unlockafe-amm-blocks {
	display: flex !important;
	flex-direction: row !important;
	flex: 1 1 0% !important;
	min-height: 0;
	height: 100%;
	gap: 0;
	align-items: stretch;
	text-align: left;
}

/* Layout 1 left column: wider (55%) so 3 category pills fit per row; same height as right */
.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left {
	display: flex;
	flex-direction: column;
	flex: 0 0 40%;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	text-align: left;
	background: #fff;
	border-right: 1px solid #e5e7eb;
	padding: 0;
	align-self: stretch;
}

/* Browse by Category: ref p-6 border-b, h3 text-sm font-semibold text-gray-900 mb-3 (14px, 12px margin) */
.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__heading {
	margin: 0 0 15px;
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	line-height: 1.3;
	flex-shrink: 0;
	padding: 30px 20px 0 20px;
}

.unlockafe-amm-blocks__heading {
	margin: 0 0 4px;
	font-size: 1.125rem;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.3;
	flex-shrink: 0;
}

/* Category pills – 3 per row; use --blocks modifier so rule always wins */
.unlockafe-amm-tabs--blocks,
.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-tabs,
.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left .unlockafe-amm-tabs {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 6px;
	margin-bottom: 0;
	flex-shrink: 0;
	min-width: 0;
	max-width: 100%;
	padding: 0 16px 25px 16px;
	border-bottom: 1px solid #e5e7eb;
}

/* Category pill: reduced padding so 3 fit per row */
.unlockafe-amm-panel--blocks .unlockafe-amm-tab {
	padding: 5px 10px;
	border-radius: 999px;
	border: none;
	background: #f3f4f6;
	color: #374151;
	font-size: 12px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 0;
	white-space: nowrap;
}

/* Category icon: always left of label, 16x16 – same as screenshot */
.unlockafe-amm-panel--blocks .unlockafe-amm-tab .unlockafe-amm-tab__icon {
	flex-shrink: 0;
	order: -1;
	width: 16px;
	height: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-tab .unlockafe-amm-tab__icon svg {
	width: 16px;
	height: 16px;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-tab:hover {
	background: #e5e7eb;
	color: #374151;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-tab.is-active {
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.unlockafe-amm-panel--blocks .unlockafe-amm-tab.is-active .unlockafe-amm-tab__icon {
	color: #fff;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-tab.is-active .unlockafe-amm-tab__icon svg {
	width: 16px;
	height: 16px;
}


.unlockafe-amm-tab__icon--all-blocks {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='9' height='9' fill='black'/%3E%3Crect x='13' y='2' width='9' height='9' fill='black'/%3E%3Crect x='2' y='13' width='9' height='9' fill='black'/%3E%3Crect x='13' y='13' width='9' height='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='9' height='9' fill='black'/%3E%3Crect x='13' y='2' width='9' height='9' fill='black'/%3E%3Crect x='2' y='13' width='9' height='9' fill='black'/%3E%3Crect x='13' y='13' width='9' height='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}

.unlockafe-amm-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	overflow-y: auto;
	padding-right: 6px;
	flex: 1;
	min-height: 0;
}

/* Layout 1: list takes remaining space so View All stays at bottom */
.unlockafe-amm-panel--blocks .unlockafe-amm-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 25px 12px;
	flex: 1 1 0%;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	border-bottom: 1px solid #e5e7eb;
	max-height: 260px;
}

.unlockafe-amm-blocks__left .unlockafe-amm-view-all {
	flex-shrink: 0;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-list::-webkit-scrollbar {
	width: 6px;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-list::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 3px;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-list::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #7c3aed 0%, #a855f7 100%);
	border-radius: 3px;
}

/* List item: ref rounded-xl gap-3 px-3 py-2.5, default hover:bg-gray-50 border-transparent, active bg-purple-50 border-purple-200 */
.unlockafe-amm-item--row {
	border-radius: 12px;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	background: transparent;
	border: 1px solid transparent;
}

.unlockafe-amm-item--row .unlockafe-amm-item__link:hover {
	background: #f9fafb;
	border-color: transparent;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link:hover {
	background: oklch(97.7% .014 308.299);
	border-color: oklch(90.2% .063 306.703);
}

.unlockafe-amm-item--row .unlockafe-amm-item__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	text-decoration: none;
	color: #111827;
	position: relative;
	border-radius: 12px;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* Layout 1: icon BESIDE title & description (never on top) – force row layout */
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 12px;
	padding: 10px 12px 10px 12px;
	padding-right: 40px;
	min-height: 0;
	position: relative;
	border: 1px solid transparent;
}

/* Ensure icon and content stay in one row – never stack */
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link > .unlockafe-amm-item__icon,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link > .unlockafe-amm-item__thumb,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link > .unlockafe-amm-item__content {
	flex-shrink: 0;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link > .unlockafe-amm-item__content {
	flex-shrink: 1;
	flex-grow: 1;
	min-width: 0;
}

/* ChevronRight beside submenu: ref w-4 h-4 (16px) text-gray-400 opacity-0, hover text-purple-600 opacity-100 */
.unlockafe-amm-item--row .unlockafe-amm-item__link::after {
	content: "›";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	font-size: 16px;
	font-weight: 600;
	line-height: 16px;
	color: #9ca3af;
	opacity: 0;
	transition: opacity 0.2s, color 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.unlockafe-amm-item--row .unlockafe-amm-item__link:hover::after,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row.is-active .unlockafe-amm-item__link::after {
	opacity: 1;
	color: #C129B5;
}

.unlockafe-amm-item--row .unlockafe-amm-item__link:hover,
.unlockafe-amm-item--row.is-active .unlockafe-amm-item__link {
	background: #faf5ff;
	border-color: #e9d5ff;
	color: #111827;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link:hover .unlockafe-amm-item__title,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row.is-active .unlockafe-amm-item__title {
	color: #C129B5;
}

.unlockafe-amm-item--row .unlockafe-amm-item__link:hover .unlockafe-amm-item__icon,
.unlockafe-amm-item--row .unlockafe-amm-item__link:hover .unlockafe-amm-item__thumb,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row.is-active .unlockafe-amm-item__icon,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row.is-active .unlockafe-amm-item__thumb {
	color: #fff;
}

.unlockafe-amm-item__icon,
.unlockafe-amm-item__thumb {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--amm-accent);
	font-size: 18px;
}

/* Layout 1: submenu icon beside title/desc (left side only, never on top) */
.unlockafe-amm-panel--blocks .unlockafe-amm-item__icon,
.unlockafe-amm-panel--blocks .unlockafe-amm-item__thumb {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	border-radius: 8px;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 16px;
	order: -1;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item__icon svg,
.unlockafe-amm-panel--blocks .unlockafe-amm-item__thumb svg {
	width: 16px;
	height: 16px;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link:hover .unlockafe-amm-item__icon,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link:hover .unlockafe-amm-item__thumb,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row.is-active .unlockafe-amm-item__icon,
.unlockafe-amm-panel--blocks .unlockafe-amm-item--row.is-active .unlockafe-amm-item__thumb {
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
	color: #fff;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item--row.is-active .unlockafe-amm-item__icon svg {
	width: 16px;
	height: 16px;
}
.unlockafe-amm-panel--blocks .unlockafe-amm-item__thumb {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}
.unlockafe-amm-panel--blocks .unlockafe-amm-item__thumb img {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 8px;
}

.unlockafe-amm-item__thumb img {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 8px;
}

/* Layout 1: left icon/thumb visible like screenshot-2 (32x32 rounded); right featured image stays visible */

/* Submenu video thumb (Layout 1 list) */
.unlockafe-amm-item__thumb--video {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.unlockafe-amm-item__thumb--video video {
	width: 32px;
	height: 32px;
	object-fit: cover;
	display: block;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item__thumb--video video {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 8px;
}

.unlockafe-amm-item__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 8px;
}

.unlockafe-amm-item__play::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 6px solid #fff;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	margin-left: 2px;
}

/* Layout 1: content (title + badge + desc) sits beside the icon – one row, icon left */
.unlockafe-amm-panel--blocks .unlockafe-amm-item__content {
	flex: 1;
	min-width: 0;
	display: inline-flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	align-self: center;
}

/* title-row uses display:contents so title, badge, desc are all direct flex siblings = exactly beside */
.unlockafe-amm-panel--blocks .unlockafe-amm-item__title-row {
	display: contents;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item__title {
	flex: 0 1 auto;
	min-width: 0;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item__title-row .unlockafe-amm-item__badge {
	position: static;
	margin: 0;
	flex-shrink: 0;
	padding: 2px 6px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
	color: #fff;
	border-radius: 999px;
	vertical-align: middle;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-item__desc {
	display: inline;
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
}

.unlockafe-amm-item__title {
	display: block;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
	flex: 1;
	padding-right: 24px;
}

/* Layout 1 grid: title full width, description below */
/* Layout 1: title text-sm (14px) font-medium, default text-gray-900, hover text-purple-700 */
.unlockafe-amm-panel--blocks .unlockafe-amm-item__title {
	padding-right: 0;
	font-size: 14px;
	font-weight: 500;
	color: #111827;
}
.unlockafe-amm-panel--blocks .unlockafe-amm-item__desc {
	font-size: 12px;
	line-height: 1.35;
	margin-top: 0;
	color: #6b7280;
}

.unlockafe-amm-item__desc {
	display: block;
	font-size: 12px;
	color: var(--amm-text-muted);
	margin-top: 2px;
	line-height: 1.4;
}

.unlockafe-amm-item__badge {
	position: absolute;
	top: 10px;
	right: 36px;
	background: linear-gradient(90deg, #9333ea 0%, #db2777 100%);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 999px;
}

/* Layout 1: NEW badge top-left so it doesn’t overlap title/description */
/* Same arrow alignment for items with NEW badge */
.unlockafe-amm-panel--blocks .unlockafe-amm-item--has-badge .unlockafe-amm-item__link::after {
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

/* View All: ref p-4 (16px) border-t, button w-full px-4 py-2.5 (16px 10px) gap-2 text-sm font-medium */
.unlockafe-amm-view-all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 10px 16px;
	background: #f3f4f6;
	color: #111827;
	font-size: 14px;
	font-weight: 500;
	border-radius: 12px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	flex-shrink: 0;
	border: none;
}

.unlockafe-amm-view-all:hover {
	background: #e5e7eb;
	color: #111827;
}

.unlockafe-amm-view-all::after {
	content: "›";
	font-size: 16px;
	font-weight: 600;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left .unlockafe-amm-view-all {
	margin: 15px 10px;
	padding: 10px;
	width: 95%;
	margin-top: auto;
}

.unlockafe-amm-blocks__right {
	text-align: left;
	padding: 24px 24px 24px 28px;
	min-width: 0;
	align-self: stretch;
}

/* Layout 1 right column: 3/5 width, same height as left (flex stretch); flex col so CTA at bottom */
.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__right {
	display: flex;
	flex-direction: column;
	flex: 1 1 0%;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: linear-gradient(to bottom right, #f9fafb 0%, rgba(249, 245, 255, 0.4) 100%);
	padding: 24px;
	align-self: stretch;
	padding-bottom: 15px;
	justify-content: space-between;
}

/* Layout 1: featured – ref mb-4, title text-lg font-bold */
.unlockafe-amm-panel--blocks .unlockafe-amm-featured {
	text-align: left;
	margin-bottom: 16px;
	flex: 0 0 auto;
}

.unlockafe-amm-featured__title {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
	color: #1f2937;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-featured__title {
	font-size: 18px;
	font-weight: 700;
	background: linear-gradient(90deg, #C129B5 0%, #db2777 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.unlockafe-amm-featured__subtitle {
	margin: 0 0 16px;
	font-size: 12px;
	color: #4b5563;
	line-height: 1.45;
}

/* Featured card: ref rounded-2xl shadow-xl aspect-[16/10], image full width/height */
.unlockafe-amm-featured__card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16/10;
	min-height: 180px;
	width: 100%;
	background: #f3f4f6;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.unlockafe-amm-featured__media--slider {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.unlockafe-amm-featured__media--slider .unlockafe-amm-featured__img {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.unlockafe-amm-featured__media--slider .unlockafe-amm-featured__img.is-active {
	opacity: 1;
}

.unlockafe-amm-featured__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.unlockafe-amm-featured__img--placeholder {
	background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #fce7f3 100%);
}

/* Featured submenu video (Layout 1 right panel) */
.unlockafe-amm-featured__media--video {
	position: absolute;
	inset: 0;
}

.unlockafe-amm-featured__media--video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Overlay: ref bottom-0 left-0 right-0 p-6 (24px) */
.unlockafe-amm-featured__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%, transparent 100%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	text-align: left;
	padding: 24px;
}

.unlockafe-amm-featured__overlay-title,
.unlockafe-amm-featured__overlay-desc {
	margin: 0;
	color: #fff;
}

/* Ref: h4 text-xl (20px) font-bold mb-2 (8px), p text-sm (14px) text-white/90 mb-4 (16px) */
.unlockafe-amm-featured__overlay-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 8px;
}

.unlockafe-amm-featured__overlay-desc {
	font-size: 14px;
	opacity: 0.9;
	margin: 0 0 16px 0;
}

.unlockafe-amm-featured__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 0;
	padding: 8px 16px;
	background: #fff;
	color: #9333ea;
	font-size: 14px;
	font-weight: 500;
	border-radius: 8px;
	text-decoration: none;
	align-self: flex-start;
	transition: background 0.2s, color 0.2s;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Layout 1: View Details – user color #C129B5 */
.unlockafe-amm-panel--blocks .unlockafe-amm-featured__btn {
	background: #fff;
	color: #C129B5;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-featured__btn,
.unlockafe-amm-panel--blocks .unlockafe-amm-featured__btn * {
	color: #C129B5;
}

.unlockafe-amm-featured__btn:hover {
	background: #f3f4f6;
	color: #C129B5;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-featured__btn:hover {
	background: #f9fafb;
	color: #C129B5;
}

/* CTA bar: ref mt-6 p-4 (16px padding all), full width; total height from content + 32px vertical padding */
.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__right .unlockafe-amm-cta {
	flex-shrink: 0;
	padding: 16px;
	width: 100%;
	box-sizing: border-box;
	min-height: 64px;
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
	border-radius: 12px;
	color: #fff;
	margin: 0 auto;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

/* CTA title: ref font-bold text-sm mb-0.5 (14px, 2px gap above description) */
.unlockafe-amm-panel--blocks .unlockafe-amm-cta__text {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 2px;
}

/* CTA description: ref text-xs text-purple-100 (12px, light purple) */
.unlockafe-amm-panel--blocks .unlockafe-amm-cta__subtext {
	font-size: 12px;
	color: #f3e8ff;
	margin: 0;
	line-height: 1.35;
}

/* Get Plugin button: user color #C129B5 */
.unlockafe-amm-panel--blocks .unlockafe-amm-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: #fff;
	color: #C129B5 !important;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
	line-height: 1.3;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	margin-left: auto;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-cta__btn,
.unlockafe-amm-panel--blocks .unlockafe-amm-cta__btn * {
	color: #C129B5 !important;
}

.unlockafe-amm-panel--blocks .unlockafe-amm-cta__btn:hover {
	background: #f9fafb;
	color: #C129B5 !important;
}

/* ——— Layout 2: Features (screenshot style – Discover Our Features, pills, hero + 2-col cards, CTA) ——— */
.unlockafe-amm-panel--features {
	width: min(1024px, 96vw);
	border-radius: 20px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.unlockafe-amm-panel--features .unlockafe-amm-panel__inner {
	padding: 24px 24px 0;
}

.unlockafe-amm-panel--features .unlockafe-amm-panel__header {
	margin-bottom: 20px;
	text-align: left;
}

.unlockafe-amm-panel--features .unlockafe-amm-panel__title {
	font-size: 1.75rem;
	font-weight: 800;
	color: #5b21b6;
	line-height: 1.2;
	margin: 0 0 4px;
}

.unlockafe-amm-panel--features .unlockafe-amm-panel__count {
	font-size: 14px;
	color: #6b7280;
	margin: 0 0 16px;
}

/* Category pills – Layout 2: horizontal pills, All Blocks with icon, active purple */
.unlockafe-amm-panel--features .unlockafe-amm-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 20px;
}

.unlockafe-amm-panel--features .unlockafe-amm-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
}

.unlockafe-amm-panel--features .unlockafe-amm-tab:hover {
	background: #f9fafb;
	border-color: #d1d5db;
	color: var(--amm-accent);
}

.unlockafe-amm-panel--features .unlockafe-amm-tab .unlockafe-amm-tab__icon {
	color: #6b7280;
}

.unlockafe-amm-panel--features .unlockafe-amm-tab.is-active {
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
	border-image: linear-gradient(90deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
	color: #fff;
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.unlockafe-amm-panel--features .unlockafe-amm-tab.is-active .unlockafe-amm-tab__icon {
	color: #fff;
}

.unlockafe-amm-panel--features .unlockafe-amm-tab__icon--all-blocks {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='9' height='9' fill='black'/%3E%3Crect x='13' y='2' width='9' height='9' fill='black'/%3E%3Crect x='2' y='13' width='9' height='9' fill='black'/%3E%3Crect x='13' y='13' width='9' height='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='9' height='9' fill='black'/%3E%3Crect x='13' y='2' width='9' height='9' fill='black'/%3E%3Crect x='2' y='13' width='9' height='9' fill='black'/%3E%3Crect x='13' y='13' width='9' height='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Scrollable card area */
.unlockafe-amm-panel--features .unlockafe-amm-panel__body {
	max-height: 480px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 6px;
	margin: 0 -6px 0 0;
}

.unlockafe-amm-panel--features .unlockafe-amm-panel__body::-webkit-scrollbar {
	width: 8px;
}

.unlockafe-amm-panel--features .unlockafe-amm-panel__body::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 4px;
}

.unlockafe-amm-panel--features .unlockafe-amm-panel__body::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #7c3aed 0%, #a855f7 100%);
	border-radius: 4px;
}

.unlockafe-amm-panel--features .unlockafe-amm-panel__body::-webkit-scrollbar-thumb:hover {
	background: #6d28d9;
}

.unlockafe-amm-features {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 24px;
	align-items: stretch;
	min-height: 320px;
}

/* Layout 2 Masonry variant: use full width (no left/right split) */
.unlockafe-amm-features.unlockafe-amm-features--masonry {
	display: block;
	min-height: 0;
}

/* Layout 2 screenshot: first card large (left), other cards stacked vertically (right) */
.unlockafe-amm-features.unlockafe-amm-features--hero-right {
	grid-template-columns: 1.55fr 1fr;
	gap: 20px;
	align-items: stretch;
	min-height: 380px;
}

.unlockafe-amm-features--hero-right .unlockafe-amm-features__hero {
	min-height: 0;
	display: flex;
	align-items: stretch;
}

.unlockafe-amm-features--hero-right .unlockafe-amm-features__hero .unlockafe-amm-card {
	flex: 1;
	min-height: 100%;
}

.unlockafe-amm-features--hero-right .unlockafe-amm-features__right {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 0;
	overflow-y: auto;
}

.unlockafe-amm-features--hero-right .unlockafe-amm-features__right .unlockafe-amm-card {
	flex-shrink: 0;
}

/* Same category same row: flexbox – card 1 full height left, cards 2+ right (50%/50% or 33%/33%/33%) */
.unlockafe-amm-features.unlockafe-amm-features--by-row {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-height: 0;
}

.unlockafe-amm-features__row.is-hidden {
	display: none !important;
}

/* Flexbox row: left = 1 card full height, right = remaining cards equal height */
.unlockafe-amm-features__row.unlockafe-amm-features__row--flexbox {
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: stretch;
	min-height: 320px;
	grid-template-columns: none;
}

.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-left {
	flex: 0 0 52%;
	min-width: 0;
	display: flex;
	align-items: stretch;
}

.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-left .unlockafe-amm-card {
	width: 100%;
	height: 100%;
	min-height: 100%;
}

.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right .unlockafe-amm-card {
	flex: 1;
	min-height: 0;
}

.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right .unlockafe-amm-card .unlockafe-amm-card__link {
	height: 100%;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right .unlockafe-amm-card .unlockafe-amm-card__media-wrap {
	flex: 1;
	min-height: 80px;
}

.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right .unlockafe-amm-card .unlockafe-amm-card__content {
	flex-shrink: 0;
}

.unlockafe-amm-features__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	align-items: stretch;
}

.unlockafe-amm-features__hero {
	min-height: 0;
	display: flex;
}

.unlockafe-amm-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: #f9fafb;
	transition: transform var(--amm-duration);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.unlockafe-amm-card__link {
	display: block;
	position: relative;
	text-decoration: none;
	color: var(--amm-text);
	height: 100%;
	min-height: 140px;
}

.unlockafe-amm-card__link:hover {
	color: var(--amm-accent);
}

/* Hero card: full-bleed image (left), fills column height */
.unlockafe-amm-card--hero {
	min-height: 280px;
	flex: 1;
}

.unlockafe-amm-features--hero-right .unlockafe-amm-features__hero .unlockafe-amm-card--hero {
	min-height: 100%;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__link {
	padding: 0;
	min-height: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__media-wrap {
	position: relative;
	flex: 1;
	min-height: 200px;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__img,
.unlockafe-amm-card--hero .unlockafe-amm-card__media--video {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__img {
	background-size: cover;
	background-position: center;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__content {
	padding: 18px 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
	color: #fff;
	flex-shrink: 0;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__title {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__desc {
	color: rgba(255,255,255,0.9);
	font-size: 13px;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__img--placeholder {
	background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 40%, #7c3aed 100%);
}

/* Layout 2: submenu video in card */
.unlockafe-amm-card__media--video {
	position: relative;
	overflow: hidden;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__media--video {
	position: absolute;
	inset: 0;
}

.unlockafe-amm-card__media--video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.unlockafe-amm-card--small .unlockafe-amm-card__media--video {
	width: 100%;
	padding-bottom: 72%;
	height: 0;
	flex-shrink: 0;
}

.unlockafe-amm-card--small .unlockafe-amm-card__media--video video {
	position: absolute;
	inset: 0;
}

.unlockafe-amm-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.2);
}

.unlockafe-amm-card__play::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 14px solid rgba(255, 255, 255, 0.95);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	margin-left: 4px;
}

.unlockafe-amm-card--small .unlockafe-amm-card__play::after {
	border-left-width: 10px;
	border-top-width: 7px;
	border-bottom-width: 7px;
}

.unlockafe-amm-card--hero .unlockafe-amm-card__title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-weight: 700;
	font-size: 1.15rem;
	text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Hero card: NEW badge at bottom-left (screenshot style) */
.unlockafe-amm-card--hero .unlockafe-amm-card__badge {
	top: auto;
	right: auto;
	bottom: 16px;
	left: 16px;
	padding: 4px 10px;
	font-size: 11px;
	border-radius: 6px;
	background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
	box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

/* Small cards: image top, title below */
.unlockafe-amm-card--small {
	min-height: 140px;
	flex-shrink: 0;
}

.unlockafe-amm-card--small .unlockafe-amm-card__link {
	flex-direction: column;
	padding: 0;
	min-height: 0;
	display: flex;
}

.unlockafe-amm-card--small .unlockafe-amm-card__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	flex-shrink: 0;
}

.unlockafe-amm-card--small .unlockafe-amm-card__img--placeholder {
	display: block;
	width: 100%;
	padding-bottom: 72%;
	height: 0;
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.unlockafe-amm-card--small .unlockafe-amm-card__title {
	margin: 0;
	padding: 0;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	color: var(--amm-text);
}

.unlockafe-amm-card--small .unlockafe-amm-card__link:hover .unlockafe-amm-card__title {
	color: var(--amm-accent);
}

/* Media wrap: keeps NEW badge only over image/video, never over text */
.unlockafe-amm-card__media-wrap {
	position: relative;
	display: block;
	flex-shrink: 0;
}

.unlockafe-amm-card__icon-overlay {
	position: absolute;
	left: 16px;
	bottom: 16px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--amm-accent);
	font-size: 20px;
}

.unlockafe-amm-card__icon-overlay svg {
	width: 1em;
	height: 1em;
}

.unlockafe-amm-card__badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 6px;
	z-index: 2;
	line-height: 1.2;
	box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35);
}

/* Layout 2: NEW badge stays top-right of image only (no overlap with title/description) */
.unlockafe-amm-panel--features .unlockafe-amm-card--small .unlockafe-amm-card__badge {
	top: 45px;
	left: 15px;
	right: auto;
}

/* Card content: title + description below media */
.unlockafe-amm-card__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	flex: 1;
	min-width: 0;
}

.unlockafe-amm-card__title {
	margin: 0;
}

.unlockafe-amm-card__desc {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	color: var(--amm-text-muted);
	margin: 0;
}

/* Layout 2: 2 columns for small cards (screenshot style) */
.unlockafe-amm-features__grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.unlockafe-amm-panel--features .unlockafe-amm-features__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	align-content: start;
}

/* ——— Layout 3: Solutions (screenshot style – Enterprise Solutions, pills, 3-col cards, CTA) ——— */
.unlockafe-amm-panel--solutions {
	width: min(1024px, 96vw);
	border-radius: 1rem;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.unlockafe-amm-panel--solutions .unlockafe-amm-panel__inner {
	padding: 24px 24px 0;
}

/* Layout 3: scrollable submenu (solution cards) area */
.unlockafe-amm-panel--solutions .unlockafe-amm-panel__body {
	max-height: 480px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 6px;
	margin: 0 -6px 0 0;
	padding-bottom: 20px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-panel__body::-webkit-scrollbar {
	width: 8px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-panel__body::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 4px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-panel__body::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #7c3aed 0%, #a855f7 100%);
	border-radius: 4px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-panel__body::-webkit-scrollbar-thumb:hover {
	background: #6d28d9;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-panel__header {
	margin-bottom: 20px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-panel__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #7b00ff;
	margin-bottom: 4px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-panel__count {
	font-size: 14px;
	color: #6c757d;
	margin: 0 0 16px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-tabs {
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-tab {
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-tab:hover {
	background: #f9fafb;
	border-color: #d1d5db;
	color: var(--amm-accent);
}

.unlockafe-amm-panel--solutions .unlockafe-amm-tab.is-active {
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.unlockafe-amm-panel--solutions .unlockafe-amm-tab.is-active .unlockafe-amm-tab__icon {
	color: #fff;
}

.unlockafe-amm-tab__icon--all-solutions {
	width: 16px;
	height: 16px;
	display: inline-block;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='9' height='9' fill='black'/%3E%3Crect x='13' y='2' width='9' height='9' fill='black'/%3E%3Crect x='2' y='13' width='9' height='9' fill='black'/%3E%3Crect x='13' y='13' width='9' height='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='9' height='9' fill='black'/%3E%3Crect x='13' y='2' width='9' height='9' fill='black'/%3E%3Crect x='2' y='13' width='9' height='9' fill='black'/%3E%3Crect x='13' y='13' width='9' height='9' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}

.unlockafe-amm-solutions__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* ——— Layout 4: Posts (card grid, user controls columns) ——— */
.unlockafe-amm-panel--posts {
	width: min(1024px, 96vw);
	border-radius: 1rem;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.unlockafe-amm-panel--posts .unlockafe-amm-panel__inner {
	padding: 24px 24px 0;
}

.unlockafe-amm-panel--posts .unlockafe-amm-panel__body {
	max-height: 480px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 6px;
	margin: 0 -6px 0 0;
}

.unlockafe-amm-panel--posts .unlockafe-amm-panel__body::-webkit-scrollbar {
	width: 8px;
}

.unlockafe-amm-panel--posts .unlockafe-amm-panel__body::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 4px;
}

.unlockafe-amm-panel--posts .unlockafe-amm-panel__body::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #7c3aed 0%, #a855f7 100%);
	border-radius: 4px;
}

/* Scroll buttons for Layout 4 & 5 */
.unlockafe-amm-panel__body-outer {
	position: relative;
}

.unlockafe-amm-scroll-btn {
	position: absolute;
	right: 4px;
	width: 28px;
	height: 28px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #6d28d9;
	font-size: 14px;
	line-height: 1;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	z-index: 2;
}

.unlockafe-amm-scroll-btn:hover {
	background: #7c3aed;
	color: #fff;
	border-color: #7c3aed;
}

.unlockafe-amm-scroll-btn--up {
	top: 8px;
}

.unlockafe-amm-scroll-btn--down {
	bottom: 8px;
}

.unlockafe-amm-scroll-btn.is-disabled {
	opacity: 0.4;
	pointer-events: none;
	cursor: default;
}

.unlockafe-amm-posts__grid,
.unlockafe-amm-pages__grid {
	display: grid;
	gap: 20px;
}

/* ——— Layout 5: Pages (card grid, user controls columns) ——— */
.unlockafe-amm-panel--pages {
	width: min(1024px, 96vw);
	border-radius: 1rem;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.unlockafe-amm-panel--pages .unlockafe-amm-panel__inner {
	padding: 24px 24px 0;
}

.unlockafe-amm-panel--pages .unlockafe-amm-panel__body {
	max-height: 480px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 6px;
	margin: 0 -6px 0 0;
}

.unlockafe-amm-panel--pages .unlockafe-amm-panel__body::-webkit-scrollbar {
	width: 8px;
}

.unlockafe-amm-panel--pages .unlockafe-amm-panel__body::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 4px;
}

.unlockafe-amm-panel--pages .unlockafe-amm-panel__body::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #7c3aed 0%, #a855f7 100%);
	border-radius: 4px;
}

.unlockafe-amm-sol-card {
	border-radius: 1rem;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: box-shadow var(--amm-duration), transform var(--amm-duration);
}

.unlockafe-amm-sol-card:hover {
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.unlockafe-amm-sol-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.unlockafe-amm-sol-card__img-wrap {
	position: relative;
	padding-bottom: 58%;
	height: 0;
	overflow: hidden;
}

.unlockafe-amm-sol-card__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #e0e7ff;
}

.unlockafe-amm-sol-card__img--placeholder {
	background: linear-gradient(135deg, #c7d2fe 0%, #e0e7ff 50%, #fbcfe8 100%);
}

/* Layout 3: submenu video in solution card */
.unlockafe-amm-sol-card__media--video {
	position: absolute;
	inset: 0;
}

.unlockafe-amm-sol-card__media--video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.unlockafe-amm-sol-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.2);
}

.unlockafe-amm-sol-card__play::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 14px solid rgba(255, 255, 255, 0.95);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	margin-left: 4px;
}

.unlockafe-amm-sol-card__icon-overlay {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--amm-accent);
	font-size: 20px;
}

.unlockafe-amm-sol-card__icon-overlay svg {
	width: 1em;
	height: 1em;
}

.unlockafe-amm-sol-card__content {
	padding: 18px 20px;
}

.unlockafe-amm-sol-card__title {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.3;
}

.unlockafe-amm-sol-card__desc {
	margin: 0 0 12px;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.45;
}

.unlockafe-amm-sol-card__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	padding: 5px 12px;
	border-radius: 10px;
	height: 20px;
	line-height: 1.1;
}

.unlockafe-amm-sol-card__tag-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	flex-shrink: 0;
}

/* ——— Layout 6: Cards (submenu items as simple card grid) ——— */
.unlockafe-amm-panel--cards {
	width: min(1024px, 96vw);
	border-radius: 1rem;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.unlockafe-amm-cards__grid {
	display: grid;
	gap: 20px;
}

/* Layout 2: Features panel – 2 columns so 2 items show side by side; masonry fallback for other contexts */
.unlockafe-amm-features--masonry .unlockafe-amm-features__grid {
	display: block;
	column-count: 2;
	column-gap: 20px;
}

/* Features panel: use grid so category items (e.g. 2 items) always appear side by side */
.unlockafe-amm-panel--features .unlockafe-amm-features--masonry .unlockafe-amm-features__grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	column-count: unset;
	gap: 16px;
	align-content: start;
}

.unlockafe-amm-panel--features .unlockafe-amm-features--masonry .unlockafe-amm-card {
	break-inside: unset;
	display: block;
	width: 100%;
	margin: 0;
}

.unlockafe-amm-features--masonry .unlockafe-amm-card {
	break-inside: avoid;
	display: inline-block;
	width: 100%;
	margin: 0 0 20px;
}

@media (max-width: 767px) {
	.unlockafe-amm-features--masonry .unlockafe-amm-features__grid {
		column-count: 1;
	}
}

/* Layout 3 CTA – gradient bar, lightning icon, Book a Demo */
.unlockafe-amm-panel--solutions .unlockafe-amm-cta {
	margin: 24px -24px 0;
	padding: 20px 24px;
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
	border-radius: 0 0 1rem 1rem;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-cta__inner {
	gap: 16px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-cta__text {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.1rem;
	font-weight: 700;
	position: relative;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-cta__text::before {
	content: "";
	display: inline-block;
	width: 25px;
	height: 25px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E") center/contain no-repeat;
	flex-shrink: 0;
	position: absolute;
	left: -30px;
	bottom: -10px;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-cta__btn {
	background: #fff;
	color: #6d28d9 !important;
	padding: 10px 22px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.unlockafe-amm-panel--solutions .unlockafe-amm-cta__btn:hover {
	background: #f9fafb;
	color: #5b21b6 !important;
}

/* Layout 4 & 5: CTA same as Layout 3, button text always visible */
.unlockafe-amm-panel--posts .unlockafe-amm-cta,
.unlockafe-amm-panel--pages .unlockafe-amm-cta {
	margin: 24px -24px 0;
	padding: 20px 24px;
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
	border-radius: 0 0 1rem 1rem;
}

.unlockafe-amm-panel--posts .unlockafe-amm-cta__btn,
.unlockafe-amm-panel--pages .unlockafe-amm-cta__btn {
	background: #fff;
	color: #6d28d9 !important;
	padding: 10px 22px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.unlockafe-amm-panel--posts .unlockafe-amm-cta__btn:hover,
.unlockafe-amm-panel--pages .unlockafe-amm-cta__btn:hover {
	background: #f9fafb;
	color: #5b21b6 !important;
}

/* CTA bar */
.unlockafe-amm-cta {
	background: var(--amm-cta-gradient);
	color: #fff;
	margin: 0 -24px;
	padding: 16px 24px;
	margin-top: 16px;
}

.unlockafe-amm-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.unlockafe-amm-cta__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.unlockafe-amm-cta__copy-inner {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 30px;
}

.unlockafe-amm-cta__text {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.unlockafe-amm-cta__subtext {
	margin: 0;
	font-size: 13px;
	opacity: 0.95;
}

.unlockafe-amm-cta__btn {
	display: inline-block;
	padding: 10px 20px;
	background: #fff;
	color: var(--amm-accent);
	font-size: 14px;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none;
	transition: opacity var(--amm-duration);
}

.unlockafe-amm-cta__btn:hover {
	opacity: 0.95;
	color: var(--amm-accent);
}

/* Layout 2 CTA: full-width gradient bar, screenshot style */
.unlockafe-amm-panel--features .unlockafe-amm-cta {
	margin: 20px -24px 0;
	padding: 18px 24px;
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 40%, #ec4899 100%);
	border-radius: 0 0 20px 20px;
}

.unlockafe-amm-panel--features .unlockafe-amm-cta__inner {
	gap: 16px;
}

.unlockafe-amm-panel--features .unlockafe-amm-cta__copy {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
}

.unlockafe-amm-panel--features .unlockafe-amm-cta__copy::before {
	content: "";
	display: inline;
	width: 25px;
	height: 25px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E") center/contain no-repeat;
	position: absolute;
	left: 0px;
	bottom: 10px;
}

.unlockafe-amm-panel--features .unlockafe-amm-cta__copy-inner {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 40px;
}

.unlockafe-amm-panel--features .unlockafe-amm-cta__text {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0;
}

.unlockafe-amm-panel--features .unlockafe-amm-cta__subtext {
	margin: 0;
	font-size: 13px;
	opacity: 0.95;
}

/* Layout 2 CTA button: light pink-purple gradient (screenshot style) */
.unlockafe-amm-panel--features .unlockafe-amm-cta__btn {
	background: linear-gradient(135deg, #e9d5ff 0%, #fce7f3 100%);
	color: #6d28d9;
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.unlockafe-amm-panel--features .unlockafe-amm-cta__btn:hover {
	background: linear-gradient(135deg, #ddd6fe 0%, #fbcfe8 100%);
	color: #5b21b6;
}

/* Category filter: JS sets .unlockafe-amm-panel__body[data-filter="category_id"] and toggles .is-hidden on items */
.unlockafe-amm-item.is-hidden,
.unlockafe-amm-card.is-hidden,
.unlockafe-amm-sol-card.is-hidden {
	display: none !important;
}

/* Desktop: Layout 1 – 4 pills per row; flex row so left/right same height, View All & CTA align */
@media (min-width: 1025px) {
	.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-panel__body {
		display: flex !important;
		flex-direction: column !important;
		flex: 1 1 0% !important;
		min-height: 0;
		overflow: hidden;
	}
	.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-blocks {
		display: flex !important;
		flex-direction: row !important;
		flex: 1 1 0% !important;
		min-height: 0;
		height: 100%;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left {
		flex: 0 0 40%;
		min-width: 0;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__right {
		flex: 1 1 0%;
		min-width: 0;
	}
	.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-tabs {
		grid-template-columns: repeat(3, 1fr) !important;
	}
	.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-list {
		grid-template-columns: 1fr !important;
	}
}

/* Responsive: tablet and below – Layout 1: submenu detail in BOTTOM section (not right) */
@media (max-width: 1024px) {
	.unlockafe-amm-panel {
		width: min(720px, 94vw);
	}
	.unlockafe-amm-blocks {
		display: grid !important;
		grid-template-columns: 1fr !important;
		grid-template-rows: auto minmax(120px, auto) !important;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left {
		grid-column: 1;
		grid-row: 1;
		border-right: none;
		border-bottom: 1px solid #e5e7eb;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__right {
		grid-column: 1;
		grid-row: 2;
		position: static !important;
		display: block !important;
		visibility: visible !important;
		width: 100%;
		max-width: 100%;
	}
	.unlockafe-amm-features {
		grid-template-columns: 1fr;
	}
	/* Layout 2: keep 2 columns on tablet so 2 items stay side by side; single column only on smaller breakpoints */
	.unlockafe-amm-panel--features .unlockafe-amm-features__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.unlockafe-amm-features__row {
		grid-template-columns: 1fr !important;
	}
	.unlockafe-amm-features__row--flexbox {
		flex-direction: column;
		min-height: 0;
	}
	.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-left {
		flex: none;
		min-height: 260px;
	}
	.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right {
		flex: none;
		min-height: 0;
	}
	.unlockafe-amm-solutions__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	/* Layout 2: stack hero on top, cards below */
	.unlockafe-amm-features.unlockafe-amm-features--hero-right {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 16px;
	}
	.unlockafe-amm-features--hero-right .unlockafe-amm-features__hero .unlockafe-amm-card--hero {
		min-height: 220px;
	}
	.unlockafe-amm-features--hero-right .unlockafe-amm-features__right {
		overflow-y: visible;
	}
}

@media (max-width: 767px) {
	.unlockafe-amm__inner {
		flex-direction: row;
		align-items: center;
		gap: 8px;
		overflow: visible;
	}
	.unlockafe-amm-logo {
		margin-bottom: 0;
	}
	.unlockafe-amm-toggle {
		display: inline-flex;
		flex-shrink: 0;
	}
	.unlockafe-amm-nav {
		display: none;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		margin-top: 8px;
	}
	.unlockafe-amm.unlockafe-amm--mobile-open .unlockafe-amm-nav {
		display: flex;
	}
	.unlockafe-amm-btn {
		margin-left: auto !important;
	}
	.unlockafe-amm-panel {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		transform: translateY(-8px);
		overflow-x: hidden;
		box-sizing: border-box;
	}
	.unlockafe-amm-nav__item.is-open .unlockafe-amm-panel {
		transform: translateY(0);
	}
	.unlockafe-amm-solutions__grid {
		grid-template-columns: 1fr;
	}

	/* Layout 2 (Features): small device – horizontal scroll for left/right cards */
	.unlockafe-amm-panel--features {
		width: 100%;
		max-width: 100%;
		border-radius: 16px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-features__grid {
		grid-template-columns: 1fr !important;
		gap: 12px;
		overflow: visible;
	}
	.unlockafe-amm-features__row {
		display: flex !important;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		gap: 12px;
		grid-template-columns: unset;
		padding-bottom: 8px;
		margin: 0 -16px;
		padding-left: 16px;
		padding-right: 16px;
	}
	.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-left {
		flex: 0 0 260px;
		min-width: 260px;
	}
	.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right {
		display: flex;
		flex-wrap: nowrap;
		flex: 0 0 auto;
		min-width: 0;
		gap: 12px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-features__row .unlockafe-amm-card {
		flex: 0 0 260px;
		min-width: 260px;
		max-width: none;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-features__row::-webkit-scrollbar {
		height: 6px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-features__row::-webkit-scrollbar-thumb {
		background: rgba(124, 58, 237, 0.4);
		border-radius: 3px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-panel__inner {
		padding: 16px 12px 0;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-panel__title {
		font-size: 1.35rem;
		line-height: 1.25;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-panel__count {
		font-size: 13px;
		margin-bottom: 12px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-tabs {
		gap: 8px;
		margin-bottom: 14px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-tab {
		padding: 8px 12px;
		font-size: 12px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-panel__body {
		max-height: min(65vh, 420px);
		padding-right: 12px;
		padding-bottom: 16px;
		overflow-x: hidden;
	}
	.unlockafe-amm-features.unlockafe-amm-features--hero-right {
		gap: 12px;
	}
	.unlockafe-amm-features--hero-right .unlockafe-amm-features__hero .unlockafe-amm-card--hero {
		min-height: 180px;
	}
	.unlockafe-amm-features--hero-right .unlockafe-amm-features__hero .unlockafe-amm-card__media-wrap {
		min-height: 140px;
	}
	/* Layout 2 card: full responsive – no internal scroll, text wraps, no cut-off */
	.unlockafe-amm-panel--features .unlockafe-amm-card {
		max-width: 100%;
		min-width: 0;
		overflow: visible;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card__link {
		min-height: 0;
		overflow: visible;
		max-width: 100%;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card__content {
		min-width: 0;
		max-width: 100%;
		overflow: visible;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card__title,
	.unlockafe-amm-panel--features .unlockafe-amm-card__desc {
		word-wrap: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		max-width: 100%;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card--small {
		min-height: 0;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card--small .unlockafe-amm-card__title {
		font-size: 13px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card__desc {
		font-size: 12px;
		line-height: 1.35;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-cta {
		margin: 16px -12px 0;
		padding: 14px 12px;
		border-radius: 0 0 16px 16px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-cta__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		gap: 12px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-cta__copy {
		justify-content: center;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-cta__text {
		font-size: 0.95rem;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-cta__subtext {
		font-size: 12px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-cta__btn {
		display: block;
		text-align: center;
		padding: 10px 16px;
	}

	/* Layout 1 (Blocks): full responsive – height auto so content scrolls */
	.unlockafe-amm-panel--blocks {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: 82vh !important;
		border-radius: 16px;
		overflow-x: hidden;
		box-sizing: border-box;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-panel__inner,
	.unlockafe-amm-panel--blocks .unlockafe-amm-panel__body {
		max-width: 100%;
		min-width: 0;
		overflow-x: hidden;
	}
	/* Category section scroll: so user can scroll to see submenu detail at bottom; padding-bottom so last of blocks__right is visible */
	.unlockafe-amm-panel--blocks .unlockafe-amm-panel__body {
		padding-right: 12px;
		padding-bottom: 32px;
		max-height: 82vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-panel__body::-webkit-scrollbar {
		width: 6px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-panel__body::-webkit-scrollbar-thumb {
		background: rgba(124, 58, 237, 0.4);
		border-radius: 3px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks {
		display: grid !important;
		min-width: 0;
		overflow-x: visible;
		grid-template-columns: 1fr !important;
		grid-template-rows: auto minmax(120px, auto) !important;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left {
		padding: 16px 12px 16px 16px;
		min-height: 160px;
		min-width: 0;
		max-width: 100%;
		overflow-x: visible;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__heading {
		font-size: 1rem;
		margin-bottom: 8px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	/* Tablet: 3 category pills per row */
	.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-tabs,
	.unlockafe-amm-panel--blocks .unlockafe-amm-tabs,
	.unlockafe-amm-tabs--blocks {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 8px;
		margin-bottom: 10px;
		min-width: 0;
		max-width: 100%;
		width: 100%;
		overflow-x: hidden;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-tab {
		padding: 8px 10px;
		font-size: 12px;
		min-width: 0;
		max-width: 100%;
		white-space: normal;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left {
		overflow-x: visible;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-list {
		grid-template-columns: 1fr !important;
		max-height: 180px;
		gap: 8px;
		padding-right: 0;
		min-width: 0;
		overflow-x: visible;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item--row {
		min-width: 0;
		overflow: visible;
	}
	/* NEW badge + arrow fully visible: extra right padding, no clipping */
	.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link {
		padding: 10px 80px 20px 10px;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link::after {
		right: 14px !important;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__badge {
		right: 38px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__title,
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__desc {
		word-wrap: break-word;
		overflow-wrap: break-word;
		min-width: 0;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__title {
		font-size: 12px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__desc {
		font-size: 11px;
	}
	/* Submenu detail in BOTTOM section on small device – full width, always visible */
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__right {
		grid-column: 1 !important;
		grid-row: 2 !important;
		position: static !important;
		display: block !important;
		visibility: visible !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 16px 16px 16px 20px;
		min-width: 0;
		overflow-x: hidden;
		min-height: 120px;
		border-top: 1px solid #e5e7eb;
		background: #fff;
		scroll-margin-top: 8px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured {
		width: 100%;
		max-width: 100%;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__card {
		width: 100%;
		max-width: 100%;
		aspect-ratio: 16/10;
		min-height: 160px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__img,
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__media--video video {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__title,
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__subtitle {
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__title {
		font-size: 1.1rem;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__subtitle {
		font-size: 12px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-cta {
		margin: 24px 0 0;
		padding: 14px 16px;
		border-radius: 0 0 16px 16px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-cta__text {
		font-size: 0.95rem;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-cta__subtext {
		font-size: 12px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-cta__btn {
		padding: 8px 16px;
		font-size: 13px;
		min-height: 40px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-view-all {
		padding: 10px 14px;
		font-size: 13px;
	}
}

/* Very small devices (e.g. 320px): Layout 1 – all categories + submenu + details visible, no overflow */
@media (max-width: 480px) {
	/* Layout 1 (Blocks): 1 category per row; height auto on small screens */
	.unlockafe-amm-panel--blocks {
		width: 100% !important;
		max-width: 100vw !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: 82vh !important;
		border-radius: 12px;
		overflow-x: hidden;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-panel__inner,
	.unlockafe-amm-panel--blocks .unlockafe-amm-panel__body {
		max-width: 100%;
		min-width: 0;
		overflow-x: hidden;
	}
	/* Allow badge/arrow to show: don’t clip list area on 320px */
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left {
		overflow-x: visible;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-panel__body {
		padding-right: 28px;
		padding-bottom: 32px;
		max-height: 82vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks {
		display: grid !important;
		min-width: 0;
		max-width: 100%;
		overflow-x: visible;
		grid-template-columns: 1fr !important;
		grid-template-rows: auto minmax(140px, auto) !important;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__right {
		min-width: 0;
		max-width: 100%;
		overflow-x: hidden;
		grid-column: 1 !important;
		grid-row: 2 !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left {
		grid-column: 1 !important;
		grid-row: 1 !important;
		padding: 12px 24px 12px 12px;
		min-height: 140px;
		min-width: 0;
		max-width: 100%;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__heading {
		font-size: 0.95rem;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	/* Small device (320px): 1 category per row so full text fits */
	.unlockafe-amm-panel.unlockafe-amm-panel--blocks .unlockafe-amm-tabs,
	.unlockafe-amm-panel--blocks .unlockafe-amm-tabs,
	.unlockafe-amm-tabs--blocks {
		grid-template-columns: 1fr !important;
		gap: 6px;
		margin-bottom: 8px;
		min-width: 0;
		max-width: 100%;
		width: 100%;
		overflow-x: hidden;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-tab {
		padding: 8px 10px;
		font-size: 11px;
		min-width: 0;
		max-width: 100%;
		white-space: normal;
		word-wrap: break-word;
		overflow-wrap: break-word;
		text-overflow: unset;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__left {
		overflow-x: visible;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-list {
		grid-template-columns: 1fr !important;
		max-height: 160px;
		gap: 6px;
		min-width: 0;
		padding-right: 0;
		overflow-x: visible;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item--row {
		min-width: 0;
		overflow: visible;
	}
	/* 320px: NEW badge + arrow fully visible – extra padding, badge/arrow well inside */
	.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link {
		padding: 8px 48px 16px 8px;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item--row .unlockafe-amm-item__link::after {
		right: 10px !important;
		opacity: 1 !important;
		visibility: visible !important;
		content: "→" !important;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__badge {
		right: 32px;
		font-size: 9px;
		padding: 2px 6px;
		opacity: 1 !important;
		visibility: visible !important;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__title,
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__desc {
		min-width: 0;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__title {
		font-size: 11px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__desc {
		font-size: 10px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__icon,
	.unlockafe-amm-panel--blocks .unlockafe-amm-item__thumb {
		width: 24px;
		height: 24px;
		font-size: 14px;
		flex-shrink: 0;
	}
	/* Submenu detail in BOTTOM section – full width, always visible (320px); extra bottom space so scroll reaches end */
	.unlockafe-amm-panel--blocks .unlockafe-amm-blocks__right {
		grid-column: 1 !important;
		grid-row: 2 !important;
		position: static !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 12px 12px 24px 16px;
		min-height: 140px;
		border-top: 2px solid #e5e7eb;
		background: #fff;
		scroll-margin-top: 8px;
		scroll-margin-bottom: 24px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured {
		width: 100%;
		max-width: 100%;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__card {
		width: 100%;
		max-width: 100%;
		min-height: 140px;
		aspect-ratio: 16/10;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__img,
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__media--video video {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__title {
		font-size: 1rem;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-featured__subtitle {
		font-size: 11px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-cta {
		margin: 20px 0 0;
		padding: 12px 12px;
		border-radius: 0 0 12px 12px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-cta__text {
		font-size: 0.9rem;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-cta__subtext {
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-cta__btn {
		padding: 8px 14px;
		font-size: 12px;
		min-height: 36px;
	}
	.unlockafe-amm-panel--blocks .unlockafe-amm-view-all {
		padding: 8px 12px;
		font-size: 12px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	/* Layout 2: horizontal scroll for cards (same as 768px) */
	.unlockafe-amm-panel--features .unlockafe-amm-panel__inner {
		padding: 12px 10px 0;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-panel__title {
		font-size: 1.2rem;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-features__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.unlockafe-amm-features__row {
		display: flex !important;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		gap: 12px;
		grid-template-columns: unset;
		padding-bottom: 8px;
		margin: 0 -12px;
		padding-left: 12px;
		padding-right: 12px;
	}
	.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-left {
		flex: 0 0 260px;
		min-width: 260px;
	}
	.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right {
		display: flex;
		flex-wrap: nowrap;
		flex: 0 0 auto;
		min-width: 0;
		gap: 12px;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-features__row .unlockafe-amm-card {
		flex: 0 0 260px;
		min-width: 260px;
		max-width: none;
	}
	.unlockafe-amm-features__row--flexbox .unlockafe-amm-features__row-right .unlockafe-amm-card {
		min-height: 120px;
	}
	.unlockafe-amm-features--hero-right .unlockafe-amm-features__hero .unlockafe-amm-card--hero {
		min-height: 160px;
	}
	/* Layout 2 card full responsive (320px): no overflow, text wraps, content visible */
	.unlockafe-amm-panel--features .unlockafe-amm-card {
		max-width: 100%;
		min-width: 0;
		overflow: visible;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card__link {
		min-height: 0;
		overflow: visible;
		max-width: 100%;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card__content {
		min-width: 0;
		max-width: 100%;
		overflow: visible;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card__title,
	.unlockafe-amm-panel--features .unlockafe-amm-card__desc {
		word-wrap: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		max-width: 100%;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-card--small {
		min-height: 0;
	}
	.unlockafe-amm-panel--features .unlockafe-amm-cta {
		margin: 12px -10px 0;
		padding: 12px 10px;
		border-radius: 0 0 12px 12px;
	}
}

/* Layout 1 (Blocks): force 3 category pills per row – at end of file so it wins (except 320px) */
.unlockafe-amm-blocks__left .unlockafe-amm-tabs--blocks,
.unlockafe-amm-panel--blocks .unlockafe-amm-tabs--blocks {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
}
