/* ==========================================================================
   Royal Features Widget — 10 Distinct Visual Styles
   ========================================================================== */

/* ── Base Container & Background Layers ─────────────────────────────────── */
.royalfeatures {
	--rf-accent: #4f46e5;
	--rf-accent-2: #7c3aed;
	position: relative;
	overflow: hidden;
	padding: 44px 32px;
	border-radius: 16px;
	background-color: #f8fafc;
	box-sizing: border-box;
}

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

.royalfeatures-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.royalfeatures-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(15, 23, 42, 0.52);
	z-index: 1;
	pointer-events: none;
}

.royalfeaturecol {
	position: relative;
	z-index: 2;
	width: 100%;
}

/* ── Header Defaults ────────────────────────────────────────────────────── */
.royalfeatures .rf-header {
	margin-bottom: 32px;
}

.royalfeatures .single-feature h6 {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 10px 0;
	color: var(--rf-accent, #4f46e5);
	line-height: 1.4;
}

.royalfeatures .single-feature h4 {
	position: relative;
	font-size: 30px;
	font-weight: 800;
	margin: 0 0 18px 0;
	padding-bottom: 14px;
	line-height: 1.25;
	color: #0f172a;
}

.royalfeatures .single-feature h4::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 54px;
	height: 3px;
	border-radius: 999px;
	background-color: var(--rf-accent, #4f46e5);
	transition: width 0.3s ease;
}

.royalfeatures .single-feature .royal-features-desc {
	font-size: 15px;
	line-height: 1.65;
	color: #64748b;
	margin: 0;
	max-width: 640px;
}

/* Ensure header readability when a background photo is applied */
.royalfeatures.has-bg-image .rf-header h6 {
	color: #e0e7ff;
}

.royalfeatures.has-bg-image .rf-header h4 {
	color: #ffffff;
}

.royalfeatures.has-bg-image .rf-header .royal-features-desc {
	color: rgba(255, 255, 255, 0.86);
}

/* ── Grid System (Overrides any theme Bootstrap .row / .col-xl-6) ───────── */
.royalfeatures .single-feature .rf-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
}

.royalfeatures .single-feature .rf-grid::before,
.royalfeatures .single-feature .rf-grid::after {
	display: none;
}

.royalfeatures .single-feature .rf-grid > .col-xl-6 {
	flex: none;
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

/* ── Base Card & Icon ───────────────────────────────────────────────────── */
.royalfeatures .feature-box {
	position: relative;
	height: 100%;
	background: #ffffff;
	padding: 26px 22px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
	transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease, border-color 0.32s ease, background-color 0.32s ease;
}

.royalfeatures .feature-box .rf-num {
	display: none;
	user-select: none;
}

.royalfeatures .feature-box .rf-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: rgba(79, 70, 229, 0.1);
	background: color-mix(in srgb, var(--rf-accent, #4f46e5) 12%, transparent);
	color: var(--rf-accent, #4f46e5);
	margin-bottom: 16px;
	flex-shrink: 0;
	transition: transform 0.32s ease, background 0.32s ease, color 0.32s ease, box-shadow 0.32s ease;
}

.royalfeatures .feature-box .rf-icon i {
	font-size: 24px;
	line-height: 1;
	color: inherit;
	transition: transform 0.32s ease, color 0.32s ease;
}

.royalfeatures .feature-box .rf-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
	color: inherit;
	transition: transform 0.32s ease, fill 0.32s ease;
}

.royalfeatures .feature-box .rf-body {
	min-width: 0;
}

.royalfeatures .feature-box h5 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: #0f172a;
	line-height: 1.35;
}

.royalfeatures .feature-box p {
	font-size: 14px;
	color: #64748b;
	line-height: 1.65;
	margin: 0;
}


/* ==========================================================================
   STYLE 1 — Classic Left Showcase
   Left-aligned 2-column showcase with top circular icon medallions
   ========================================================================== */
.royalfeatures.features-1 .royalfeaturecol {
	max-width: 720px;
}

.royalfeatures.features-1 .single-feature .rf-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.royalfeatures.features-1 .feature-box {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.royalfeatures.features-1 .rf-header {
	text-align: center;
}

.royalfeatures.features-1 .single-feature h4::before {
	left: 50%;
	transform: translateX(-50%);
}

.royalfeatures.features-1 .single-feature .royal-features-desc {
	margin-left: auto;
	margin-right: auto;
}

.royalfeatures.features-1 .feature-box .rf-icon {
	width: 58px;
	height: 58px;
	border-radius: 50%;
}

.royalfeatures.features-1 .feature-box:hover {
	transform: translateY(-5px);
	border-color: color-mix(in srgb, var(--rf-accent, #4f46e5) 35%, #e2e8f0);
	box-shadow: 0 14px 30px -10px rgba(79, 70, 229, 0.22);
}

.royalfeatures.features-1 .feature-box:hover .rf-icon {
	background: var(--rf-accent, #4f46e5);
	color: #ffffff;
	transform: scale(1.08);
}


/* ==========================================================================
   STYLE 2 — Right Glass Showcase
   Right-aligned frosted glass panel with horizontal icon-left cards
   ========================================================================== */
.royalfeatures.features-2 {
	--rf-accent: #0891b2;
	--rf-accent-2: #06b6d4;
	background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
}

.royalfeatures.features-2 .royalfeaturecol {
	max-width: 760px;
	margin-left: auto;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 20px;
	padding: 32px 28px;
	box-shadow: 0 20px 45px -18px rgba(8, 145, 178, 0.22);
}

.royalfeatures.features-2.has-bg-image .rf-header h6 {
	color: var(--rf-accent, #0891b2);
}

.royalfeatures.features-2.has-bg-image .rf-header h4 {
	color: #0f172a;
}

.royalfeatures.features-2.has-bg-image .rf-header .royal-features-desc {
	color: #475569;
}

.royalfeatures.features-2 .single-feature h6 {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--rf-accent, #0891b2) 12%, transparent);
	letter-spacing: 1.4px;
}

.royalfeatures.features-2 .single-feature .rf-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.royalfeatures.features-2 .feature-box {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	text-align: left;
	padding: 20px 18px;
	border-radius: 14px;
	border: 1px solid rgba(8, 145, 178, 0.14);
	border-left: 3px solid var(--rf-accent, #0891b2);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.royalfeatures.features-2 .feature-box .rf-icon {
	width: 46px;
	height: 46px;
	margin-bottom: 0;
	border-radius: 12px;
}

.royalfeatures.features-2 .feature-box .rf-icon i {
	font-size: 20px;
}

.royalfeatures.features-2 .feature-box .rf-icon svg {
	width: 20px;
	height: 20px;
}

.royalfeatures.features-2 .feature-box:hover {
	transform: translateX(4px);
	box-shadow: 0 12px 26px -12px rgba(8, 145, 178, 0.28);
}

.royalfeatures.features-2 .feature-box:hover .rf-icon {
	background: var(--rf-accent, #0891b2);
	color: #ffffff;
}


/* ==========================================================================
   STYLE 3 — Minimalist Centered Grid
   Clean borderless soft-tinted cards with vibrant gradient circular icons
   ========================================================================== */
.royalfeatures.features-3 {
	--rf-accent: #6366f1;
	--rf-accent-2: #a855f7;
	background-color: #ffffff;
}

.royalfeatures.features-3 .rf-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 38px auto;
}

.royalfeatures.features-3 .single-feature h4::before {
	left: 50%;
	transform: translateX(-50%);
}

.royalfeatures.features-3 .single-feature .royal-features-desc {
	margin: 0 auto;
}

.royalfeatures.features-3 .feature-box {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #f8fafc;
	border: 1px solid transparent;
	border-radius: 22px;
	padding: 34px 24px;
	box-shadow: none;
}

.royalfeatures.features-3 .feature-box .rf-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rf-accent, #6366f1), var(--rf-accent-2, #a855f7));
	color: #ffffff;
	box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.45);
	margin-bottom: 20px;
}

.royalfeatures.features-3 .feature-box .rf-icon i {
	font-size: 26px;
}

.royalfeatures.features-3 .feature-box .rf-icon svg {
	width: 26px;
	height: 26px;
}

.royalfeatures.features-3 .feature-box:hover {
	background: #ffffff;
	border-color: #e2e8f0;
	transform: translateY(-6px);
	box-shadow: 0 22px 40px -16px rgba(15, 23, 42, 0.12);
}

.royalfeatures.features-3 .feature-box:hover .rf-icon {
	transform: translateY(-3px) scale(1.06);
}


/* ==========================================================================
   STYLE 4 — Numbered Accent Cards
   Top color accent bar + large numbered watermark (01, 02, 03)
   ========================================================================== */
.royalfeatures.features-4 {
	--rf-accent: #059669;
	--rf-accent-2: #10b981;
	background-color: #f1f5f9;
}

.royalfeatures.features-4 .rf-header {
	text-align: center;
	margin-bottom: 36px;
}

.royalfeatures.features-4 .single-feature h4::before {
	left: 50%;
	transform: translateX(-50%);
}

.royalfeatures.features-4 .single-feature .royal-features-desc {
	margin: 0 auto;
}

.royalfeatures.features-4 .feature-box {
	overflow: hidden;
	border-radius: 16px;
	padding: 30px 24px 26px;
	border: 1px solid #e2e8f0;
	border-top: 4px solid var(--rf-accent, #059669);
	text-align: left;
}

.royalfeatures.features-4 .feature-box .rf-num {
	display: block;
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 38px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -1px;
	color: var(--rf-accent, #059669);
	opacity: 0.14;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.royalfeatures.features-4 .feature-box .rf-icon {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--rf-accent, #059669) 25%, transparent);
	margin-bottom: 18px;
}

.royalfeatures.features-4 .feature-box:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 36px -14px rgba(5, 150, 105, 0.22);
}

.royalfeatures.features-4 .feature-box:hover .rf-num {
	opacity: 0.32;
	transform: scale(1.08);
}

.royalfeatures.features-4 .feature-box:hover .rf-icon {
	background: var(--rf-accent, #059669);
	color: #ffffff;
}


/* ==========================================================================
   STYLE 5 — Horizontal Split List
   Sticky left intro column paired with stacked horizontal feature rows
   ========================================================================== */
.royalfeatures.features-5 {
	--rf-accent: #2563eb;
	--rf-accent-2: #3b82f6;
	background-color: #ffffff;
}

.royalfeatures.features-5 .single-feature {
	display: grid;
	grid-template-columns: minmax(250px, 0.85fr) 1.35fr;
	gap: 38px;
	align-items: start;
}

.royalfeatures.features-5 .rf-header {
	margin-bottom: 0;
	position: sticky;
	top: 24px;
}

.royalfeatures.features-5 .single-feature h6 {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--rf-accent, #2563eb) 10%, transparent);
}

.royalfeatures.features-5 .single-feature h4 {
	font-size: 32px;
}

.royalfeatures.features-5 .single-feature .rf-grid {
	grid-template-columns: 1fr;
	gap: 16px;
}

.royalfeatures.features-5 .feature-box {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 22px 24px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	box-shadow: none;
	overflow: hidden;
}

.royalfeatures.features-5 .feature-box::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--rf-accent, #2563eb);
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.royalfeatures.features-5 .feature-box .rf-icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	margin-bottom: 0;
	background: #ffffff;
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.royalfeatures.features-5 .feature-box:hover {
	background: #ffffff;
	transform: translateX(6px);
	border-color: color-mix(in srgb, var(--rf-accent, #2563eb) 32%, #e2e8f0);
	box-shadow: 0 14px 28px -14px rgba(37, 99, 235, 0.22);
}

.royalfeatures.features-5 .feature-box:hover::before {
	transform: scaleY(1);
}

.royalfeatures.features-5 .feature-box:hover .rf-icon {
	background: var(--rf-accent, #2563eb);
	color: #ffffff;
}


/* ==========================================================================
   STYLE 6 — Dark Neon Tech Grid
   Deep obsidian canvas with translucent glass cards & neon cyan/indigo aura
   ========================================================================== */
.royalfeatures.features-6 {
	--rf-accent: #38bdf8;
	--rf-accent-2: #818cf8;
	background-color: #0b1120;
	background-image:
		radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.14), transparent 42%),
		radial-gradient(circle at 85% 80%, rgba(129, 140, 248, 0.14), transparent 42%);
	padding: 52px 36px;
}

.royalfeatures.features-6 .rf-header {
	text-align: center;
	margin-bottom: 38px;
}

.royalfeatures.features-6 .single-feature h6 {
	color: var(--rf-accent, #38bdf8);
}

.royalfeatures.features-6 .single-feature h4 {
	color: #f8fafc;
}

.royalfeatures.features-6 .single-feature h4::before {
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(90deg, var(--rf-accent, #38bdf8), var(--rf-accent-2, #818cf8));
	box-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
}

.royalfeatures.features-6 .single-feature .royal-features-desc {
	color: #94a3b8;
	margin: 0 auto;
}

.royalfeatures.features-6 .feature-box {
	background: rgba(30, 41, 59, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 18px;
	padding: 28px 24px;
	box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6);
}

.royalfeatures.features-6 .feature-box .rf-icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.3);
	color: var(--rf-accent, #38bdf8);
	box-shadow: 0 0 20px -6px rgba(56, 189, 248, 0.45);
}

.royalfeatures.features-6 .feature-box h5 {
	color: #f1f5f9;
}

.royalfeatures.features-6 .feature-box p {
	color: #94a3b8;
}

.royalfeatures.features-6 .feature-box:hover {
	transform: translateY(-6px);
	border-color: var(--rf-accent, #38bdf8);
	background: rgba(30, 41, 59, 0.92);
	box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 20px 40px -15px rgba(56, 189, 248, 0.28);
}

.royalfeatures.features-6 .feature-box:hover .rf-icon {
	background: linear-gradient(135deg, var(--rf-accent, #38bdf8), var(--rf-accent-2, #818cf8));
	color: #0b1120;
	border-color: transparent;
}


/* ==========================================================================
   STYLE 7 — Corner Ribbon & Diamond Icon
   Angled corner index badge + tilted icon chip that straightens on hover
   ========================================================================== */
.royalfeatures.features-7 {
	--rf-accent: #f97316;
	--rf-accent-2: #ec4899;
	background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.royalfeatures.features-7 .rf-header {
	text-align: center;
	margin-bottom: 36px;
}

.royalfeatures.features-7 .single-feature h4::before {
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(90deg, var(--rf-accent, #f97316), var(--rf-accent-2, #ec4899));
}

.royalfeatures.features-7 .single-feature .royal-features-desc {
	margin: 0 auto;
}

.royalfeatures.features-7 .feature-box {
	overflow: hidden;
	border-radius: 18px;
	padding: 30px 24px 26px;
	border: 1px solid rgba(249, 115, 22, 0.16);
	box-shadow: 0 8px 24px -12px rgba(249, 115, 22, 0.18);
}

.royalfeatures.features-7 .feature-box .rf-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 14px;
	right: -28px;
	width: 96px;
	padding: 4px 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #ffffff;
	background: linear-gradient(135deg, var(--rf-accent, #f97316), var(--rf-accent-2, #ec4899));
	transform: rotate(45deg);
	box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.royalfeatures.features-7 .feature-box .rf-icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--rf-accent, #f97316), var(--rf-accent-2, #ec4899));
	color: #ffffff;
	transform: rotate(-6deg);
	box-shadow: 0 10px 20px -6px rgba(249, 115, 22, 0.45);
	margin-bottom: 20px;
}

.royalfeatures.features-7 .feature-box:hover {
	transform: translateY(-6px);
	border-color: rgba(249, 115, 22, 0.42);
	box-shadow: 0 20px 38px -14px rgba(249, 115, 22, 0.25);
}

.royalfeatures.features-7 .feature-box:hover .rf-icon {
	transform: rotate(0deg) scale(1.08);
}


/* ==========================================================================
   STYLE 8 — Gradient Banner & Overlap Cards
   Bold hero gradient header with cards overlapping its bottom edge
   ========================================================================== */
.royalfeatures.features-8 {
	--rf-accent: #4f46e5;
	--rf-accent-2: #7c3aed;
	background-color: #f8fafc;
	padding: 28px 28px 40px;
}

.royalfeatures.features-8 .rf-header {
	background: linear-gradient(135deg, #1e1b4b 0%, var(--rf-accent, #4f46e5) 55%, var(--rf-accent-2, #7c3aed) 100%);
	border-radius: 20px;
	padding: 46px 32px 88px;
	text-align: center;
	margin-bottom: 0;
	box-shadow: 0 20px 45px -20px rgba(79, 70, 229, 0.45);
}

.royalfeatures.features-8 .single-feature h6 {
	color: #c7d2fe;
}

.royalfeatures.features-8 .single-feature h4 {
	color: #ffffff;
}

.royalfeatures.features-8 .single-feature h4::before {
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(255, 255, 255, 0.75);
}

.royalfeatures.features-8 .single-feature .royal-features-desc {
	color: rgba(255, 255, 255, 0.85);
	margin: 0 auto;
}

.royalfeatures.features-8 .single-feature .rf-grid {
	margin-top: -54px;
	padding: 0 22px;
	position: relative;
	z-index: 3;
}

.royalfeatures.features-8 .feature-box {
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 18px;
	padding: 28px 24px;
	box-shadow: 0 18px 38px -14px rgba(15, 23, 42, 0.14);
}

.royalfeatures.features-8 .feature-box .rf-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
}

.royalfeatures.features-8 .feature-box:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 46px -14px rgba(79, 70, 229, 0.24);
}

.royalfeatures.features-8 .feature-box:hover .rf-icon {
	background: linear-gradient(135deg, var(--rf-accent, #4f46e5), var(--rf-accent-2, #7c3aed));
	color: #ffffff;
}


/* ==========================================================================
   STYLE 9 — Bento Asymmetric Grid
   Modern Bento grid where the primary first item spans 2 columns as spotlight
   ========================================================================== */
.royalfeatures.features-9 {
	--rf-accent: #0f172a;
	--rf-accent-2: #3b82f6;
	background-color: #f1f5f9;
}

.royalfeatures.features-9 .rf-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 30px;
}

.royalfeatures.features-9 .single-feature .rf-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child {
	grid-column: span 2;
}

.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child .feature-box {
	background: linear-gradient(135deg, var(--rf-accent, #0f172a) 0%, #1e293b 65%, var(--rf-accent-2, #3b82f6) 160%);
	border-color: transparent;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 34px 30px;
	color: #ffffff;
	overflow: hidden;
}

.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child .feature-box::after {
	content: '';
	position: absolute;
	width: 180px;
	height: 180px;
	right: -50px;
	bottom: -60px;
	border-radius: 50%;
	background: rgba(59, 130, 246, 0.22);
	pointer-events: none;
}

.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child .feature-box .rf-icon {
	width: 68px;
	height: 68px;
	border-radius: 18px;
	margin-bottom: 0;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child .feature-box .rf-icon i {
	font-size: 28px;
}

.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child .feature-box .rf-icon svg {
	width: 28px;
	height: 28px;
}

.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child .feature-box h5 {
	font-size: 22px;
	color: #ffffff;
}

.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child .feature-box p {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.82);
}

.royalfeatures.features-9 .feature-box {
	border-radius: 20px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	padding: 26px 24px;
}

.royalfeatures.features-9 .feature-box .rf-icon {
	background: rgba(59, 130, 246, 0.1);
	color: var(--rf-accent-2, #3b82f6);
}

.royalfeatures.features-9 .feature-box:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 34px -16px rgba(15, 23, 42, 0.18);
}


/* ==========================================================================
   STYLE 10 — Interactive Progress Reveal
   Architectural card with bottom progress bar fill & soft radial hover bloom
   ========================================================================== */
.royalfeatures.features-10 {
	--rf-accent: #db2777;
	--rf-accent-2: #7c3aed;
	background-color: #ffffff;
}

.royalfeatures.features-10 .rf-header {
	text-align: center;
	margin-bottom: 36px;
}

.royalfeatures.features-10 .single-feature h4::before {
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(90deg, var(--rf-accent, #db2777), var(--rf-accent-2, #7c3aed));
}

.royalfeatures.features-10 .single-feature .royal-features-desc {
	margin: 0 auto;
}

.royalfeatures.features-10 .feature-box {
	overflow: hidden;
	border-radius: 16px;
	padding: 30px 24px 32px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
}

.royalfeatures.features-10 .feature-box::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--rf-accent, #db2777) 8%, transparent), transparent 65%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.royalfeatures.features-10 .feature-box::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 4px;
	width: 0;
	background: linear-gradient(90deg, var(--rf-accent, #db2777), var(--rf-accent-2, #7c3aed));
	transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.royalfeatures.features-10 .feature-box .rf-icon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	border: 2px dashed color-mix(in srgb, var(--rf-accent, #db2777) 35%, transparent);
	background: color-mix(in srgb, var(--rf-accent, #db2777) 8%, transparent);
}

.royalfeatures.features-10 .feature-box:hover {
	transform: translateY(-5px);
	border-color: color-mix(in srgb, var(--rf-accent, #db2777) 30%, #e2e8f0);
	box-shadow: 0 20px 38px -15px rgba(219, 39, 119, 0.2);
}

.royalfeatures.features-10 .feature-box:hover::before {
	opacity: 1;
}

.royalfeatures.features-10 .feature-box:hover::after {
	width: 100%;
}

.royalfeatures.features-10 .feature-box:hover .rf-icon {
	border-style: solid;
	border-color: transparent;
	background: linear-gradient(135deg, var(--rf-accent, #db2777), var(--rf-accent-2, #7c3aed));
	color: #ffffff;
	transform: rotate(6deg) scale(1.06);
}


/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
	.royalfeatures {
		padding: 36px 24px;
	}

	.royalfeatures .single-feature .rf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.royalfeatures.features-5 .single-feature {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.royalfeatures.features-5 .rf-header {
		position: static;
	}

	.royalfeatures.features-9 .single-feature .rf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.royalfeatures.features-9.rf-tablet-single-col .single-feature .rf-grid > .rf-col:first-child {
		grid-column: span 1;
	}
}

@media (max-width: 767px) {
	.royalfeatures {
		padding: 28px 18px;
	}

	.royalfeatures .single-feature h4 {
		font-size: 24px;
	}

	.royalfeatures.features-1 .royalfeaturecol,
	.royalfeatures.features-2 .royalfeaturecol {
		max-width: 100%;
	}

	.royalfeatures.features-2 .royalfeaturecol {
		padding: 24px 18px;
	}

	.royalfeatures .single-feature .rf-grid,
	.royalfeatures.features-1 .single-feature .rf-grid,
	.royalfeatures.features-2 .single-feature .rf-grid,
	.royalfeatures.features-9 .single-feature .rf-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child {
		grid-column: span 1;
	}

	.royalfeatures.features-9:not(.rf-single-col) .single-feature .rf-grid > .rf-col:first-child .feature-box {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 24px 20px;
	}

	.royalfeatures.features-8 {
		padding: 18px 14px 28px;
	}

	.royalfeatures.features-8 .rf-header {
		padding: 34px 20px 72px;
	}

	.royalfeatures.features-8 .single-feature .rf-grid {
		padding: 0 10px;
		margin-top: -46px;
	}

	.royalfeatures.features-5 .feature-box {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
}
