/* ==========================================================================
   Credit Card Guru - Main Stylesheet (Unbox Health Aesthetic)
   Clean, Minimalist, High-Trust Consumer Advocacy UI for Indian Credit Cards
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global Layout & Utility
   -------------------------------------------------------------------------- */
html,
body {
	font-family: var(--cg-font);
	background: linear-gradient(180deg, #e8eefb 0%, #f2f5fc 35%, #f7f9fd 100%);
	color: var(--cg-text);
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cg-container {
	width: 100%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
}

.cg-text-center {
	text-align: center;
}

.cg-text-success {
	color: var(--cg-accent) !important;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.cg-header {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--cg-border);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.cg-header.is-scrolled {
	box-shadow: 0 10px 26px -8px rgba(15, 23, 42, 0.14);
}

.cg-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
	gap: 20px;
}

.cg-logo a {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.cg-logo-img {
	height: 40px;
	width: auto;
	display: block;
}

@media (max-width: 640px) {
	.cg-logo-img {
		height: 32px;
	}
}

.cg-logo-text {
	font-size: 21px;
	font-weight: 800;
	color: var(--cg-primary);
	letter-spacing: -0.6px;
}

.cg-logo-verified {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--cg-accent-light);
	color: var(--cg-accent);
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: var(--cg-radius-pill);
	border: 1px solid var(--cg-accent-border);
	letter-spacing: 0.2px;
	text-transform: uppercase;
}

.cg-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
}

.cg-nav-link {
	position: relative;
	color: #334155;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
	padding: 7px 14px;
	border-radius: var(--cg-radius-pill);
	transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.cg-nav-link:hover {
	color: var(--cg-blue-hover);
	background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
	transform: translateY(-1px);
	text-decoration: none;
}

.cg-nav-link.is-active {
	color: var(--cg-blue-hover);
	background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
	font-weight: 700;
	box-shadow: inset 0 0 0 1px var(--cg-blue-border), 0 2px 6px rgba(37, 99, 235, 0.1);
}

@keyframes cgSpringPop {
	0% { transform: scale(1); }
	40% { transform: scale(1.1); box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.22); }
	100% { transform: scale(1); }
}

.cg-header-compare-btn.cg-badge-pop {
	animation: cgSpringPop 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.cg-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cg-header-search-form {
	margin: 0;
}

.cg-header-search-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.cg-search-icon {
	position: absolute;
	left: 12px;
	color: #94a3b8;
	pointer-events: none;
}

.cg-header-search-input {
	padding: 7px 14px 7px 34px;
	border: 1px solid var(--cg-border);
	border-radius: var(--cg-radius-pill);
	font-size: 13px;
	width: 170px;
	background: #f8fafc;
	color: var(--cg-text);
	transition: width 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
	font-family: inherit;
}

.cg-header-search-input:focus {
	width: 220px;
	background: #ffffff;
	border-color: var(--cg-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.cg-header-compare-btn {
	position: relative;
	background: var(--cg-blue-light) !important;
	border-color: var(--cg-blue-border) !important;
	color: var(--cg-blue-hover) !important;
}

.cg-header-compare-btn:hover,
.cg-header-compare-btn:focus-visible,
.cg-header-compare-btn.cg-btn-outline:hover,
.cg-header-compare-btn.cg-btn-outline:focus-visible {
	background: var(--cg-blue) !important;
	border-color: var(--cg-blue) !important;
	color: #ffffff !important;
}

.cg-count-pill {
	background: var(--cg-saffron);
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: var(--cg-radius-pill);
	margin-left: 4px;
}

.cg-mobile-menu-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #ffffff;
	border: 1px solid var(--cg-border);
	border-radius: 8px;
	padding: 0;
	cursor: pointer;
	color: var(--cg-primary);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cg-mobile-menu-btn .cg-mobile-menu-icon-close {
	display: none;
}

.cg-mobile-menu-btn.is-open .cg-mobile-menu-icon-open {
	display: none;
}

.cg-mobile-menu-btn.is-open .cg-mobile-menu-icon-close {
	display: block;
}

.cg-mobile-menu-btn:hover,
.cg-mobile-menu-btn.is-open {
	background: var(--cg-blue-light);
	border-color: var(--cg-blue-border);
	color: var(--cg-blue-hover);
}

.cg-mobile-drawer {
	display: none;
	background: #ffffff;
	border-top: 1px solid var(--cg-border-subtle);
	border-bottom: 1px solid var(--cg-border);
	box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.14);
	padding: 14px 16px 16px;
}

.cg-mobile-drawer.open {
	display: block;
}

.cg-mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cg-mobile-nav a {
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--cg-text);
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cg-mobile-nav a:hover,
.cg-mobile-nav a.is-active {
	background: var(--cg-blue-light);
	color: var(--cg-blue-hover);
}

.cg-mobile-nav a.is-active {
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Buttons (High-Contrast Fintech Interactive UI)
   -------------------------------------------------------------------------- */
.cg-btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none !important;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
	line-height: 1.3;
	font-family: inherit;
}

.cg-btn:focus-visible {
	outline: 2px solid var(--cg-blue);
	outline-offset: 2px;
}

.cg-btn-pill {
	border-radius: var(--cg-radius-pill);
}

.cg-btn-primary {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #312e81 100%);
	border-color: rgba(29, 78, 216, 0.25);
	color: #ffffff !important;
	box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.cg-btn-primary::before,
.cg-btn-accent::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 55%;
	height: 100%;
	background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
	transform: skewX(-18deg);
	transition: left 0.55s ease;
	pointer-events: none;
}

.cg-btn-primary:hover::before,
.cg-btn-accent:hover::before {
	left: 145%;
}

.cg-btn-primary:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 55%, #1e1b4b 100%);
	box-shadow: 0 8px 20px -3px rgba(37, 99, 235, 0.42);
	transform: translateY(-1px);
}

.cg-btn-primary:active {
	transform: translateY(0) scale(0.99);
}

.cg-btn-discontinued,
.cg-btn-discontinued:hover,
.cg-btn-discontinued:disabled {
	background: #fef2f2;
	color: #b91c1c !important;
	border-color: #fecaca;
	cursor: not-allowed;
	pointer-events: none;
	transform: none;
	box-shadow: none;
	gap: 6px;
}

.cg-discontinued-icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}

.cg-apply-cta-group {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 5px;
}

.cg-apply-cta-group--card,
.cg-apply-cta-group--compare-card,
.cg-apply-cta-group--inline,
.cg-apply-cta-group--sticky-compare {
	width: 100%;
}

.cg-compare-preview-cta {
	margin-top: auto;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 8px;
}

.cg-compare-preview-cta .cg-apply-cta-group--compare-card {
	flex: 1 1 0%;
	min-width: 0;
}

.cg-compare-preview-cta .cg-btn-compare-apply,
.cg-compare-preview-cta .cg-btn-discontinued,
.cg-compare-preview-cta .cg-btn-compare-review {
	width: 100%;
	height: 36px;
	min-height: 36px;
	padding: 0 12px !important;
	font-size: 13px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	box-sizing: border-box;
}

.cg-compare-preview-cta .cg-btn-compare-review,
.cg-compare-preview-cta .cg-review-popover-wrap {
	flex: 0 0 25%;
	width: 25%;
	min-width: 0;
}

.cg-compare-preview-cta .cg-review-popover-wrap .cg-btn-compare-review {
	width: 100%;
	flex: none;
}

.cg-review-popover-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.cg-btn.cg-btn-review-soon {
	background: #f1f5f9 !important;
	color: #64748b !important;
	border-color: #cbd5e1 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.cg-btn.cg-btn-review-soon:hover,
.cg-review-popover-wrap.is-open .cg-btn.cg-btn-review-soon {
	background: #e2e8f0 !important;
	color: #475569 !important;
	border-color: #94a3b8 !important;
	transform: none;
}

.cg-review-info-icon {
	width: 0.92em;
	height: 0.92em;
	margin-left: 5px;
	flex-shrink: 0;
	color: #64748b;
}

.cg-review-popover-wrap.is-open .cg-review-popover {
	display: block;
	animation: cgFadeIn 0.15s ease-out;
}

.cg-review-popover-badge {
	background: #f1f5f9;
	color: #475569;
	border-color: #cbd5e1;
}

.cg-review-popover .cg-rating-popover-text {
	margin-bottom: 0;
}

.cg-card-actions .cg-review-popover-wrap .cg-btn-review {
	width: 100%;
}

.cg-card-actions .cg-review-popover {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	width: 275px;
}

.cg-card-actions .cg-review-popover::before {
	left: 50%;
	right: auto;
	transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 767px) {
	.cg-compare-preview-cta {
		flex-direction: column;
		gap: 6px;
	}

	.cg-compare-preview-cta .cg-apply-cta-group--compare-card,
	.cg-compare-preview-cta .cg-review-popover-wrap {
		flex: none;
		width: 100%;
	}

	.cg-compare-preview-cta .cg-btn-compare-apply,
	.cg-compare-preview-cta .cg-btn-discontinued,
	.cg-compare-preview-cta .cg-btn-compare-review {
		flex: none;
		width: 100%;
		height: 30px;
		min-height: 30px;
		padding: 0 8px !important;
		font-size: 11px;
	}

	.cg-card-actions > .cg-review-popover-wrap {
		flex: 1 1 0%;
		min-width: 0;
	}

	.cg-card-actions .cg-review-popover {
		left: 0;
		right: auto;
		transform: none;
		width: min(260px, calc(100vw - 40px));
	}

	.cg-card-actions .cg-review-popover::before {
		left: 44px;
		right: auto;
		transform: rotate(45deg);
	}

	.cg-compare-preview-cta .cg-review-popover {
		width: min(246px, calc(100vw - 36px));
		padding: 12px 14px;
	}

	.cg-card-preview.card-a .cg-compare-preview-cta .cg-review-popover {
		left: -6px;
		right: auto;
		transform: none;
	}

	.cg-card-preview.card-a .cg-compare-preview-cta .cg-review-popover::before {
		left: 52px;
		right: auto;
		transform: rotate(45deg);
	}

	.cg-card-preview.card-b .cg-compare-preview-cta .cg-review-popover {
		right: -6px;
		left: auto;
		transform: none;
	}

	.cg-card-preview.card-b .cg-compare-preview-cta .cg-review-popover::before {
		right: 52px;
		left: auto;
		transform: rotate(45deg);
	}
}

.cg-rating-popover-wrap--compare {
	margin: 0 auto 10px auto;
	justify-content: center;
}

.cg-compare-header:has(.cg-rating-popover-wrap.is-open, .cg-review-popover-wrap.is-open),
.cg-card-hero:has(.cg-review-popover-wrap.is-open) {
	position: relative;
	z-index: 120;
}

.cg-card-preview:has(.cg-rating-popover-wrap.is-open, .cg-review-popover-wrap.is-open) {
	position: relative;
	z-index: 20;
}

.cg-compare-rating {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0;
	padding: 4px 10px;
	border-radius: 9999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	line-height: 1;
}

.cg-compare-rating .cg-rating-info-icon {
	color: #059669;
	width: 13px;
	height: 13px;
	margin-left: 1px;
}

.cg-compare-rating-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	line-height: 1;
}

.cg-compare-rating-stars .cg-star-icon {
	display: block;
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}

.cg-compare-rating-val {
	font-size: 12.5px;
	font-weight: 700;
	color: #0f172a;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.cg-compare-rating-val .cg-rating-max {
	font-weight: 500;
	color: #64748b;
}

.cg-compare-rating-popover {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	width: 288px;
}

.cg-compare-rating-popover::before {
	left: 50%;
	right: auto;
	transform: translateX(-50%) rotate(45deg);
}

.cg-btn-compare-apply {
	width: 100%;
	min-height: 35px;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.cg-compare-versus-grid.cg-compare-has-migrated .cg-apply-cta-group--compare-card {
	position: relative;
	margin-bottom: 18px;
}

.cg-compare-versus-grid.cg-compare-has-migrated .cg-apply-cta-group--compare-card .cg-apply-migrated-note {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
}

.cg-apply-migrated-note {
	margin: 0;
	font-size: 11.5px;
	line-height: 1.35;
	color: #64748b;
	text-align: center;
	font-weight: 500;
	white-space: normal;
}

.cg-migrated-link,
.cg-migrated-note-link {
	color: #059669;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cg-migrated-link:hover,
.cg-migrated-note-link:hover {
	color: #047857;
}

.cg-btn-accent {
	background: linear-gradient(135deg, #059669 0%, #047857 100%);
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(5, 150, 105, 0.22);
}

.cg-btn-accent:hover {
	background: linear-gradient(135deg, #047857 0%, #065f46 100%);
	box-shadow: 0 6px 16px -3px rgba(5, 150, 105, 0.34);
	transform: translateY(-1px);
}

.cg-btn-outline {
	background: #ffffff;
	color: var(--cg-primary) !important;
	border-color: #cbd5e1;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cg-btn-outline:hover {
	background: var(--cg-saffron-light);
	border-color: #fb923c;
	color: var(--cg-saffron-hover) !important;
	box-shadow: 0 4px 10px -2px rgba(234, 88, 12, 0.14);
	transform: translateY(-1px);
}

.cg-btn-compare {
	background: #f1f5f9;
	color: #1e293b !important;
	border-color: #cbd5e1;
}

.cg-btn-compare:hover {
	background: var(--cg-blue-light);
	color: var(--cg-blue-hover) !important;
	border-color: #93c5fd;
}

.cg-btn-compare.selected {
	background: var(--cg-accent-light);
	border-color: var(--cg-accent);
	color: var(--cg-accent-hover) !important;
	font-weight: 700;
	box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.16);
}

.cg-btn-dark-outline {
	background: rgba(30, 41, 59, 0.75);
	color: #e2e8f0 !important;
	border-color: #64748b;
}

.cg-btn-dark-outline:hover {
	background: rgba(51, 65, 85, 0.92);
	color: #ffffff !important;
	border-color: #94a3b8;
}

.cg-btn-sm {
	padding: 6px 14px;
	font-size: 13px;
}

.cg-btn-lg {
	padding: 12px 26px;
	font-size: 15px;
	font-weight: 700;
}

.cg-btn .cg-outbound-icon {
	width: 0.82em;
	height: 0.82em;
	margin-left: 0.35em !important;
	flex-shrink: 0;
}

.cg-btn .cg-apply-btn-spacer {
	display: inline-block;
	width: 0.82em;
	height: 1px;
	margin-right: 0.35em;
	flex-shrink: 0;
	pointer-events: none;
}

@media (max-width: 767px) {
	.cg-btn .cg-outbound-icon {
		width: 0.85em;
		height: 0.85em;
		margin-left: 0.32em !important;
	}

	.cg-btn .cg-apply-btn-spacer {
		width: 0.85em;
		margin-right: 0.32em;
	}
}

.cg-btn.disabled {
	opacity: 0.5;
	pointer-events: none;
	cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   Hero Section (Unbox Health Clean Aesthetic)
   -------------------------------------------------------------------------- */
.cg-hero-section {
	background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
	padding: 46px 0 54px 0;
	border-bottom: 1px solid #dbeafe;
}

.cg-hero-container {
	text-align: center;
	max-width: 1260px;
	margin: 0 auto;
}

.cg-hero-trust-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(236, 253, 245, 0.94);
	color: var(--cg-accent-hover);
	border: 1px solid var(--cg-accent-border);
	box-shadow: 0 2px 10px rgba(5, 150, 105, 0.12);
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: var(--cg-radius-pill);
	margin-bottom: 20px;
	letter-spacing: 0.2px;
}

.cg-live-dot,
.cg-status-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #16a34a;
	box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
	animation: cg-live-glow 1.8s ease-in-out infinite;
	flex-shrink: 0;
}

@keyframes cg-live-glow {
	0%, 100% {
		opacity: 0.7;
		box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.65);
		transform: scale(0.95);
	}
	50% {
		opacity: 1;
		box-shadow: 0 0 8px 4px rgba(22, 163, 74, 0.35);
		transform: scale(1.1);
	}
}

.cg-hero-title {
	font-size: clamp(23px, 2.95vw, 38px);
	font-weight: 800;
	color: var(--cg-primary);
	line-height: 1.2;
	letter-spacing: -0.6px;
	margin: 0 0 16px 0;
	min-height: 1.2em;
}

.cg-hero-title.cg-typewriter::after {
	content: "";
	display: inline-block;
	width: 3px;
	height: 0.88em;
	background-color: var(--cg-saffron, #ea580c);
	margin-left: 4px;
	vertical-align: -0.08em;
	border-radius: 2px;
	animation: cg-blink-caret 0.85s step-end infinite;
}

@keyframes cg-blink-caret {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

.cg-hero-title.cg-typewriter.cg-typewriter-done::after {
	display: none;
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.cg-hero-title.cg-typewriter::after {
		display: none;
		animation: none;
	}
}

@media (min-width: 768px) {
	.cg-hero-title {
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	.cg-hero-title {
		white-space: normal;
	}
}

@media (min-width: 768px) {
	.cg-single-line-h2 {
		font-size: clamp(19px, 2.35vw, 28px);
		white-space: nowrap;
	}
}

.cg-hero-subtitle {
	font-size: 17px;
	color: var(--cg-text-muted);
	line-height: 1.6;
	margin: 0 auto 32px auto;
	max-width: 720px;
}

.cg-hero-search-form {
	max-width: 640px;
	margin: 0 auto 24px auto;
}

.cg-hero-search-inner {
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	border-radius: var(--cg-radius-pill);
	padding: 6px 6px 6px 18px;
	box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cg-hero-search-inner:focus-within {
	border-color: var(--cg-blue);
	box-shadow: 0 10px 28px -6px rgba(37, 99, 235, 0.22), 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.cg-hero-search-icon {
	color: #94a3b8;
	flex-shrink: 0;
	margin-right: 12px;
}

.cg-hero-search-input {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 15px;
	color: var(--cg-text);
	outline: none;
	font-family: inherit;
	padding: 6px 0;
}

.cg-hero-search-btn {
	flex-shrink: 0;
	padding: 10px 22px;
	font-size: 14px;
}

@media (max-width: 640px) {
	.cg-hero-search-inner {
		padding: 4px 4px 4px 12px;
	}

	.cg-hero-search-icon {
		width: 16px;
		height: 16px;
		margin-right: 8px;
	}

	.cg-hero-search-input {
		font-size: 13px;
		padding: 4px 6px 4px 0;
		min-width: 0;
	}

	.cg-hero-search-btn {
		padding: 8px 14px;
		font-size: 12.5px;
	}
}

.cg-hero-quick-pills {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 13px;
}

.cg-quick-label {
	color: var(--cg-text-muted);
	font-weight: 600;
	margin-right: 4px;
}

.cg-pill-tag {
	display: inline-block;
	background: #ffffff;
	border: 1px solid var(--cg-border);
	color: #334155;
	padding: 6px 14px;
	border-radius: var(--cg-radius-pill);
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.cg-pill-tag:hover {
	border-color: var(--cg-saffron);
	color: var(--cg-saffron-hover);
	background: var(--cg-saffron-light);
	box-shadow: 0 4px 10px -2px rgba(234, 88, 12, 0.18);
	text-decoration: none;
	transform: translateY(-1px);
}

/* Color-coded Hero Popular Search Chips */
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+1) {
	background: #fff7ed;
	border-color: #fdba74;
	color: #9a3412;
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+1):hover {
	background: var(--cg-saffron);
	border-color: var(--cg-saffron);
	color: #ffffff;
	box-shadow: 0 6px 14px -3px rgba(234, 88, 12, 0.34);
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+2) {
	background: #ecfdf5;
	border-color: #6ee7b7;
	color: #065f46;
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+2):hover {
	background: var(--cg-accent);
	border-color: var(--cg-accent);
	color: #ffffff;
	box-shadow: 0 6px 14px -3px rgba(5, 150, 105, 0.34);
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+3) {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1e40af;
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+3):hover {
	background: var(--cg-blue);
	border-color: var(--cg-blue);
	color: #ffffff;
	box-shadow: 0 6px 14px -3px rgba(37, 99, 235, 0.34);
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+4) {
	background: #eef2ff;
	border-color: #a5b4fc;
	color: #3730a3;
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+4):hover {
	background: var(--cg-indigo);
	border-color: var(--cg-indigo);
	color: #ffffff;
	box-shadow: 0 6px 14px -3px rgba(79, 70, 229, 0.34);
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+5) {
	background: #f0fdfa;
	border-color: #5eead4;
	color: #115e59;
}
.cg-hero-quick-pills .cg-pill-tag:nth-of-type(5n+5):hover {
	background: var(--cg-teal);
	border-color: var(--cg-teal);
	color: #ffffff;
	box-shadow: 0 6px 14px -3px rgba(13, 148, 136, 0.34);
}

/* --------------------------------------------------------------------------
   Trust Pillars Strip
   -------------------------------------------------------------------------- */
.cg-trust-strip {
	background: linear-gradient(90deg, #fffaf5 0%, #f5f9ff 50%, #f3fdf8 100%);
	border-bottom: 1px solid #dbeafe;
	padding: 20px 0;
}

.cg-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.cg-trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 14px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cg-trust-item:hover {
	transform: translateY(-2px);
	border-color: var(--cg-blue-border);
	box-shadow: 0 10px 20px -6px rgba(37, 99, 235, 0.14);
}

.cg-trust-icon {
	font-size: 24px;
	flex-shrink: 0;
}

.cg-trust-item strong {
	display: block;
	font-size: 14px;
	color: var(--cg-primary);
	line-height: 1.3;
}

.cg-trust-item span {
	display: block;
	font-size: 12px;
	color: var(--cg-text-muted);
	line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Section Headers & Containers
   -------------------------------------------------------------------------- */
.cg-section {
	padding: 56px 0;
}

.cg-section-light {
	background: linear-gradient(135deg, #eff6ff 0%, #f3f7ff 52%, #ecfdf5 100%);
	border-top: 1px solid #dbeafe;
	border-bottom: 1px solid #dbeafe;
}

.cg-home-categories {
	background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
}

.cg-home-issuers {
	background: linear-gradient(135deg, #eff5ff 0%, #f4f3ff 100%);
	border-top: 1px solid #dbeafe;
	border-bottom: 1px solid #dbeafe;
}

.cg-home-networks {
	background: linear-gradient(180deg, #f0fdf8 0%, #ffffff 100%);
}

.cg-home-cobrands {
	background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
	border-top: 1px solid #e0e7ff;
	border-bottom: 1px solid #e0e7ff;
}

.cg-home-reviews-section {
	background: linear-gradient(180deg, #effcf6 0%, #f8fafc 100%);
	border-top: 1px solid #d1fae5;
}

.cg-home-blog-section {
	background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.cg-home-news-section {
	background: linear-gradient(180deg, #effcf6 0%, #f1f5f9 100%);
	border-top: 1px solid #d1fae5;
}

.cg-section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 30px;
}

.cg-section-header > a,
.cg-section-header .cg-btn,
.cg-section-header .cg-link-arrow {
	flex-shrink: 0;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.cg-section-header:not(.cg-text-center) {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 12px;
		margin-bottom: 22px;
	}

	.cg-section-header:not(.cg-text-center) > a {
		display: none;
	}
}

.cg-section-subtitle {
	display: block;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	color: var(--cg-saffron);
	margin-bottom: 6px;
}

.cg-section-title {
	font-size: 26px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0;
	letter-spacing: -0.5px;
}

.cg-link-arrow {
	font-size: 14px;
	font-weight: 600;
	color: var(--cg-primary);
	text-decoration: none;
	transition: color 0.15s ease;
}

.cg-link-arrow:hover {
	color: var(--cg-accent);
}

/* --------------------------------------------------------------------------
   Category Cards
   -------------------------------------------------------------------------- */
.cg-category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

@media (max-width: 640px) {
	.cg-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.cg-category-card {
		padding: 14px;
	}
}

.cg-category-card {
	background: #ffffff;
	border: 1px solid var(--cg-border);
	border-radius: var(--cg-radius);
	padding: 20px;
	text-decoration: none;
	color: var(--cg-primary);
	text-align: center;
	transition: all 0.15s ease;
	box-shadow: var(--cg-shadow-sm);
}

.cg-category-card:hover {
	border-color: var(--cg-blue);
	background: var(--cg-blue-light);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.16);
	text-decoration: none;
}

.cg-cat-title {
	font-weight: 700;
	font-size: 15px;
	color: var(--cg-primary);
	margin-bottom: 4px;
}

.cg-cat-count {
	font-size: 12px;
	color: var(--cg-text-muted);
}

.cg-home-tax-section {
	padding: 44px 0;
}

.cg-home-tax-section .cg-section-header {
	margin-bottom: 22px;
}

.cg-home-cat-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

.cg-home-cat-pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 15px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--cg-primary);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	max-width: 100%;
	box-sizing: border-box;
}

/* Deliberate color coding per homepage taxonomy band */
.cg-home-categories .cg-home-cat-pill {
	background: #fff9f5;
	border-color: var(--cg-saffron-border);
	color: #9a3412;
}

.cg-home-categories .cg-home-cat-pill:hover {
	background: var(--cg-saffron);
	border-color: var(--cg-saffron);
	color: #ffffff;
	box-shadow: 0 6px 16px -4px rgba(234, 88, 12, 0.34);
}

.cg-home-issuers .cg-home-cat-pill {
	background: #f5f8ff;
	border-color: var(--cg-blue-border);
	color: #1e40af;
}

.cg-home-issuers .cg-home-cat-pill:hover {
	background: var(--cg-blue);
	border-color: var(--cg-blue);
	color: #ffffff;
	box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.34);
}

.cg-home-networks .cg-home-cat-pill {
	background: #f2fdf8;
	border-color: var(--cg-accent-border);
	color: #065f46;
}

.cg-home-networks .cg-home-cat-pill:hover {
	background: var(--cg-accent);
	border-color: var(--cg-accent);
	color: #ffffff;
	box-shadow: 0 6px 16px -4px rgba(5, 150, 105, 0.34);
}

.cg-home-cobrands .cg-home-cat-pill {
	background: #f5f6ff;
	border-color: var(--cg-indigo-border);
	color: #3730a3;
}

.cg-home-cobrands .cg-home-cat-pill:hover {
	background: var(--cg-indigo);
	border-color: var(--cg-indigo);
	color: #ffffff;
	box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.34);
}

/* --------------------------------------------------------------------------
   Product Card Component (Unbox Health Tested Product Aesthetic)
   -------------------------------------------------------------------------- */
.cg-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 20px 0;
}

@media (max-width: 1080px) {
	.cg-cards-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}
}

.cg-product-card, .cg-card-item {
	background: #ffffff;
	border: 1px solid var(--cg-border);
	border-radius: var(--cg-radius-lg);
	overflow: hidden;
	box-shadow: var(--cg-shadow-card);
	display: flex;
	flex-direction: column;
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.cg-product-card:hover, .cg-card-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--cg-shadow-card-hover);
	border-color: #93c5fd;
}

.cg-product-top {
	padding: 12px 18px 10px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(90deg, #f8fbff 0%, #fffaf5 100%);
	border-bottom: 1px solid #e2e8f0;
	height: 46px;
	min-height: 46px;
	max-height: 46px;
	box-sizing: border-box;
	overflow: hidden;
}

.cg-product-brand {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: var(--cg-blue-hover);
	background: var(--cg-blue-light);
	border: 1px solid var(--cg-blue-border);
	padding: 3px 9px;
	border-radius: var(--cg-radius-pill);
}

.cg-cards-grid .cg-product-card:nth-child(4n+2) .cg-product-brand {
	color: var(--cg-accent-hover);
	background: var(--cg-accent-light);
	border-color: var(--cg-accent-border);
}

.cg-cards-grid .cg-product-card:nth-child(4n+3) .cg-product-brand {
	color: #3730a3;
	background: var(--cg-indigo-light);
	border-color: var(--cg-indigo-border);
}

.cg-cards-grid .cg-product-card:nth-child(4n+4) .cg-product-brand {
	color: var(--cg-saffron-hover);
	background: var(--cg-saffron-light);
	border-color: var(--cg-saffron-border);
}

.cg-verified-badge {
	display: inline-flex;
	align-items: center;
	background: var(--cg-accent-light);
	color: var(--cg-accent);
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: var(--cg-radius-pill);
	border: 1px solid var(--cg-accent-border);
}

.cg-product-media {
	background: #1e293b;
	padding: 0;
	display: block;
	width: 100%;
	aspect-ratio: 1200 / 675;
	border-bottom: 1px solid #e2e8f0;
	overflow: hidden;
	box-sizing: border-box;
	position: relative;
}

.cg-product-img-wrap {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1200 / 675;
	border-radius: 0;
	overflow: hidden;
	box-shadow: none;
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-product-card:hover .cg-product-img-wrap {
	transform: scale(1.03);
}

.cg-product-img-wrap img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1200 / 675;
	object-fit: cover;
	display: block;
}

.cg-card-placeholder {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
	aspect-ratio: 1200 / 675;
	background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0f172a 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 14px 16px;
	text-align: center;
	box-sizing: border-box;
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.24), inset 0 -1px 2px rgba(0, 0, 0, 0.28);
	transform-style: preserve-3d;
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}

.cg-card-placeholder.is-tilting {
	transition: transform 0.06s linear;
	transform: perspective(760px) rotateX(var(--cg-rx, 0deg)) rotateY(var(--cg-ry, 0deg)) scale(1.015);
}

.cg-card-placeholder::before {
	content: "";
	position: absolute;
	bottom: 11px;
	left: 14px;
	width: 24px;
	height: 17px;
	border-radius: 4px;
	background: linear-gradient(135deg, #fef08a 0%, #f59e0b 55%, #b45309 100%);
	border: 1px solid rgba(255, 255, 255, 0.38);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
	opacity: 0.92;
	z-index: 1;
	pointer-events: none;
}

.cg-card-placeholder::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(180px circle at var(--cg-mx, 86%) var(--cg-my, 18%), rgba(255, 255, 255, 0.26) 0%, rgba(251, 146, 60, 0.16) 38%, transparent 70%),
		radial-gradient(circle at 12% 88%, rgba(56, 189, 248, 0.24) 0%, transparent 52%);
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.cg-card-placeholder span {
	position: relative;
	z-index: 2;
	text-shadow: 0 2px 6px rgba(15, 23, 42, 0.55);
}

.cg-cards-grid .cg-product-card:nth-child(4n+1) .cg-card-placeholder {
	background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0f172a 100%);
}

.cg-cards-grid .cg-product-card:nth-child(4n+2) .cg-card-placeholder {
	background: linear-gradient(135deg, #022c22 0%, #047857 58%, #064e3b 100%);
}

.cg-cards-grid .cg-product-card:nth-child(4n+3) .cg-card-placeholder {
	background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 56%, #311042 100%);
}

.cg-cards-grid .cg-product-card:nth-child(4n+4) .cg-card-placeholder {
	background: linear-gradient(135deg, #18181b 0%, #9a3412 58%, #1e293b 100%);
}

.cg-product-rating-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
	pointer-events: none;
	line-height: 1;
}

.cg-product-rating-badge-star {
	width: 12px;
	height: 12px;
	display: block;
	flex-shrink: 0;
}

.cg-product-rating-badge-val {
	font-size: 12px;
	font-weight: 700;
	color: #0f172a;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.cg-product-content {
	padding: 12px 16px 10px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.cg-product-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0 0 8px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #f1f5f9;
	color: var(--cg-primary);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	box-sizing: border-box;
}

.cg-product-title a {
	color: var(--cg-primary);
	text-decoration: none;
	transition: color 0.15s ease;
}

.cg-product-title a:hover {
	color: var(--cg-blue);
	text-decoration: none;
}

.cg-product-highlight {
	margin-bottom: 14px;
}

.cg-highlight-tag {
	display: inline-block;
	background: #f1f5f9;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: var(--cg-radius-pill);
}

.cg-card-preview .cg-highlight-tag {
	display: block;
	width: 100%;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	padding: 8px 12px;
	border-radius: 10px;
	text-align: center;
}

.cg-card-preview .cg-highlight-tag strong {
	color: var(--cg-primary);
	font-weight: 700;
}

/* Unbox Health 2x2 Clean Spec Grid */
.cg-spec-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 10px;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	margin-top: auto;
}

.cg-spec-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: auto;
	min-height: 30px;
	max-height: none;
	overflow: hidden;
}

.cg-spec-item-full {
	grid-column: 1 / -1;
	padding: 2px 0 0 0;
	margin-top: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	height: auto;
	min-height: 0;
	max-height: none;
	justify-content: flex-start;
	overflow: visible;
	box-sizing: border-box;
}

.cg-spec-item-full .cg-spec-label {
	display: block;
	font-size: 10.5px;
	line-height: 1.2;
	margin-bottom: 2px;
	overflow: visible;
}

.cg-spec-item-full .cg-spec-val {
	font-size: 12px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.35;
	height: auto;
	min-height: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

.cg-spec-label {
	font-size: 10.5px;
	color: #64748b;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 2px;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cg-spec-val {
	font-size: 13px;
	font-weight: 700;
	color: var(--cg-text);
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cg-highlight-val {
	color: #0f172a;
}

.cg-product-actions {
	padding: 12px 16px;
	background: #ffffff;
	border-top: 1px solid #f1f5f9;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
}

.cg-product-actions-row {
	display: flex;
	gap: 6px;
	width: 100%;
}

.cg-product-actions-row .cg-btn {
	flex: 1 1 0;
	min-width: 0;
	padding: 7px 6px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	text-align: center;
	justify-content: center;
	box-sizing: border-box;
	height: 32px;
	display: inline-flex;
	align-items: center;
}

.cg-btn-apply-full {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 8px 12px;
	font-size: 12.5px;
	font-weight: 700;
	box-sizing: border-box;
	height: 34px;
}

.cg-cards-grid .cg-product-card.cg-row-has-migrated .cg-product-actions {
	padding-bottom: 16px;
}

.cg-cards-grid .cg-apply-cta-group--card:has(.cg-apply-migrated-note) {
	position: relative;
}

.cg-cards-grid .cg-apply-cta-group--card .cg-apply-migrated-note {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 2px);
	font-size: 9.5px;
	line-height: 1.1;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Comparison Highlight Cards (Homepage & Compare Hub)
   -------------------------------------------------------------------------- */
.cg-comparisons-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 1024px) {
	.cg-comparisons-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cg-card-comparisons-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 1024px) {
	.cg-card-comparisons-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cg-cmp-btn-mobile {
	display: none;
}

@media (max-width: 767px) {
	.cg-cmp-btn-desktop {
		display: none;
	}
	.cg-cmp-btn-mobile {
		display: inline;
	}
	.cg-comparisons-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.cg-comparisons-grid .cg-comparison-box,
	#comparisons .cg-comparison-box {
		justify-content: center;
		padding: 13px 11px;
	}
	.cg-comparisons-grid .cg-comparison-box h3 {
		font-size: 12.5px;
		line-height: 1.3;
		margin-bottom: 0;
	}
	.cg-comparisons-grid .cg-vs-label {
		font-size: 10px;
	}
	.cg-card-comparisons-grid {
		grid-template-columns: 1fr;
	}
}

.cg-comparison-box {
	position: relative;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: var(--cg-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cg-comparison-box:hover {
	border-color: var(--cg-blue);
	background: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px -6px rgba(37, 99, 235, 0.14);
}

.cg-comparison-box h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 0;
}

.cg-comparison-box h3 a {
	color: var(--cg-primary);
	text-decoration: none;
	transition: color 0.15s ease;
}

.cg-comparison-box .cg-vs-label {
	display: inline-block;
	background: var(--cg-saffron-light);
	color: var(--cg-saffron);
	border: 1px solid var(--cg-saffron-border);
	border-radius: var(--cg-radius-pill);
	padding: 1px 7px;
	font-size: 0.76em;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.35;
	vertical-align: middle;
	margin: 0 4px;
}

.cg-comparison-box:hover h3 a,
.cg-comparison-box h3 a:hover {
	color: var(--cg-blue-hover);
}

.cg-comparison-box h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.cg-comparison-box:hover h3 a {
	color: var(--cg-accent, #2563eb);
}

.cg-comparison-box p {
	font-size: 13px;
	color: var(--cg-text-muted);
	line-height: 1.5;
	margin: 6px 0 0 0;
}

/* --------------------------------------------------------------------------
   Directory & Archive Filter Toolbar
   -------------------------------------------------------------------------- */
.cg-directory-header {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 26px 30px;
	margin: 6px 0 24px 0;
	box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.06);
}

.cg-directory-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 8px 0;
	letter-spacing: -0.6px;
	line-height: 1.25;
}

.cg-directory-subtitle {
	font-size: 15px;
	color: #475569;
	margin: 0;
	line-height: 1.6;
}

@media (max-width: 767px) {
	.cg-directory-header {
		padding: 16px 12px;
		border-radius: 14px;
		margin: 4px 0 18px 0;
	}
}

.cg-directory-section-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 26px 30px;
	margin: 0 0 24px 0;
	box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.06);
}

.cg-directory-section-card > .cg-results-count-bar {
	margin-top: 0;
}

.cg-directory-section-card > .cg-archive-grid-header {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid #f1f5f9;
}

.cg-directory-section-card > .cg-cards-grid:last-child,
.cg-directory-section-card > .cg-blog-grid:last-child,
.cg-directory-section-card > .cg-news-grid:last-child {
	margin-bottom: 0;
}

.cg-directory-section-card > .cg-load-more-container:last-child {
	margin-top: 28px;
	margin-bottom: 4px;
}

.cg-directory-section-card > .cg-empty-state {
	border: none;
	box-shadow: none;
	margin: 0;
	padding: 32px 16px;
}

@media (max-width: 767px) {
	.cg-directory-section-card {
		padding: 16px 12px;
		border-radius: 14px;
		margin: 0 0 18px 0;
	}

	.cg-directory-section-card > .cg-load-more-container:last-child {
		margin-top: 20px;
		margin-bottom: 0;
	}
}

.cg-archive-grid-header {
	margin-bottom: 20px;
}

.cg-archive-grid-header h2 {
	font-size: 22px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.35px;
}

.cg-directory-grid-header {
	margin-bottom: 0;
	min-width: 0;
}

.cg-archive-subtext {
	font-size: 14.5px;
	font-weight: 400;
	color: #475569;
	margin: 6px 0 0 0;
	line-height: 1.55;
	max-width: 72ch;
}

/* Quick Navigation Bar: 4 Jump Dropdowns (Category, Bank, Network, Co-Brand) */
.cg-quick-nav-bar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 14px 18px;
	margin-bottom: 24px;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
}

.cg-directory-header .cg-quick-nav-bar {
	background: transparent;
	border: none;
	border-top: 1px solid #e2e8f0;
	border-radius: 0;
	box-shadow: none;
	padding: 18px 0 0 0;
	margin: 20px 0 0 0;
}

.cg-quick-nav-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.cg-quick-nav-label {
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #475569;
}

.cg-quick-nav-group:nth-child(1) .cg-quick-nav-label { color: #c2410c; }
.cg-quick-nav-group:nth-child(2) .cg-quick-nav-label { color: #1d4ed8; }
.cg-quick-nav-group:nth-child(3) .cg-quick-nav-label { color: #047857; }
.cg-quick-nav-group:nth-child(4) .cg-quick-nav-label { color: #4338ca; }

.cg-quick-nav-group:nth-child(1) .cg-quick-select { border-color: #fed7aa; background: #fffbf7; }
.cg-quick-nav-group:nth-child(2) .cg-quick-select { border-color: #bfdbfe; background: #f7faff; }
.cg-quick-nav-group:nth-child(3) .cg-quick-select { border-color: #a7f3d0; background: #f4fdf9; }
.cg-quick-nav-group:nth-child(4) .cg-quick-select { border-color: #c7d2fe; background: #f7f7ff; }

.cg-quick-select-wrap {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
}

.cg-quick-select {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: #f8fafc;
	background-image: none !important;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	padding: 8px 30px 8px 12px;
	font-size: 13.5px;
	font-weight: 500;
	color: #0f172a;
	outline: none;
	cursor: pointer;
	font-family: inherit;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: all 0.15s ease;
}

.cg-quick-select::-ms-expand {
	display: none;
}

.cg-quick-select::picker-icon {
	display: none;
}

.cg-quick-select:hover {
	border-color: #93c5fd;
	background-color: #ffffff;
}

.cg-quick-select:focus {
	border-color: var(--cg-blue);
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.cg-select-arrow {
	position: absolute;
	right: 11px;
	z-index: 2;
	pointer-events: none;
	color: #64748b;
}

@media (max-width: 768px) {
	.cg-quick-nav-bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		padding: 12px;
		margin-bottom: 18px;
		border-radius: 10px;
		box-sizing: border-box;
	}

	.cg-directory-header .cg-quick-nav-bar {
		padding: 14px 0 0 0;
		margin: 14px 0 0 0;
		border-radius: 0;
	}

	.cg-quick-nav-group {
		gap: 4px;
	}

	.cg-quick-nav-label {
		font-size: 10.5px;
		letter-spacing: 0.2px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cg-quick-select {
		padding: 7px 26px 7px 9px;
		font-size: 12px;
		border-radius: 7px;
		border-width: 1px;
	}

	.cg-select-arrow {
		right: 8px;
		width: 11px;
		height: 11px;
	}
}

.cg-filter-toolbar {
	background: #ffffff;
	border: 1px solid var(--cg-blue-border);
	border-radius: var(--cg-radius);
	padding: 16px 20px;
	margin-bottom: 24px;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
}

.cg-filter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}

.cg-filter-group {
	display: flex;
	flex-direction: column;
	min-width: 140px;
	flex: 1;
}

.cg-filter-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: #64748b;
	margin-bottom: 4px;
}

.cg-select-pill {
	padding: 7px 12px;
	border: 1px solid var(--cg-border);
	border-radius: var(--cg-radius-pill);
	font-size: 13px;
	font-weight: 500;
	background: #f8fafc;
	color: var(--cg-text);
	outline: none;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.15s ease;
}

.cg-select-pill:focus {
	border-color: var(--cg-blue);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.cg-filter-actions {
	display: flex;
	gap: 8px;
}

.cg-results-count-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid #f1f5f9;
}

.cg-archive-heading {
	font-size: 22px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.35px;
}

.cg-results-count-text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	background: var(--cg-accent-light);
	border: 1px solid var(--cg-accent-border);
	border-radius: var(--cg-radius-pill);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	color: #065f46;
	box-shadow: 0 1px 2px rgba(5, 150, 105, 0.08);
	white-space: nowrap;
	flex-shrink: 0;
	max-width: 100%;
}

.cg-results-count-text strong {
	color: #047857;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.cg-results-count-label {
	display: inline;
}

.cg-empty-state {
	background: #ffffff;
	border: 1px solid var(--cg-border);
	border-radius: var(--cg-radius);
	padding: 48px 24px;
	text-align: center;
	margin: 32px 0;
}

.cg-empty-state h3 {
	margin: 0 0 8px 0;
	color: var(--cg-primary);
}

.cg-empty-state p {
	color: var(--cg-text-muted);
	margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.cg-breadcrumbs {
	padding: 10px 0 14px 0;
	font-size: 12.5px;
	color: #64748b;
}

.cg-breadcrumbs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
	line-height: 1.5;
}

.cg-crumb-item {
	display: inline;
	white-space: normal;
}

.cg-breadcrumbs a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.15s ease;
}

.cg-breadcrumbs a:hover {
	color: var(--cg-primary);
	text-decoration: underline;
}

.cg-crumb-current {
	color: var(--cg-primary);
	font-weight: 600;
	white-space: normal;
}

.cg-breadcrumbs span.sep {
	margin: 0 6px;
	color: #cbd5e1;
	font-size: 13px;
	user-select: none;
}

/* --------------------------------------------------------------------------
   Single Credit Card Page (Verified Breakdown Aesthetic)
   -------------------------------------------------------------------------- */
.cg-card-hero {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--cg-radius-lg);
	padding: 36px 40px;
	margin-bottom: 28px;
	box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
}

.cg-hero-grid {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 40px;
	align-items: center;
}

.cg-card-image-wrap {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1200 / 675;
	width: 100%;
	overflow: hidden;
	box-shadow: 0 12px 26px -8px rgba(15, 23, 42, 0.12);
}

.cg-card-image-wrap.is-flippable {
	position: relative;
	display: block;
	overflow: visible;
	background: transparent;
	border: none;
	box-shadow: none;
	perspective: 1100px;
	cursor: pointer;
}

.cg-card-image-wrap img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1200 / 675;
	object-fit: cover;
	display: block;
	border-radius: 14px;
	max-height: none;
}

.cg-card-image-wrap .cg-card-placeholder {
	width: 100%;
	height: 100%;
	aspect-ratio: 1200 / 675;
	background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0f172a 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 20px;
	text-align: center;
}

.cg-card-image-wrap .cg-card-placeholder::before {
	width: 34px;
	height: 24px;
	bottom: 16px;
	left: 18px;
	border-radius: 5px;
}

.cg-card-thumb {
	width: 160px;
	aspect-ratio: 1200 / 675;
	height: auto;
	margin: 0 auto;
	border-radius: 10px;
	overflow: hidden;
	background: #1e293b;
	box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
}

.cg-card-thumb .cg-card-placeholder::before,
.cg-inline-card-media .cg-card-placeholder::before {
	width: 16px;
	height: 11px;
	bottom: 7px;
	left: 8px;
	border-radius: 3px;
}

.cg-card-thumb img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1200 / 675;
	object-fit: cover;
	display: block;
}

.cg-hero-badges-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.cg-single-title {
	font-size: 30px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 12px 0;
	letter-spacing: -0.6px;
	line-height: 1.25;
}

/* Card Title & Guru Score Row */
.cg-card-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 12px;
}

.cg-card-title {
	font-size: 28px;
	font-weight: 800;
	color: var(--cg-primary, #0f172a);
	margin: 0;
	letter-spacing: -0.6px;
	line-height: 1.2;
	flex: 1;
}

@media (min-width: 961px) {
	.cg-card-hero,
	.cg-child-hero {
		position: relative;
	}

	.cg-card-hero:has(.cg-rating-popover-wrap) {
		padding-top: 60px;
	}

	.cg-card-hero .cg-card-title-row > .cg-rating-popover-wrap {
		position: absolute;
		top: 18px;
		right: 24px;
		z-index: 20;
	}

	.cg-child-hero:has(.cg-rating-popover-wrap) .cg-child-hero-top {
		padding-right: 260px;
	}

	.cg-child-hero .cg-card-title-row > .cg-rating-popover-wrap {
		position: absolute;
		top: 24px;
		right: 28px;
		z-index: 20;
	}
}

.cg-card-tagline {
	font-size: 16.5px;
	color: var(--cg-text-muted, #475569);
	margin: 0 0 24px 0;
	line-height: 1.6;
}

.cg-card-actions {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	flex-wrap: wrap;
	width: 100%;
}

.cg-card-actions .cg-btn {
	padding: 13px 28px;
	font-size: 15.5px;
}

.cg-card-actions > .cg-apply-cta-group--hero,
.cg-card-actions > a.cg-btn-primary,
.cg-card-actions .cg-btn-primary,
.cg-card-actions .cg-btn-discontinued {
	flex: 1 1 0%;
	min-width: 180px;
}

.cg-card-actions .cg-apply-cta-group--hero .cg-btn,
.cg-card-actions > a.cg-btn-primary,
.cg-card-actions .cg-btn-primary,
.cg-card-actions .cg-btn-discontinued {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}

.cg-apply-cta-group--hero .cg-apply-migrated-note {
	font-size: 12px;
	text-align: center;
}

.cg-card-actions .cg-btn-outline,
.cg-card-actions .cg-btn-review,
.cg-card-actions .cg-trigger-compare {
	flex: 0 0 auto;
	white-space: nowrap;
}

.cg-card-actions > .cg-btn-review,
.cg-card-actions > .cg-review-popover-wrap,
.cg-card-actions > .cg-trigger-compare {
	flex: 0 0 162px;
	width: 162px;
}

.cg-card-actions > .cg-btn-review,
.cg-card-actions > .cg-review-popover-wrap .cg-btn-review,
.cg-card-actions > .cg-trigger-compare {
	width: 100%;
	height: 46px;
	min-height: 46px;
	padding: 0 20px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.cg-card-actions .cg-trigger-share {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	padding: 0 !important;
	white-space: nowrap;
}

.cg-share-btn-text {
	display: none !important;
}

.cg-trigger-share {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.cg-trigger-share.is-copied {
	border-color: #10b981 !important;
	color: #10b981 !important;
	background: #ecfdf5 !important;
}

/* Card Star Rating Row: "Rating: ★★★★★ 4.7 /5" + Popover */
.cg-rating-popover-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.cg-card-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	white-space: nowrap;
	background: #ffffff;
	border: 1px solid var(--cg-border, #e2e8f0);
	border-radius: 9999px;
	padding: 4px 12px;
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cg-card-rating:hover,
.cg-rating-popover-wrap.is-open .cg-card-rating {
	border-color: #94a3b8;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
	text-decoration: none;
	color: inherit;
}

.cg-rating-info-icon {
	color: #94a3b8;
	flex-shrink: 0;
	width: 13px;
	height: 13px;
	margin-left: 1px;
	transition: color 0.15s ease;
}

.cg-card-rating:hover .cg-rating-info-icon,
.cg-rating-popover-wrap.is-open .cg-rating-info-icon {
	color: var(--cg-accent, #059669);
}

.cg-rating-popover {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 9999;
	width: 296px;
	max-width: calc(100vw - 24px);
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 14px;
	padding: 12px 14px;
	box-shadow: 0 18px 40px -8px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.06);
	text-align: left;
	white-space: normal;
	box-sizing: border-box;
}

.cg-rating-popover::before {
	content: '';
	position: absolute;
	top: -6px;
	right: 20px;
	width: 10px;
	height: 10px;
	background: #ffffff;
	border-left: 1px solid #cbd5e1;
	border-top: 1px solid #cbd5e1;
	transform: rotate(45deg);
}

.cg-rating-popover-wrap.is-open .cg-rating-popover {
	display: block;
	animation: cgFadeIn 0.15s ease-out;
}

@keyframes cgFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.cg-rating-popover-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px 0;
}

.cg-rating-popover-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
	flex-shrink: 0;
}

.cg-rating-popover-title {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.25;
}

.cg-rating-popover-text {
	font-size: 11.5px;
	line-height: 1.4;
	color: #475569;
	margin: 0 0 7px 0;
}

.cg-rating-popover-list {
	list-style: none;
	margin: 0 0 8px 0;
	padding: 8px 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.cg-rating-popover-list li {
	position: relative;
	padding-left: 15px;
	font-size: 11.5px;
	line-height: 1.35;
	color: #334155;
}

.cg-rating-popover-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 1px;
	color: #059669;
	font-weight: 700;
	font-size: 10.5px;
}

.cg-rating-popover-list--criteria {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 12px;
	padding: 8px 10px;
}

.cg-rating-popover-list--criteria li {
	padding-left: 14px;
	font-size: 11px;
	font-weight: 500;
	color: #0f172a;
	line-height: 1.35;
}

.cg-rating-popover-list--criteria li::before {
	font-size: 10px;
}

.cg-rating-popover-list li strong {
	color: #0f172a;
	font-weight: 600;
}

.cg-rating-popover-footer {
	padding-top: 8px;
	border-top: 1px solid #f1f5f9;
}

.cg-rating-popover-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 700;
	color: #059669;
	text-decoration: none;
}

.cg-rating-popover-link:hover {
	text-decoration: underline;
	color: #047857;
}

.cg-rating-text {
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	letter-spacing: -0.2px;
	line-height: 1;
}

.cg-rating-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	line-height: 1;
}

.cg-rating-stars .cg-star-icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.cg-rating-score {
	display: inline-flex;
	align-items: baseline;
	gap: 1px;
	margin-left: 2px;
	line-height: 1;
}

.cg-rating-num {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.3px;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.cg-rating-max {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	line-height: 1;
}

.cg-guru-score-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1.5px solid #10b981;
	border-radius: 9999px;
	padding: 4px 12px 4px 6px;
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
	flex-shrink: 0;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cg-guru-score-badge:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
}

.cg-guru-score-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #065f46;
	background: #ecfdf5;
	padding: 3px 8px;
	border-radius: 9999px;
	border: 1px solid #a7f3d0;
	line-height: 1.3;
}

.cg-guru-score-val {
	display: inline-flex;
	align-items: baseline;
	line-height: 1;
}

.cg-guru-score-num {
	font-size: 18px;
	font-weight: 800;
	color: #059669;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.3px;
}

.cg-guru-score-max {
	font-size: 11.5px;
	font-weight: 600;
	color: #64748b;
	margin-left: 1px;
}

.cg-badges-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.cg-tag-badge {
	display: inline-block;
	background: #f1f5f9;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: var(--cg-radius-pill);
	border: 1px solid var(--cg-border);
}

.cg-tag-badge.green {
	background: var(--cg-accent-light);
	color: var(--cg-accent);
	border-color: var(--cg-accent-border);
}

.cg-tag-badge.blue {
	background: #eff6ff;
	color: #1d4ed8;
	border-color: #bfdbfe;
}

/* Card details tables: completely remove pill outlines and borders */
.cg-fact-table .cg-tag-badge,
.cg-fact-value .cg-tag-badge {
	display: inline;
	background: transparent !important;
	color: inherit !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	font-size: inherit !important;
	font-weight: 500 !important;
}

.cg-hero-desc {
	font-size: 15px;
	color: var(--cg-text-muted);
	margin-bottom: 22px;
	line-height: 1.6;
}

.cg-hero-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.cg-verification-notice {
	font-size: 12px;
	color: var(--cg-text-muted);
	display: flex;
	align-items: center;
}

/* --------------------------------------------------------------------------
   Clinical Tables (Spec Matrix)
   -------------------------------------------------------------------------- */
.cg-table-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--cg-radius-lg);
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cg-table-card-header {
	padding: 15px 20px;
	background: #f4f7fc;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cg-table-card-header h2,
.cg-table-card-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: var(--cg-primary);
	letter-spacing: -0.15px;
}

.cg-table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.cg-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	table-layout: fixed;
}

.cg-table th, .cg-table td {
	padding: 12px 18px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #e2e8f0;
	overflow-wrap: break-word;
}

.cg-table th + th,
.cg-table td + td {
	border-left: 1px solid #e2e8f0;
}

.cg-table th {
	background: #f4f7fb;
	font-weight: 700;
	color: #475569;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	vertical-align: middle;
}

.cg-table tr:last-child td {
	border-bottom: none;
}

.cg-table tbody tr {
	transition: background-color 0.14s ease;
}

.cg-table tbody tr:nth-child(even) td {
	background: #f8faff;
}

.cg-table tbody tr:hover td {
	background: #eff6ff;
}

.cg-table td.cg-label {
	font-weight: 600;
	color: #475569;
}

/* --------------------------------------------------------------------------
   Pros and Cons (Unbox Health Clean Aesthetic)
   -------------------------------------------------------------------------- */
.cg-pros-cons-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 24px;
}

.cg-pros-box, .cg-cons-box {
	background: #ffffff;
	border: 1px solid #eaecf0;
	border-radius: var(--cg-radius);
	padding: 22px;
	box-shadow: var(--cg-shadow-sm);
}

.cg-pros-box {
	background: #f4fdf8;
	border-color: #bbf7d0;
}

.cg-cons-box {
	background: #fff6f6;
	border-color: #fecaca;
}

.cg-pros-box h4 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 700;
	color: #065f46;
}

.cg-cons-box h4 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 700;
	color: #991b1b;
}

.cg-pros-box ul, .cg-cons-box ul {
	margin: 0;
	padding-left: 18px;
}

.cg-pros-box li, .cg-cons-box li {
	margin-bottom: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: #334155;
}

/* --------------------------------------------------------------------------
   Comparison Page (Head-to-Head Showdown)
   -------------------------------------------------------------------------- */
.cg-compare-header {
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border: 1px solid var(--cg-blue-border);
	border-radius: var(--cg-radius-lg);
	padding: 32px 20px;
	margin-bottom: 28px;
	text-align: center;
	box-shadow: 0 10px 26px -8px rgba(15, 23, 42, 0.08);
}

.cg-compare-main-title {
	font-size: clamp(14px, 1.95vw, 26px);
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 10px 0;
	letter-spacing: -0.5px;
	line-height: 1.25;
}

@media (min-width: 768px) {
	.cg-compare-main-title {
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	.cg-compare-main-title {
		white-space: normal;
	}
}

.cg-vs-label {
	color: #64748b;
	font-weight: 500;
	margin: 0 4px;
}

.cg-compare-main-desc {
	color: var(--cg-text-muted);
	font-size: 15px;
	margin: 0 auto 28px auto;
	max-width: 680px;
	line-height: 1.6;
}

.cg-compare-versus-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 20px;
	align-items: stretch;
	max-width: 100%;
	margin: 0 auto;
}

.cg-card-preview {
	background: #ffffff;
	border: 1px solid var(--cg-blue-border);
	border-radius: 14px;
	padding: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.06);
}

.cg-compare-versus-grid .cg-card-preview.card-a .cg-card-placeholder,
.cg-compare-versus-grid .cg-card-preview:first-child .cg-card-placeholder {
	background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0f172a 100%);
}

.cg-compare-versus-grid .cg-card-preview.card-b .cg-card-placeholder,
.cg-compare-versus-grid .cg-card-preview:last-child .cg-card-placeholder {
	background: linear-gradient(135deg, #022c22 0%, #047857 58%, #064e3b 100%);
}

.cg-card-preview .cg-product-media {
	aspect-ratio: auto;
}

.cg-card-preview h2 {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cg-compare-card-title-link {
	color: inherit;
	text-decoration: none;
}

.cg-compare-card-title-link:hover,
.cg-compare-card-title-link:focus-visible {
	color: var(--cg-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cg-vs-circle {
	width: 46px;
	height: 46px;
	align-self: center;
	background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.02em;
	box-shadow: 0 6px 16px rgba(234, 88, 12, 0.3);
	border: 2px solid #ffffff;
}

.cg-winner-badge {
	display: inline-block;
	background: var(--cg-accent-light);
	color: var(--cg-accent);
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: var(--cg-radius-pill);
	text-transform: uppercase;
	margin-left: 8px;
}

/* Compare Hub Banner & Selector Box */
.cg-compare-hub-hero {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px 28px;
	box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.06);
}

@media (max-width: 767px) {
	.cg-compare-hub-hero {
		padding: 20px 16px;
		border-radius: 14px;
	}
}

.cg-compare-selector-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px;
	margin: 0 auto 48px auto;
	box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.07);
	max-width: 900px;
}

.cg-compare-selector-title {
	margin: 0 0 24px 0;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	color: var(--cg-primary);
}

.cg-compare-selector-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 20px;
	align-items: center;
}

.cg-compare-selector-field {
	min-width: 0;
}

.cg-compare-selector-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: #64748b;
	margin-bottom: 8px;
}

.cg-compare-selector-grid .cg-select-pill {
	width: 100%;
	padding: 12px 16px;
	font-size: 14px;
	box-sizing: border-box;
}

.cg-compare-selector-grid .cg-vs-circle {
	margin-top: 22px;
}

.cg-compare-selector-actions {
	text-align: center;
	margin-top: 28px;
}

.cg-compare-selector-actions .cg-btn-lg {
	min-width: 240px;
}

/* --------------------------------------------------------------------------
   Floating Comparison Bar (Sticky Bottom Dock)
   -------------------------------------------------------------------------- */
.cg-compare-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(15, 23, 42, 0.98);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: #ffffff;
	padding: 12px 20px;
	z-index: 9999;
	border-top: 1px solid rgba(148, 163, 184, 0.28);
	box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.34);
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s ease;
}

.cg-compare-bar.active {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.cg-compare-bar-inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.cg-compare-bar-label {
	font-size: 14px;
	font-weight: 800;
	color: #f8fafc;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.cg-compare-slots {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.cg-compare-slot {
	flex: 1 1 0;
	background: #1e293b;
	border: 1px dashed #475569;
	border-radius: var(--cg-radius-pill);
	padding: 7px 10px 7px 14px;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
	max-width: 340px;
	min-height: 38px;
	color: #94a3b8;
	box-sizing: border-box;
}

.cg-slot-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cg-compare-slot.filled {
	background: #334155;
	border-style: solid;
	border-color: #64748b;
	color: #ffffff;
	font-weight: 600;
}

.cg-slot-vs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(251, 146, 60, 0.16);
	color: #fb923c;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 0.04em;
	flex-shrink: 0;
}

.cg-slot-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 999px;
	background: rgba(248, 113, 113, 0.16);
	color: #fca5a5;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	flex-shrink: 0;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cg-slot-remove:hover {
	background: rgba(239, 68, 68, 0.35);
	color: #ffffff;
}

.cg-compare-bar-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.cg-compare-bar-actions .cg-btn.disabled {
	opacity: 0.72;
	pointer-events: none;
	background: #334155;
	color: #cbd5e1 !important;
	box-shadow: none;
}

/* --------------------------------------------------------------------------
   Editorial Sidebar Layout (Single News & Blog)
   -------------------------------------------------------------------------- */
.cg-editorial-container {
	max-width: 1200px !important;
}

.cg-editorial-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 32px;
	align-items: start;
}

.cg-editorial-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cg-sidebar-card {
	background: #ffffff;
	border: 1px solid var(--cg-blue-border);
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
}

.cg-sidebar-cta {
	background: #f8fafc;
	border-color: #e2e8f0;
}

.cg-sidebar-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 12px 0;
}

.cg-sidebar-desc {
	font-size: 13px;
	color: var(--cg-text-muted);
	line-height: 1.5;
	margin: 0 0 14px 0;
}

.cg-sidebar-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cg-sidebar-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fbff;
	text-decoration: none;
	transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.cg-sidebar-list-item:hover {
	border-color: var(--cg-blue);
	background: #eff6ff;
	transform: translateX(2px);
}

.cg-sidebar-item-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.cg-sidebar-item-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--cg-primary);
	line-height: 1.35;
}

.cg-sidebar-item-sub {
	font-size: 11.5px;
	color: var(--cg-text-muted);
}

.cg-sidebar-arrow {
	color: var(--cg-accent);
	font-weight: 700;
	flex-shrink: 0;
}

.cg-sidebar-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cg-sidebar-pill {
	display: inline-block;
	padding: 5px 11px;
	font-size: 12px;
	font-weight: 600;
	color: #1e40af;
	background: var(--cg-blue-light);
	border: 1px solid var(--cg-blue-border);
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cg-sidebar-pill:hover {
	border-color: var(--cg-blue);
	background: var(--cg-blue);
	color: #ffffff;
	transform: translateY(-1px);
}

.cg-blog-single-article h2[id] {
	scroll-margin-top: 90px;
}

.cg-editorial-post-header {
	margin-bottom: 24px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.cg-editorial-post-header--blog {
	margin-bottom: 28px;
	padding: 0;
}

.cg-editorial-post-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--cg-primary);
	line-height: 1.25;
	margin: 0 0 14px 0;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--cg-border);
	letter-spacing: -0.02em;
}

.cg-editorial-post-header--blog .cg-editorial-post-title {
	margin-bottom: 16px;
	padding-bottom: 16px;
}

.cg-editorial-post-meta {
	font-size: 13px;
	line-height: 1.4;
	color: var(--cg-text-muted);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}

.cg-editorial-author-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 3px 11px 3px 4px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	color: #475569;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cg-editorial-author-chip strong {
	color: #0f172a;
	font-weight: 700;
}

.cg-editorial-author-chip:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
}

.cg-editorial-author-chip:hover strong {
	color: var(--cg-accent);
}

.cg-editorial-author-avatar {
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cg-editorial-meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	color: #475569;
	font-weight: 500;
	white-space: nowrap;
	max-width: 100%;
}

.cg-editorial-meta-chip svg {
	color: #64748b;
	flex-shrink: 0;
}

.cg-editorial-edit-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	padding: 4px 11px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	color: #1d4ed8;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cg-editorial-edit-chip:hover {
	background: #dbeafe;
	border-color: #93c5fd;
	color: #1e40af;
}

.cg-editorial-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	max-width: 100%;
}

.cg-editorial-post-author {
	color: #1e293b;
	font-weight: 700;
	text-decoration: none;
}

.cg-editorial-post-author:hover {
	text-decoration: underline;
}

.cg-meta-sep {
	color: #94a3b8;
	user-select: none;
}

.cg-editorial-layout > article .cg-post-content h2,
.cg-editorial-layout > article .cg-page-content h2 {
	font-size: 26px;
	line-height: 1.35;
}

.cg-editorial-layout > article .cg-post-content h3,
.cg-editorial-layout > article .cg-page-content h3 {
	font-size: 22px;
	line-height: 1.4;
}

.cg-editorial-layout > article .cg-post-content h4,
.cg-editorial-layout > article .cg-page-content h4 {
	font-size: 18px;
	line-height: 1.4;
}

.cg-inline-toc {
	background: #f8fafc;
	border: 1px solid var(--cg-border);
	border-radius: 12px;
	padding: 16px 20px;
	margin: 24px 0 28px 0;
}

.cg-inline-toc-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.cg-inline-toc-summary::-webkit-details-marker {
	display: none;
}

.cg-inline-toc-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0;
}

.cg-inline-toc-toggle-pill {
	font-size: 12px;
	font-weight: 700;
	color: var(--cg-accent);
	background: #ffffff;
	border: 1px solid var(--cg-border);
	border-radius: 999px;
	padding: 4px 12px;
}

.cg-inline-toc-toggle-text::after {
	content: 'Show';
}

.cg-inline-toc[open] .cg-inline-toc-toggle-text::after {
	content: 'Hide';
}

.cg-inline-toc-list {
	margin: 14px 0 0 0;
	padding: 14px 0 0 20px;
	border-top: 1px solid var(--cg-border);
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.cg-inline-toc-list li {
	font-size: 14px;
	line-height: 1.45;
	color: var(--cg-accent);
	font-weight: 600;
}

.cg-inline-toc-list a {
	color: var(--cg-primary);
	text-decoration: none;
	font-weight: 600;
}

.cg-inline-toc-list a:hover {
	color: var(--cg-accent);
	text-decoration: underline;
}

.cg-similar-cards-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.cg-similar-cards-list .cg-inline-card-cta {
	position: relative;
	margin: 0;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	align-items: center;
	gap: 12px;
	padding: 14px;
}

.cg-similar-cards-list .cg-inline-card-media {
	position: static;
	width: 88px;
	display: block;
	grid-column: 1;
	grid-row: 1;
}

.cg-similar-cards-list .cg-inline-card-media .cg-product-rating-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	gap: 3px;
	padding: 2.5px 6px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.cg-similar-cards-list .cg-inline-card-media .cg-product-rating-badge-star {
	width: 10.5px;
	height: 10.5px;
}

.cg-similar-cards-list .cg-inline-card-media .cg-product-rating-badge-val {
	font-size: 10.5px;
	font-weight: 700;
	color: #b45309;
}

.cg-similar-cards-list .cg-inline-card-body {
	display: contents;
}

.cg-similar-cards-list .cg-inline-card-title-row {
	grid-column: 2;
	grid-row: 1;
	margin-bottom: 0;
	padding-right: 0;
	align-self: center;
}

.cg-similar-cards-list .cg-inline-card-title {
	display: block;
	font-size: 14.5px;
	line-height: 1.3;
	overflow: hidden;
}

.cg-similar-cards-list .cg-inline-card-title::before {
	content: "";
	float: right;
	width: 48px;
	height: 18px;
}

.cg-similar-cards-list .cg-inline-card-fees {
	grid-column: 1 / -1;
	grid-row: 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.cg-similar-cards-list .cg-inline-fee-item {
	padding: 6px 8px;
}

.cg-similar-cards-list .cg-inline-fee-val {
	font-size: 12.5px;
}

.cg-similar-cards-list .cg-inline-card-actions {
	grid-column: 1 / -1;
	grid-row: 3;
	width: 100%;
	align-self: end;
}

.cg-similar-cards-list .cg-inline-card-apply {
	width: 100%;
	justify-content: center;
	padding: 7px 12px;
	font-size: 12.5px;
	min-height: unset;
}

.cg-similar-cards-list .cg-apply-cta-group--inline:has(.cg-apply-migrated-note) {
	position: relative;
}

.cg-similar-cards-list .cg-apply-cta-group--inline .cg-apply-migrated-note {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 2px);
	font-size: 9.5px;
	line-height: 1.1;
	margin: 0;
}

@media (min-width: 1025px) {
	.cg-similar-cards-list:has(> .cg-inline-card-cta:nth-child(-n+4) .cg-apply-migrated-note) > .cg-inline-card-cta:nth-child(-n+4),
	.cg-similar-cards-list:has(> .cg-inline-card-cta:nth-child(n+5):nth-child(-n+8) .cg-apply-migrated-note) > .cg-inline-card-cta:nth-child(n+5):nth-child(-n+8) {
		padding-bottom: 16px;
	}
}

@media (max-width: 1024px) {
	.cg-similar-cards-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cg-similar-cards-list:has(> .cg-inline-card-cta:nth-child(-n+2) .cg-apply-migrated-note) > .cg-inline-card-cta:nth-child(-n+2),
	.cg-similar-cards-list:has(> .cg-inline-card-cta:nth-child(n+3):nth-child(-n+4) .cg-apply-migrated-note) > .cg-inline-card-cta:nth-child(n+3):nth-child(-n+4),
	.cg-similar-cards-list:has(> .cg-inline-card-cta:nth-child(n+5):nth-child(-n+6) .cg-apply-migrated-note) > .cg-inline-card-cta:nth-child(n+5):nth-child(-n+6),
	.cg-similar-cards-list:has(> .cg-inline-card-cta:nth-child(n+7):nth-child(-n+8) .cg-apply-migrated-note) > .cg-inline-card-cta:nth-child(n+7):nth-child(-n+8) {
		padding-bottom: 16px;
	}
}

@media (max-width: 767px) {
	.cg-similar-cards-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.cg-similar-cards-list .cg-inline-card-cta {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 12px 10px;
	}

	.cg-similar-cards-list > .cg-inline-card-cta:nth-child(n+5) {
		display: none;
	}

	.cg-similar-cards-list .cg-inline-card-media {
		position: relative;
		width: 100%;
		display: block;
		gap: 0;
	}

	.cg-similar-cards-list .cg-inline-card-media .cg-product-rating-badge {
		position: absolute;
		top: 6px;
		right: 6px;
		gap: 3px;
		padding: 3px 6px;
		background: rgba(255, 255, 255, 0.94);
		border: 1px solid rgba(15, 23, 42, 0.08);
		box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
	}

	.cg-similar-cards-list .cg-inline-card-media .cg-product-rating-badge-star {
		width: 10.5px;
		height: 10.5px;
	}

	.cg-similar-cards-list .cg-inline-card-media .cg-product-rating-badge-val {
		font-size: 10.5px;
		font-weight: 700;
		color: #0f172a;
	}

	.cg-similar-cards-list .cg-inline-card-body {
		display: flex;
		flex-direction: column;
		gap: 8px;
		flex: 1;
	}

	.cg-similar-cards-list .cg-inline-card-title-row {
		align-self: flex-start;
		padding-right: 0;
	}

	.cg-similar-cards-list .cg-inline-card-title {
		font-size: 13px;
		line-height: 1.3;
	}

	.cg-similar-cards-list .cg-inline-card-title::before {
		display: none;
		content: none;
	}

	.cg-similar-cards-list .cg-inline-card-fees {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		margin-top: auto;
	}

	.cg-similar-cards-list .cg-inline-fee-item {
		padding: 5px 4px;
		min-width: 0;
	}

	.cg-similar-cards-list .cg-inline-fee-label {
		font-size: 8.5px;
		letter-spacing: 0.2px;
	}

	.cg-similar-cards-list .cg-inline-fee-val {
		font-size: 11px;
		line-height: 1.2;
		white-space: nowrap;
	}

	.cg-similar-cards-list .cg-inline-fee-item:last-child .cg-inline-fee-val.cg-text-success {
		font-size: 9px;
		letter-spacing: -0.25px;
	}

	.cg-similar-cards-list .cg-inline-card-apply {
		padding: 6px 8px;
		font-size: 11px;
		min-height: unset;
	}
}

/* Inline Horizontal Card CTA Block (Blog & News) */
.cg-inline-card-cta {
	display: flex;
	align-items: center;
	gap: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px 20px;
	margin: 24px 0;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.cg-inline-card-media {
	position: relative;
	width: 150px;
	flex-shrink: 0;
	display: block;
	text-decoration: none !important;
}

.cg-inline-card-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 1200 / 675;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.cg-inline-card-media .cg-card-placeholder {
	width: 100%;
	aspect-ratio: 1200 / 675;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.4px;
	text-decoration: none !important;
}

.cg-inline-card-body {
	flex: 1;
	min-width: 0;
}

.cg-inline-card-title-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.cg-inline-card-title {
	font-size: 17px;
	font-weight: 800;
	color: var(--cg-primary) !important;
	text-decoration: none !important;
	line-height: 1.3;
}

.cg-inline-card-title:hover {
	color: var(--cg-accent) !important;
	text-decoration: none !important;
}

.cg-inline-card-ltf-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: #047857;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 999px;
	padding: 2px 9px;
}

.cg-inline-card-fees {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.cg-inline-fee-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 6px 12px;
}

.cg-inline-fee-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--cg-text-muted);
}

.cg-inline-fee-val {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--cg-primary);
}

.cg-inline-card-actions {
	flex-shrink: 0;
}

.cg-inline-card-apply {
	white-space: nowrap;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

@media (max-width: 640px) {
	.cg-inline-card-cta {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
		align-items: center;
		gap: 12px 14px;
		padding: 16px;
	}

	.cg-inline-card-media {
		width: 104px;
		grid-column: 1;
		grid-row: 1;
	}

	.cg-inline-card-body {
		display: contents;
	}

	.cg-inline-card-title-row {
		grid-column: 2;
		grid-row: 1;
		margin-bottom: 0;
		align-self: center;
	}

	.cg-inline-card-title {
		font-size: 15.5px;
		line-height: 1.3;
	}

	.cg-inline-card-fees {
		grid-column: 1 / -1;
		grid-row: 2;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.cg-inline-fee-item {
		padding: 8px 10px;
	}

	.cg-inline-fee-label {
		font-size: 10px;
	}

	.cg-inline-fee-val {
		font-size: 13px;
	}

	.cg-inline-card-actions {
		grid-column: 1 / -1;
		grid-row: 3;
		width: 100%;
	}

	.cg-inline-card-apply {
		width: 100%;
		justify-content: center;
		padding: 11px 16px;
		font-size: 14px;
	}
}

@media (max-width: 960px) {
	.cg-editorial-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.cg-editorial-sidebar {
		position: static;
		gap: 14px;
	}
}

@media (max-width: 640px) {
	.cg-editorial-layout > article,
	.cg-blog-single-article {
		padding: 20px 16px !important;
		border-radius: 12px !important;
	}

	.cg-editorial-layout > article h1 {
		font-size: 26px !important;
	}

	.cg-editorial-post-header,
	.cg-editorial-post-header--blog {
		margin-bottom: 18px;
		padding: 0;
	}

	.cg-editorial-post-title,
	.cg-editorial-post-header--blog .cg-editorial-post-title {
		margin-bottom: 12px;
		padding-bottom: 12px;
	}

	.cg-editorial-post-meta {
		font-size: 12px;
		line-height: 1.4;
		gap: 6px 8px;
	}

	.cg-editorial-author-chip {
		padding: 2px 9px 2px 3px;
		gap: 6px;
	}

	.cg-editorial-author-avatar {
		width: 20px;
		height: 20px;
		font-size: 9.5px;
	}

	.cg-editorial-meta-chip,
	.cg-editorial-edit-chip {
		padding: 3px 9px;
	}

	.cg-editorial-edit-chip {
		margin-left: 0;
	}

	.cg-editorial-post-meta svg {
		width: 12px;
		height: 12px;
	}

	.cg-editorial-layout > article .cg-post-content h2,
	.cg-editorial-layout > article .cg-page-content h2 {
		font-size: 22px;
	}

	.cg-editorial-layout > article .cg-post-content h3,
	.cg-editorial-layout > article .cg-page-content h3 {
		font-size: 19px;
	}

	.cg-editorial-layout > article .cg-post-content h4,
	.cg-editorial-layout > article .cg-page-content h4 {
		font-size: 17px;
	}

	.cg-sidebar-card {
		padding: 16px;
	}

	.cg-sidebar-list {
		gap: 8px;
	}

	.cg-sidebar-list-item {
		padding: 9px 10px;
	}
}

/* --------------------------------------------------------------------------
   Editorial Pages Only (page.php & author.php)
   -------------------------------------------------------------------------- */
.cg-editorial-page-main {
	padding: 4px 0 64px 0;
}

.cg-editorial-page-container {
	max-width: 1040px;
}

.cg-standard-page {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px 44px;
	box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.06);
	min-width: 0;
}

.cg-editorial-page-header {
	margin-bottom: 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--cg-border);
}

.cg-editorial-page-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--cg-primary);
	line-height: 1.25;
	margin: 0 0 10px 0;
	letter-spacing: -0.02em;
}

.cg-editorial-page-meta {
	font-size: 13.5px;
	color: var(--cg-text-muted);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.cg-editorial-edit-link {
	color: var(--cg-blue);
	text-decoration: none;
	font-weight: 600;
}

.cg-editorial-edit-link:hover {
	text-decoration: underline;
}

.cg-page-featured-media {
	margin-bottom: 28px;
	border-radius: 10px;
	overflow: hidden;
}

.cg-page-featured-img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}

.cg-standard-page .cg-page-content,
.cg-archive-guide-body {
	font-size: 16px;
	line-height: 1.75;
	color: #1e293b;
	overflow-wrap: break-word;
}

.cg-archive-guide-body {
	padding: 26px 28px;
}

.cg-archive-guide-body > :first-child {
	margin-top: 0;
}

.cg-archive-guide-body > :last-child {
	margin-bottom: 0;
}

.cg-archive-guide-body > p:first-of-type {
	font-size: 16px;
	line-height: 1.75;
	color: #1e293b;
	font-weight: 400;
}

.cg-standard-page .cg-page-content h1,
.cg-standard-page .cg-page-content h2,
.cg-archive-guide-body h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	margin: 28px 0 12px 0;
	color: var(--cg-primary);
	letter-spacing: -0.01em;
}

.cg-standard-page .cg-page-content h3,
.cg-archive-guide-body h3 {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	margin: 22px 0 10px 0;
	color: var(--cg-primary);
}

.cg-standard-page .cg-page-content h4,
.cg-archive-guide-body h4 {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	margin: 18px 0 8px 0;
	color: var(--cg-primary);
}

.cg-archive-guide-body a {
	color: var(--cg-blue);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(37, 99, 235, 0.38);
	text-underline-offset: 3px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease;
}

.cg-archive-guide-body a:hover {
	color: var(--cg-blue-hover);
	text-decoration-color: var(--cg-blue-hover);
	background: rgba(37, 99, 235, 0.07);
	border-radius: 3px;
}

@media (max-width: 767px) {
	.cg-archive-guide-body {
		padding: 18px 16px;
		font-size: 15px;
		line-height: 1.7;
	}

	.cg-archive-guide-body > p:first-of-type {
		font-size: 15px;
		line-height: 1.7;
	}

	.cg-archive-guide-body h2 {
		font-size: 20px;
	}

	.cg-archive-guide-body h3 {
		font-size: 17.5px;
	}
}

.cg-standard-page .cg-page-content > p:first-of-type,
.cg-standard-page .cg-page-content .cg-lead {
	font-size: 16.5px;
	line-height: 1.75;
	color: #334155;
}

.cg-standard-page .cg-page-content .wp-block-table,
.cg-standard-page .cg-page-content .cg-table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 24px 0;
}

.cg-standard-page .cg-page-content .wp-block-table table,
.cg-standard-page .cg-page-content .cg-table-scroll table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.cg-standard-page .cg-page-content .wp-block-table th,
.cg-standard-page .cg-page-content .wp-block-table td,
.cg-standard-page .cg-page-content .cg-table-scroll th,
.cg-standard-page .cg-page-content .cg-table-scroll td {
	border: 1px solid var(--cg-border);
	padding: 12px 16px;
}

/* Author Profile Card (author.php) */
.cg-author-hero-card {
	background: #ffffff;
	border: 1px solid var(--cg-border);
	border-radius: 14px;
	padding: 32px 36px;
	margin-bottom: 32px;
	display: flex;
	gap: 24px;
	align-items: center;
	box-shadow: var(--cg-shadow-sm);
}

.cg-author-hero-avatar {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--cg-primary);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 30px;
	flex-shrink: 0;
}

.cg-author-hero-info {
	min-width: 0;
	flex: 1;
}

.cg-author-hero-badge {
	margin-bottom: 6px;
}

.cg-author-hero-title {
	margin: 4px 0 8px 0;
}

.cg-author-hero-desc {
	color: var(--cg-text-muted);
	font-size: 15px;
	margin: 0;
	line-height: 1.6;
}

.cg-author-articles-heading {
	font-size: 22px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 20px 0;
}

@media (max-width: 960px) {
	.cg-editorial-page-main {
		padding: 4px 0 56px 0;
	}

	.cg-standard-page {
		padding: 28px;
	}

	.cg-editorial-page-title {
		font-size: 28px;
	}
}

@media (max-width: 640px) {
	.cg-editorial-page-main {
		padding: 2px 0 44px 0;
	}

	.cg-standard-page {
		padding: 20px 16px;
		border-radius: 12px;
	}

	.cg-editorial-page-header {
		margin-bottom: 18px;
		padding-bottom: 14px;
	}

	.cg-editorial-page-title {
		font-size: 26px;
		line-height: 1.25;
		margin-bottom: 8px;
	}

	.cg-editorial-page-meta {
		font-size: 12.5px;
		gap: 8px;
	}

	.cg-page-featured-media {
		margin-bottom: 20px;
		border-radius: 8px;
	}

	.cg-standard-page .cg-page-content {
		font-size: 15px;
		line-height: 1.7;
	}

	.cg-standard-page .cg-page-content > p:first-of-type,
	.cg-standard-page .cg-page-content .cg-lead {
		font-size: 15.5px;
		line-height: 1.7;
	}

	.cg-standard-page .cg-page-content p {
		margin-bottom: 14px;
		line-height: 1.7;
	}

	.cg-standard-page .cg-page-content ul,
	.cg-standard-page .cg-page-content ol {
		margin-bottom: 16px;
		padding-left: 20px;
	}

	.cg-standard-page .cg-page-content li {
		margin-bottom: 6px;
	}

	.cg-standard-page .cg-page-content h1,
	.cg-standard-page .cg-page-content h2 {
		font-size: 22px;
		line-height: 1.32;
		margin: 22px 0 10px 0;
	}

	.cg-standard-page .cg-page-content h3 {
		font-size: 19px;
		line-height: 1.38;
		margin: 18px 0 8px 0;
	}

	.cg-standard-page .cg-page-content h4 {
		font-size: 17px;
		line-height: 1.4;
		margin: 16px 0 6px 0;
	}

	.cg-standard-page .cg-page-content blockquote {
		margin: 18px 0;
		padding: 12px 14px;
	}

	.cg-standard-page .cg-page-content hr {
		margin: 22px 0;
	}

	.cg-standard-page .cg-page-content .wp-block-table,
	.cg-standard-page .cg-page-content .cg-table-scroll {
		margin: 18px 0;
	}

	.cg-standard-page .cg-page-content .wp-block-table table,
	.cg-standard-page .cg-page-content .cg-table-scroll table {
		font-size: 13px;
		table-layout: auto;
	}

	.cg-standard-page .cg-page-content .wp-block-table th,
	.cg-standard-page .cg-page-content .wp-block-table td,
	.cg-standard-page .cg-page-content .cg-table-scroll th,
	.cg-standard-page .cg-page-content .cg-table-scroll td {
		padding: 9px 11px;
		vertical-align: top;
	}

	.cg-author-hero-card {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 16px;
		gap: 14px;
		margin-bottom: 24px;
		border-radius: 12px;
	}

	.cg-author-hero-avatar {
		width: 60px;
		height: 60px;
		font-size: 24px;
	}

	.cg-author-hero-desc {
		font-size: 14px;
	}

	.cg-author-articles-heading {
		font-size: 19px;
		margin-bottom: 14px;
	}
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.cg-footer {
	background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
	color: #475569;
	padding: 50px 0 30px 0;
	margin-top: 60px;
	border-top: 1px solid #dbe4f0;
	box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.03);
	font-size: 14px;
}

.cg-footer a {
	color: #334155;
	text-decoration: none;
	transition: color 0.15s ease;
}

.cg-footer a:hover {
	color: var(--cg-blue-hover);
}

.cg-footer-grid {
	display: grid;
	grid-template-columns: minmax(250px, 1.6fr) repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin-bottom: 40px;
}

.cg-footer-about-text {
	line-height: 1.6;
	font-size: 14px;
	font-weight: 400;
	color: #475569;
	margin: 0 0 14px 0;
}

@media (min-width: 1025px) {
	.cg-footer-grid {
		grid-template-columns: 30% repeat(4, 16.75%);
		column-gap: 0.75%;
		row-gap: 28px;
	}

	.cg-footer-about {
		padding-right: 14px;
		box-sizing: border-box;
	}

	.cg-footer-grid > .cg-footer-col:not(.cg-footer-about) {
		position: relative;
		padding-left: 14px;
		padding-right: 14px;
		box-sizing: border-box;
	}

	.cg-footer-grid > .cg-footer-col:last-child {
		padding-right: 0;
	}

	.cg-footer-grid > .cg-footer-col:not(.cg-footer-about)::before {
		content: "";
		position: absolute;
		left: -2.24%;
		top: 8%;
		height: 82%;
		width: 1px;
		background: linear-gradient(180deg, rgba(203, 213, 225, 0.15) 0%, #cbd5e1 20%, #cbd5e1 80%, rgba(203, 213, 225, 0.15) 100%);
	}
}

.cg-footer-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}

.cg-footer-social-link {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #475569;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cg-footer a.cg-footer-social-link:hover,
.cg-footer-social-link:hover {
	background: var(--cg-blue);
	border-color: var(--cg-blue);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.cg-footer-col h4,
.cg-footer-title {
	color: var(--cg-primary);
	font-size: 15px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 14px;
}

.cg-footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cg-footer-col li {
	margin-bottom: 8px;
}

.cg-disclaimer-box {
	background: #ffffff;
	padding: 16px 20px;
	border-radius: var(--cg-radius);
	margin-bottom: 24px;
	font-size: 12px;
	line-height: 1.6;
	color: #475569;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.cg-disclaimer-box strong {
	color: var(--cg-primary);
}

.cg-disclaimer-box a {
	color: var(--cg-blue);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(37, 99, 235, 0.35);
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.cg-disclaimer-box a:hover {
	color: var(--cg-blue-hover);
	text-decoration-color: var(--cg-accent);
}

.cg-footer-bottom {
	border-top: 1px solid #e2e8f0;
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 20px;
	font-size: 12.5px;
	color: #64748b;
}

.cg-footer-bottom-copy {
	line-height: 1.5;
}

.cg-footer-bottom-copy a {
	color: var(--cg-primary);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

.cg-footer-bottom-copy a:hover {
	color: var(--cg-blue);
}

.cg-footer-made-in {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #475569;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.5;
}

.cg-footer-trademark {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
	text-align: center;
	font-size: 12px;
	color: #64748b;
	line-height: 1.5;
}

.cg-footer-heart {
	color: #ef4444;
	font-size: 13px;
	line-height: 1;
	display: inline-block;
	margin: 0 1px;
}

@media (max-width: 640px) {
	.cg-footer-bottom {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 8px;
		padding-top: 18px;
		font-size: 12px;
	}

	.cg-footer-made-in {
		font-size: 12px;
	}
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.cg-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}
	.cg-footer-about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 992px) {
	.cg-trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.cg-child-links-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
}

@media (max-width: 768px) {
	.cg-hide-mobile,
	.cg-trust-strip {
		display: none !important;
	}
	.cg-home-tax-section {
		padding: 20px 0 26px;
	}
	.cg-home-tax-section .cg-section-header {
		margin-bottom: 12px;
	}
	.cg-home-tax-section .cg-section-title {
		font-size: 19px;
	}
	.cg-home-cat-pills {
		gap: 5px;
	}
	.cg-home-cat-pill {
		padding: 4px 8px;
		font-size: 12px;
		font-weight: 400;
		line-height: 1.25;
	}
	.cg-nav {
		display: none;
	}
	.cg-mobile-menu-btn {
		display: inline-flex;
	}
	.cg-header-search-wrap {
		display: none;
	}
	.cg-hero-title {
		font-size: 30px;
	}
	.cg-hero-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.cg-card-title-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 10px;
	}
	.cg-rating-popover {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}
	.cg-rating-popover::before {
		right: auto;
		left: 50%;
		margin-left: -4px;
	}
	.cg-card-title {
		text-align: center;
	}
	.cg-card-tagline {
		text-align: center;
	}
	.cg-card-image-wrap {
		max-width: 240px;
		margin: 0 auto;
	}
	.cg-hero-badges-top, .cg-badges-list, .cg-hero-actions, .cg-verification-notice {
		justify-content: center;
	}
	.cg-compare-versus-grid {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}
	.cg-pros-cons-grid {
		grid-template-columns: 1fr;
	}
	.cg-compare-bar {
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) 12px;
	}
	.cg-compare-bar-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}
	.cg-compare-bar-label {
		font-size: 12.5px;
		line-height: 1.2;
	}
	.cg-compare-slots {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
		gap: 6px;
		width: 100%;
	}
	.cg-compare-slot {
		width: 100%;
		min-width: 0;
		max-width: none;
		min-height: 36px;
		padding: 5px 7px 5px 10px;
		border-radius: 10px;
		font-size: 11.5px;
		line-height: 1.25;
		gap: 4px;
	}
	.cg-compare-slot .cg-slot-name {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		word-break: break-word;
	}
	.cg-slot-vs {
		padding: 3px 6px;
		font-size: 9.5px;
	}
	.cg-slot-remove {
		width: 18px;
		height: 18px;
		font-size: 13px;
	}
	.cg-compare-bar-actions {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		gap: 8px;
		width: 100%;
	}
	.cg-compare-bar-actions .cg-btn {
		width: 100%;
		justify-content: center;
		min-height: 34px;
		padding: 6px 12px;
		font-size: 12.5px;
	}
	.cg-trust-grid {
		grid-template-columns: 1fr;
	}
	.cg-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}
	.cg-footer-about {
		grid-column: 1 / -1;
	}
	.cg-footer-categories {
		grid-column: 1;
	}
	.cg-footer-banks {
		grid-column: 2;
	}
	.cg-footer-quicklinks {
		grid-column: 1;
	}
	.cg-footer-legal {
		grid-column: 2;
	}
	.cg-footer-col {
		min-width: 0;
	}
	.cg-footer-col li {
		font-size: 13px;
		line-height: 1.45;
		margin-bottom: 8px;
		word-break: break-word;
	}
}

/* --------------------------------------------------------------------------
   Child Pages & Standardized Fact Sheet Components (Unbox Health Style)
   -------------------------------------------------------------------------- */
.cg-child-links-section {
	margin: 40px 0;
	background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
	border: 1px solid var(--cg-blue-border);
	border-radius: var(--cg-radius-lg);
	padding: 32px;
	box-shadow: 0 10px 26px -8px rgba(37, 99, 235, 0.08);
}

.cg-child-links-header {
	margin-bottom: 24px;
}

.cg-child-links-title {
	font-size: 22px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 6px 0;
}

.cg-card-section-block {
	margin: 40px 0;
}

.cg-card-section-block--top-only {
	margin: 40px 0 0 0;
}

.cg-card-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.cg-card-section-heading {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0;
	color: var(--cg-primary);
}

.cg-card-section-heading--compact {
	font-size: 20px;
	margin: 0 0 16px 0;
}

.cg-child-links-desc {
	font-size: 14px;
	color: var(--cg-text-muted);
	margin: 0;
}

.cg-child-links-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.cg-child-links-grid:has(> :last-child:nth-child(3)) {
	grid-template-columns: repeat(3, 1fr);
}

.cg-child-links-grid:has(> :last-child:nth-child(2)) {
	grid-template-columns: repeat(2, 1fr);
}

.cg-child-links-grid:has(> :last-child:nth-child(1)) {
	grid-template-columns: 1fr;
	max-width: 480px;
}

.cg-child-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cg-child-card:hover {
	background: #ffffff;
	border-color: var(--cg-blue);
	transform: translateY(-3px);
	box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.14);
	text-decoration: none;
}

.cg-child-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.cg-child-icon {
	font-size: 20px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	flex-shrink: 0;
}

.cg-child-card-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--cg-primary);
	margin: 0;
}

.cg-child-card-desc {
	font-size: 13px;
	color: var(--cg-text-muted);
	line-height: 1.5;
	margin: 0 0 14px 0;
}

.cg-child-card-cta {
	font-size: 13px;
	font-weight: 700;
	color: var(--cg-accent);
	display: flex;
	align-items: center;
	gap: 4px;
}

.cg-child-card:hover .cg-child-card-cta {
	color: var(--cg-accent-hover);
}

/* Child Page Sticky Subnav & In-Page TOC */
html {
	scroll-behavior: smooth;
}

.cg-subnav-container {
	position: sticky;
	top: 68px;
	z-index: 40;
	background: #ffffff;
	border-bottom: 1px solid #eaecf0;
	box-shadow: 0 2px 4px rgba(0,0,0,0.02);
	margin-bottom: 32px;
}

body.admin-bar .cg-subnav-container {
	top: 100px;
}

/* JUMP TO Table of Contents Bar */
.cg-toc-container {
	position: sticky;
	top: 68px;
	z-index: 40;
	background: #ffffff;
	margin-top: 16px;
	margin-bottom: 28px;
	padding: 10px 0 12px 0;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #dbeafe;
	box-shadow: 0 6px 18px -6px rgba(15, 23, 42, 0.08);
	transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.cg-toc-container.cg-toc-hidden {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: translateY(-100%) !important;
}

.cg-toc-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

.cg-toc-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #475467;
	text-transform: uppercase;
	white-space: nowrap;
	flex-shrink: 0;
	user-select: none;
}

.cg-toc-index-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 11px;
	border-radius: 999px;
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	color: #1e40af;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.cg-toc-index-lines {
	display: none;
}

.cg-toc-index-btn:hover,
.cg-toc-index-btn[aria-expanded="true"] {
	background: var(--cg-blue);
	border-color: var(--cg-blue);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.cg-toc-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1px 6px;
	border-radius: 999px;
	background: #ffffff;
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	border: 1px solid #dbeafe;
}

.cg-toc-index-btn:hover .cg-toc-count-badge,
.cg-toc-index-btn[aria-expanded="true"] .cg-toc-count-badge {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.32);
}

.cg-toc-index-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 1002;
	width: min(560px, calc(100vw - 24px));
	max-height: calc(100vh - 210px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 14px;
	padding: 12px;
	box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.2);
	display: none;
}

.cg-toc-index-panel.is-open {
	display: block;
	animation: cgFadeIn 0.15s ease-out;
}

.cg-toc-index-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

@media (max-width: 560px) {
	.cg-toc-index-grid {
		grid-template-columns: 1fr;
	}
}

.cg-toc-index-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 9px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: var(--cg-primary);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cg-toc-index-item:hover {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1d4ed8;
}

.cg-toc-index-item.active {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-color: #1d4ed8;
	color: #ffffff;
}

.cg-toc-index-num {
	font-size: 10.5px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	padding: 2px 6px;
	border-radius: 6px;
	background: #ffffff;
	color: #475569;
	border: 1px solid #e2e8f0;
	flex-shrink: 0;
}

.cg-toc-index-item.active .cg-toc-index-num {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.3);
}

.cg-toc-scroll-shell {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.cg-toc-nav-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: var(--cg-primary);
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cg-toc-nav-btn.is-visible {
	display: inline-flex;
}

.cg-toc-nav-btn:hover {
	background: var(--cg-blue);
	border-color: var(--cg-blue);
	color: #ffffff;
}

.cg-toc-scroll {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 7px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 2px 2px;
	scroll-behavior: smooth;
}

.cg-toc-scroll::-webkit-scrollbar {
	display: none;
}

.cg-toc-pill {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.cg-toc-pill-num {
	font-size: 10.5px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #64748b;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 1px 5px;
	line-height: 1.25;
}

.cg-toc-pill:hover {
	color: var(--cg-blue-hover);
	border-color: var(--cg-blue-border);
	background: var(--cg-blue-light);
	transform: translateY(-1px);
	text-decoration: none;
}

.cg-toc-pill:hover .cg-toc-pill-num {
	color: var(--cg-blue-hover);
	border-color: var(--cg-blue-border);
}

.cg-toc-pill.active {
	color: #ffffff;
	background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
	border-color: var(--cg-blue-hover);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.cg-toc-pill.active .cg-toc-pill-num {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.32);
}

section[id].cg-fact-table-card,
section[id].cg-table-card,
section[id].cg-verdict-card,
section[id].cg-child-links-section,
#overview,
#fees-charges,
#welcome-benefits,
#welcome-milestones,
#rewards-cashback,
#lounge-access,
#travel-lounge,
#everyday-benefits,
#eligibility,
#reward-exclusions,
#exclusions,
#editorial-verdict,
#verdict,
#which-is-better,
#detailed-guides,
#guides,
#comparisons,
#faqs,
.cg-child-body h2[id],
.cg-blog-single-article h2[id],
.cg-post-content h2[id],
.cg-page-content h2[id] {
	scroll-margin-top: 148px;
}

body.admin-bar section[id].cg-fact-table-card,
body.admin-bar section[id].cg-table-card,
body.admin-bar section[id].cg-verdict-card,
body.admin-bar section[id].cg-child-links-section,
body.admin-bar #overview,
body.admin-bar #fees-charges,
body.admin-bar #welcome-benefits,
body.admin-bar #welcome-milestones,
body.admin-bar #rewards-cashback,
body.admin-bar #lounge-access,
body.admin-bar #travel-lounge,
body.admin-bar #everyday-benefits,
body.admin-bar #eligibility,
body.admin-bar #reward-exclusions,
body.admin-bar #exclusions,
body.admin-bar #editorial-verdict,
body.admin-bar #verdict,
body.admin-bar #which-is-better,
body.admin-bar #detailed-guides,
body.admin-bar #guides,
body.admin-bar #comparisons,
body.admin-bar #faqs,
body.admin-bar .cg-child-body h2[id],
body.admin-bar .cg-blog-single-article h2[id],
body.admin-bar .cg-post-content h2[id],
body.admin-bar .cg-page-content h2[id] {
	scroll-margin-top: 180px;
}

.cg-subnav-scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 12px 0;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.cg-subnav-scroll::-webkit-scrollbar {
	display: none;
}

@media (min-width: 768px) {
	/* Compact Desktop Header + Sticky TOC Strip (~99px combined instead of ~152px) */
	.cg-header-inner {
		height: 56px;
	}

	.cg-logo-img {
		height: 34px;
	}

	.cg-nav {
		gap: 18px;
	}

	.cg-nav-link {
		padding: 5px 12px;
		font-size: 13.5px;
	}

	.cg-header-compare-btn {
		min-height: 32px;
		padding: 5px 12px;
		font-size: 13px;
	}

	.cg-header-search-input {
		padding: 5px 12px 5px 32px;
		font-size: 13px;
	}

	.cg-subnav-container,
	.cg-toc-container {
		top: 56px;
	}

	body.admin-bar .cg-subnav-container,
	body.admin-bar .cg-toc-container {
		top: 88px;
	}

	.cg-toc-container {
		margin-top: 12px;
		margin-bottom: 22px;
		padding: 5px 0 7px 0;
	}

	.cg-toc-container .cg-toc-scroll {
		padding: 1px 2px;
		gap: 6px;
	}

	.cg-toc-index-btn {
		padding: 4px 10px;
		font-size: 11.5px;
		gap: 6px;
	}

	.cg-toc-count-badge {
		font-size: 10.5px;
		padding: 1px 5px;
	}

	.cg-toc-pill {
		padding: 4px 10px;
		font-size: 12.5px;
		gap: 5px;
	}

	.cg-toc-pill-num {
		font-size: 10px;
		padding: 1px 5px;
	}

	.cg-toc-nav-btn {
		width: 24px;
		height: 24px;
	}

	section[id].cg-fact-table-card,
	section[id].cg-table-card,
	section[id].cg-verdict-card,
	section[id].cg-child-links-section,
	#overview,
	#fees-charges,
	#welcome-benefits,
	#welcome-milestones,
	#rewards-cashback,
	#lounge-access,
	#travel-lounge,
	#everyday-benefits,
	#eligibility,
	#reward-exclusions,
	#exclusions,
	#editorial-verdict,
	#verdict,
	#which-is-better,
	#detailed-guides,
	#guides,
	#comparisons,
	#faqs,
	.cg-child-body h2[id],
	.cg-blog-single-article h2[id],
	.cg-post-content h2[id],
	.cg-page-content h2[id] {
		scroll-margin-top: 114px;
	}

	body.admin-bar section[id].cg-fact-table-card,
	body.admin-bar section[id].cg-table-card,
	body.admin-bar section[id].cg-verdict-card,
	body.admin-bar section[id].cg-child-links-section,
	body.admin-bar #overview,
	body.admin-bar #fees-charges,
	body.admin-bar #welcome-benefits,
	body.admin-bar #welcome-milestones,
	body.admin-bar #rewards-cashback,
	body.admin-bar #lounge-access,
	body.admin-bar #travel-lounge,
	body.admin-bar #everyday-benefits,
	body.admin-bar #eligibility,
	body.admin-bar #reward-exclusions,
	body.admin-bar #exclusions,
	body.admin-bar #editorial-verdict,
	body.admin-bar #verdict,
	body.admin-bar #which-is-better,
	body.admin-bar #detailed-guides,
	body.admin-bar #guides,
	body.admin-bar #comparisons,
	body.admin-bar #faqs,
	body.admin-bar .cg-child-body h2[id],
	body.admin-bar .cg-blog-single-article h2[id],
	body.admin-bar .cg-post-content h2[id],
	body.admin-bar .cg-page-content h2[id] {
		scroll-margin-top: 146px;
	}
}

.cg-subnav-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--cg-text-muted);
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--cg-radius-pill);
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.15s ease;
}

.cg-subnav-pill:hover {
	color: var(--cg-blue-hover);
	background: var(--cg-blue-light);
	border-color: var(--cg-blue-border);
	text-decoration: none;
}

.cg-subnav-pill.active {
	color: #ffffff;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-color: var(--cg-blue-hover);
	box-shadow: 0 3px 10px rgba(37, 99, 235, 0.26);
}

/* Child Header / Hero */
.cg-child-hero {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--cg-radius-lg);
	padding: 32px;
	margin-bottom: 30px;
	box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
}

.cg-child-hero-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}

.cg-back-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--cg-text-muted);
	text-decoration: none;
}

.cg-back-card-link:hover {
	color: var(--cg-primary);
	text-decoration: none;
}

.cg-child-hero-h1 {
	font-size: 26px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 10px 0;
	letter-spacing: -0.5px;
}

.cg-card-title-row .cg-child-hero-h1 {
	margin: 0;
}

/* Editorial Author Box */
.cg-author-box {
	margin-top: 32px;
	padding: 20px 24px;
	background: #f8fafc;
	border: 1px solid var(--cg-border, #e2e8f0);
	border-radius: 12px;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	column-gap: 14px;
	row-gap: 14px;
	align-items: center;
}

.cg-author-avatar {
	grid-column: 1;
	grid-row: 1;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--cg-primary);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
	align-self: center;
	margin-top: 0;
}

.cg-author-header {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	min-width: 0;
	align-self: center;
}

.cg-author-identity {
	min-width: 0;
}

.cg-author-eyebrow {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	line-height: 1.2;
	margin-bottom: 2px;
}

.cg-author-name {
	display: inline-block;
	font-size: 15.5px;
	font-weight: 800;
	color: var(--cg-primary);
	line-height: 1.3;
	text-decoration: none;
}

.cg-author-name:hover {
	text-decoration: underline;
}

.cg-author-profile-link {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--cg-primary);
	background: #ffffff;
	border: 1px solid #cbd5e1;
	padding: 6px 14px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cg-author-profile-link:hover {
	background: var(--cg-primary);
	color: #ffffff;
	border-color: var(--cg-primary);
}

.cg-author-bio {
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid var(--cg-border, #e2e8f0);
	font-size: 14px;
	line-height: 1.6;
	color: #475569;
}

@media (max-width: 640px) {
	.cg-author-box {
		margin-top: 24px;
		padding: 15px 16px;
		border-radius: 10px;
		grid-template-columns: 38px minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 10px;
	}

	.cg-author-avatar {
		grid-row: 1;
		width: 38px;
		height: 38px;
		font-size: 12.5px;
		align-self: center;
		margin-top: 0;
	}

	.cg-author-header {
		align-self: center;
		gap: 8px;
	}

	.cg-author-eyebrow {
		font-size: 10px;
	}

	.cg-author-name {
		font-size: 14.5px;
	}

	.cg-author-profile-link {
		font-size: 11px;
		padding: 4px 9px;
	}

	.cg-author-bio {
		grid-column: 1 / -1;
		grid-row: 2;
		margin: 0;
		padding-top: 10px;
		border-top: 1px solid #e2e8f0;
		font-size: 13px;
		line-height: 1.55;
	}
}

.cg-child-hero-lead {
	font-size: 16px;
	color: var(--cg-text-muted);
	line-height: 1.6;
	margin: 0 0 20px 0;
	max-width: 800px;
}

.cg-child-hero-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

/* Topic In-depth Content */
.cg-child-body {
	background: #ffffff;
	border: 1px solid #eaecf0;
	border-radius: var(--cg-radius-lg);
	padding: 36px;
	margin-bottom: 30px;
	box-shadow: var(--cg-shadow-card);
	font-size: 16px;
	line-height: 1.7;
	color: #334155;
}

.cg-child-body h2 {
	font-size: 22px;
	font-weight: 800;
	color: var(--cg-primary);
	margin-top: 32px;
	margin-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 8px;
}

.cg-child-body h3 {
	font-size: 18px;
	font-weight: 700;
	color: var(--cg-primary);
	margin-top: 24px;
	margin-bottom: 10px;
}

.cg-child-body p {
	margin-bottom: 16px;
}

.cg-child-body ul, .cg-child-body ol {
	padding-left: 24px;
	margin-bottom: 20px;
}

.cg-child-body li {
	margin-bottom: 8px;
}

.cg-child-body .cg-inline-toc-list {
	margin: 14px 0 0 0;
	padding: 14px 0 0 20px;
}

.cg-child-body .cg-inline-toc-list li {
	margin-bottom: 0;
}

/* Standardized Fact Table Styling */
.cg-fact-table-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--cg-radius-lg);
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cg-fact-table-header {
	padding: 16px 20px;
	background: #f4f7fc;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.cg-fact-table-header h2,
.cg-fact-table-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: var(--cg-primary);
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: -0.2px;
}

.cg-fact-table-header .cg-section-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: var(--cg-blue);
	color: #ffffff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 800;
}

.cg-fact-table {
	width: 100%;
	border-collapse: collapse;
}

.cg-fact-table tr {
	border-bottom: 1px solid #e2e8f0;
	transition: background-color 0.14s ease;
}

.cg-fact-table tr:nth-child(even) td:not(.cg-fact-label) {
	background: #f8faff;
}

.cg-fact-table tr:hover td {
	background: #eff6ff;
}

.cg-fact-table tr:last-child {
	border-bottom: none;
}

.cg-fact-table td {
	padding: 14px 20px;
	font-size: 14px;
	line-height: 1.5;
}

.cg-fact-table td.cg-fact-label {
	width: 35%;
	font-weight: 600;
	color: var(--cg-primary);
	background: #fafbfc;
	border-right: 1px solid #f1f5f9;
}

.cg-fact-table td.cg-fact-value {
	width: 65%;
	color: #334155;
}

/* Editorial Summary Card */
.cg-editorial-card {
	padding: 28px 32px;
	margin-bottom: 30px;
}

.cg-editorial-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 14px 0;
}

.cg-editorial-text {
	font-size: 15px;
	line-height: 1.7;
	color: #334155;
	margin-bottom: 14px;
}

/* Child Bottom CTA */
.cg-child-bottom-cta {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--cg-radius-lg);
	padding: 32px;
	margin-top: 30px;
	text-align: center;
	box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.06);
}

.cg-child-bottom-cta-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 10px 0;
}

.cg-child-bottom-cta-desc {
	color: var(--cg-text-muted);
	font-size: 15px;
	margin: 0 0 20px 0;
}

.cg-child-bottom-cta-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}

.cg-apply-cta-group--bottom-cta {
	max-width: 320px;
}

/* Comparison Head-to-Head Sections */
.cg-verdict-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--cg-radius-lg);
	padding: 28px;
	margin-bottom: 30px;
	box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.06);
}

.cg-verdict-title {
	font-size: 22px;
	font-weight: 800;
	color: var(--cg-primary);
	margin-top: 0;
	margin-bottom: 18px;
}

.cg-verdict-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.cg-verdict-col {
	background: #f8fafc;
	padding: 18px 20px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cg-verdict-col:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.1);
}

.cg-verdict-col.card-a {
	background: #f5f9ff;
	border-color: var(--cg-blue-border);
}

.cg-verdict-col.card-b {
	background: #f2fdf8;
	border-color: var(--cg-accent-border);
}

.cg-verdict-col-title {
	margin: 0 0 10px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--cg-primary);
}

.cg-verdict-list {
	margin: 0;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.6;
	color: #334155;
}

/* Single Card Final Verdict "Choose Card if" Callout Box */
.cg-choose-card-box {
	margin-bottom: 20px;
	padding: 20px 22px;
	background: #f8faff;
	border: 1px solid #dbeafe;
	border-radius: 12px;
}

.cg-choose-card-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--cg-primary, #0f172a);
	margin: 0 0 12px 0;
}

.cg-choose-card-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cg-choose-card-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14.5px;
	color: #334155;
	line-height: 1.5;
}

.cg-choose-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: var(--cg-accent-light);
	color: var(--cg-accent);
	border: 1px solid var(--cg-accent-border);
	font-size: 11px;
	font-weight: 800;
	flex-shrink: 0;
	margin-top: 2px;
}

.cg-card-featured-in {
	margin-top: 24px;
	padding: 14px 18px;
	background: linear-gradient(90deg, #eff6ff 0%, #fff7ed 100%);
	border: 1px solid var(--cg-blue-border);
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--cg-text-muted);
}

.cg-card-featured-in-label {
	font-weight: 700;
	color: var(--cg-primary);
	margin-right: 4px;
}

.cg-card-featured-in a {
	color: var(--cg-blue);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

.cg-card-featured-in a:hover,
.cg-card-featured-in a:focus-visible {
	color: var(--cg-blue-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cg-choose-num {
	font-weight: 700;
	color: #64748b;
	font-size: 14px;
	min-width: 18px;
	flex-shrink: 0;
}

.cg-choose-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #dcfce7;
	color: #16a34a;
	font-weight: 800;
	font-size: 11px;
	line-height: 1;
	flex-shrink: 0;
	margin-top: 2px;
}

.cg-compare-guides-card {
	padding: 0;
	margin-bottom: 30px;
}

.cg-compare-guides-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0 0 8px 0;
}

.cg-compare-guides-desc {
	color: var(--cg-text-muted);
	font-size: 14px;
	margin: 0 0 20px 0;
}

.cg-compare-guides-body {
	padding: 18px 20px;
}

.cg-compare-guides-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.cg-compare-guides-grid > div {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #eaecf0;
	border-radius: var(--cg-radius);
	padding: 18px;
}

.cg-compare-guides-grid > div > div {
	margin-top: auto;
}

/* --------------------------------------------------------------------------
   Comprehensive Mobile Typography & Layout Responsiveness
   Lessens text size, optimizes paddings, ensures tables, grids & CTAs fit smoothly
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	/* Typography scale reduction on tablets & mobile */
	body {
		font-size: 14px;
		line-height: 1.5;
	}

	.cg-container {
		padding-left: 8px;
		padding-right: 8px;
	}

	/* Main headings */
	.cg-hero-title {
		font-size: 24px;
		line-height: 1.25;
		white-space: normal;
	}

	.cg-single-title {
		font-size: 22px;
		line-height: 1.25;
		margin-bottom: 8px;
	}

	.cg-child-hero-h1 {
		font-size: 21px;
		line-height: 1.25;
		margin-bottom: 8px;
	}

	.cg-directory-header {
		margin-bottom: 20px;
	}

	.cg-directory-title {
		font-size: 24px;
		line-height: 1.25;
		letter-spacing: -0.4px;
	}

	.cg-directory-subtitle {
		font-size: 14px;
		line-height: 1.55;
	}

	.cg-archive-grid-header {
		margin-bottom: 16px !important;
	}

	.cg-directory-section-card > .cg-archive-grid-header {
		padding-bottom: 14px;
	}

	.cg-directory-grid-header {
		margin-bottom: 0 !important;
	}

	.cg-archive-grid-header h2 {
		font-size: 18px !important;
		line-height: 1.3;
	}

	.cg-archive-subtext {
		font-size: 13.5px;
		margin-top: 5px;
		line-height: 1.5;
	}

	.cg-section-title {
		font-size: 20px;
		line-height: 1.3;
	}

	.cg-compare-main-title {
		font-size: 22px;
		line-height: 1.3;
	}

	/* Section header bars & subheadings */
	.cg-fact-table-header h2,
	.cg-fact-table-header h3 {
		font-size: 16px;
	}

	.cg-child-links-title {
		font-size: 18px;
	}

	.cg-card-section-block {
		margin: 28px 0;
	}

	.cg-card-section-block--top-only {
		margin: 28px 0 0 0;
	}

	.cg-card-section-header {
		margin-bottom: 14px;
	}

	.cg-card-section-heading {
		font-size: 18px;
		line-height: 1.3;
	}

	.cg-card-section-heading--compact {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.cg-table-card-header {
		padding: 12px;
	}

	.cg-table-card > div:not(.cg-table-card-header):not(.cg-table-responsive) {
		padding: 12px !important;
	}

	.cg-faq-item {
		margin-bottom: 10px !important;
		border-radius: 10px;
	}

	.cg-faq-trigger {
		padding: 12px;
		gap: 10px;
	}

	.cg-faq-panel-inner p {
		padding: 0 12px 12px 12px;
	}

	.cg-blog-single-article {
		padding: 16px 12px !important;
	}

	.cg-table-card-header h2,
	.cg-table-card-header h3 {
		font-size: 15px;
	}

	/* Card components and inner spacing */
	.cg-card-hero {
		padding: 14px 12px;
		margin-bottom: 18px;
	}

	.cg-hero-grid {
		gap: 18px;
	}

	.cg-card-image-wrap {
		max-width: 220px;
		padding: 0;
		aspect-ratio: 1200 / 675;
	}

	.cg-card-image-wrap img {
		max-height: none;
		aspect-ratio: 1200 / 675;
	}

	/* Action buttons */
	.cg-card-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
		align-items: stretch;
		width: 100%;
		gap: 10px;
	}

	.cg-card-actions > .cg-apply-cta-group--hero {
		grid-column: 1 / -1;
		width: 100%;
	}

	.cg-card-actions > a.cg-btn-primary,
	.cg-card-actions .cg-btn-primary,
	.cg-card-actions .cg-btn-discontinued {
		grid-column: 1 / -1;
		width: 100%;
		min-height: 40px;
		height: 40px;
		padding: 0 14px !important;
		font-size: 13.5px;
		line-height: 1;
	}

	.cg-card-actions .cg-btn-outline,
	.cg-card-actions .cg-btn-review,
	.cg-card-actions .cg-trigger-compare {
		min-width: 0;
		min-height: 40px;
		height: 40px;
		padding: 0 10px !important;
		font-size: 13px;
		line-height: 1;
		justify-content: center;
	}

	.cg-card-actions > .cg-btn-review,
	.cg-card-actions > .cg-review-popover-wrap,
	.cg-card-actions > .cg-trigger-compare {
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.cg-card-actions > .cg-review-popover-wrap {
		padding: 0 !important;
	}

	.cg-card-actions > .cg-review-popover-wrap .cg-btn-review {
		width: 100%;
		min-height: 40px;
		height: 40px;
		padding: 0 10px !important;
		font-size: 13px;
		line-height: 1;
	}

	.cg-card-actions .cg-trigger-share {
		width: 40px;
		min-height: 40px;
		height: 40px;
		padding: 0 !important;
		justify-content: center;
	}

	.cg-hero-actions {
		display: flex;
		flex-direction: row;
		width: 100%;
		gap: 8px;
	}

	.cg-hero-actions .cg-btn,
	.cg-child-hero-actions .cg-btn {
		flex: 1 1 auto;
		padding: 9px 14px;
		font-size: 13px;
		text-align: center;
		justify-content: center;
	}

	.cg-btn-lg {
		padding: 9px 16px;
		font-size: 13px;
	}

	/* Sticky Sub-navigation */
	.cg-subnav-container {
		margin-top: 14px !important;
		margin-bottom: 20px !important;
	}

	.cg-subnav-scroll {
		padding: 8px 0;
		gap: 6px;
	}

	.cg-subnav-pill {
		padding: 6px 11px;
		font-size: 12px;
	}

	.cg-toc-container,
	.cg-inline-toc {
		display: none !important;
	}

	section[id].cg-fact-table-card,
	section[id].cg-table-card,
	section[id].cg-verdict-card,
	section[id].cg-child-links-section,
	#overview,
	#fees-charges,
	#welcome-benefits,
	#welcome-milestones,
	#rewards-cashback,
	#lounge-access,
	#travel-lounge,
	#everyday-benefits,
	#eligibility,
	#reward-exclusions,
	#exclusions,
	#editorial-verdict,
	#verdict,
	#which-is-better,
	#detailed-guides,
	#guides,
	#comparisons,
	#faqs,
	.cg-child-body h2[id],
	.cg-blog-single-article h2[id],
	.cg-post-content h2[id],
	.cg-page-content h2[id] {
		scroll-margin-top: 84px;
	}

	body.admin-bar section[id].cg-fact-table-card,
	body.admin-bar section[id].cg-table-card,
	body.admin-bar section[id].cg-verdict-card,
	body.admin-bar section[id].cg-child-links-section,
	body.admin-bar #overview,
	body.admin-bar #fees-charges,
	body.admin-bar #welcome-benefits,
	body.admin-bar #welcome-milestones,
	body.admin-bar #rewards-cashback,
	body.admin-bar #lounge-access,
	body.admin-bar #travel-lounge,
	body.admin-bar #everyday-benefits,
	body.admin-bar #eligibility,
	body.admin-bar #reward-exclusions,
	body.admin-bar #exclusions,
	body.admin-bar #editorial-verdict,
	body.admin-bar #verdict,
	body.admin-bar #which-is-better,
	body.admin-bar #detailed-guides,
	body.admin-bar #guides,
	body.admin-bar #comparisons,
	body.admin-bar #faqs,
	body.admin-bar .cg-child-body h2[id],
	body.admin-bar .cg-blog-single-article h2[id],
	body.admin-bar .cg-post-content h2[id],
	body.admin-bar .cg-page-content h2[id] {
		scroll-margin-top: 116px;
	}

	body.cg-mobile-toc-open {
		overflow: hidden;
	}

	.cg-mobile-toc-fab {
		position: fixed;
		right: 14px;
		bottom: 18px;
		z-index: 998;
		width: 40px;
		height: 40px;
		padding: 0;
		border-radius: 50%;
		background: #ffffff;
		border: 1px solid #cbd5e1;
		color: #0f172a;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08);
		transition: bottom 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	}

	.cg-mobile-toc-fab:active {
		transform: scale(0.94);
	}

	.cg-mobile-toc-fab:focus-visible {
		outline: 2px solid var(--cg-blue);
		outline-offset: 2px;
	}

	.cg-mobile-toc-backdrop {
		position: fixed;
		inset: 0;
		z-index: 10040;
		background: rgba(15, 23, 42, 0.48);
		backdrop-filter: blur(2px);
		-webkit-backdrop-filter: blur(2px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.22s ease, visibility 0.22s ease;
	}

	.cg-mobile-toc-backdrop.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.cg-mobile-toc-sheet {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10041;
		max-height: 76vh;
		background: #ffffff;
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -14px 36px rgba(15, 23, 42, 0.22);
		display: flex;
		flex-direction: column;
		transform: translateY(105%);
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s ease;
		box-sizing: border-box;
	}

	.cg-mobile-toc-sheet.is-open {
		transform: translateY(0);
		visibility: visible;
		pointer-events: auto;
	}

	.cg-mobile-toc-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 18px 20px 14px 20px;
		border-bottom: 1px solid #f1f5f9;
		flex-shrink: 0;
	}

	.cg-mobile-toc-title {
		font-size: 17px;
		font-weight: 800;
		color: #0f172a;
		letter-spacing: -0.01em;
	}

	.cg-mobile-toc-close {
		width: 32px;
		height: 32px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: #f8fafc;
		color: #0f172a;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		flex-shrink: 0;
	}

	.cg-mobile-toc-list {
		display: flex;
		flex-direction: column;
		gap: 4px;
		padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px)) 16px;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.cg-mobile-toc-link {
		display: block;
		padding: 10px 12px;
		border-radius: 10px;
		color: #334155;
		font-size: 14.5px;
		font-weight: 500;
		line-height: 1.35;
		text-decoration: none;
		transition: background-color 0.15s ease, color 0.15s ease;
	}

	.cg-mobile-toc-link:hover {
		background: #f8fafc;
		color: #1d4ed8;
		text-decoration: none;
	}

	.cg-mobile-toc-link.is-active {
		color: #2563eb;
		background: #eff6ff;
		font-weight: 700;
	}

	/* Child Page Layout */
	.cg-child-hero {
		padding: 14px 12px;
		margin-bottom: 18px;
	}

	.cg-child-hero-lead {
		font-size: 14px;
		line-height: 1.5;
		margin-bottom: 14px;
	}

	.cg-child-body {
		padding: 14px 12px;
		font-size: 14px;
		line-height: 1.6;
	}

	.cg-child-body h2 {
		font-size: 18px;
		margin-top: 24px;
		margin-bottom: 10px;
	}

	.cg-child-body h3 {
		font-size: 15px;
		margin-top: 18px;
		margin-bottom: 8px;
	}

	.cg-child-links-section {
		padding: 20px 16px;
		margin: 24px 0;
	}

	.cg-child-links-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.cg-child-card {
		padding: 14px;
	}

	.cg-child-card-title {
		font-size: 14px;
	}

	.cg-child-card-desc {
		font-size: 12px;
		margin-bottom: 8px;
	}

	/* Fact Tables */
	.cg-fact-table td {
		padding: 10px 12px;
		font-size: 13px;
	}

	.cg-fact-table td.cg-fact-label {
		width: 40%;
		font-size: 12px;
	}

	.cg-fact-table td.cg-fact-value {
		width: 60%;
		font-size: 13px;
	}

	/* Comparisons Grid & Cards */
	.cg-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		align-items: stretch;
	}

	/* Archive Results Count Bar */
	.cg-results-count-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 16px;
		padding-bottom: 14px;
	}

	.cg-archive-heading {
		font-size: 18px;
		line-height: 1.3;
	}

	.cg-results-count-text {
		font-size: 11px;
		padding: 4px 10px;
		gap: 5px;
		line-height: 1.2;
		white-space: normal;
	}

	.cg-results-count-text .cg-status-dot {
		width: 6px;
		height: 6px;
	}

	.cg-product-card,
	.cg-card-item {
		width: 100%;
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.cg-product-top {
		padding: 6px 8px;
		min-height: 34px;
		max-height: 34px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		box-sizing: border-box;
		overflow: hidden;
		gap: 6px;
	}

	.cg-product-brand {
		font-size: 9px;
		font-weight: 800;
		letter-spacing: 0.1px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		flex: 1;
		min-width: 0;
		max-width: none;
	}

	.cg-product-media {
		padding: 0;
		width: 100%;
		height: auto;
		aspect-ratio: 1200 / 675;
		min-height: unset;
		max-height: none;
		display: block;
		box-sizing: border-box;
	}

	.cg-product-img-wrap {
		width: 100%;
		height: 100%;
		aspect-ratio: 1200 / 675;
	}

	.cg-product-content {
		padding: 8px 8px 6px 8px;
		flex: 1;
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
	}

	.cg-product-rating-badge {
		top: 6px;
		right: 6px;
		gap: 3px;
		padding: 3px 6px;
	}

	.cg-product-rating-badge-star {
		width: 10.5px;
		height: 10.5px;
	}

	.cg-product-rating-badge-val {
		font-size: 10.5px;
	}

	.cg-product-title {
		font-size: 12px;
		font-weight: 700;
		line-height: 1.25;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0 0 6px 0;
		padding-bottom: 5px;
		border-bottom: 1px solid #f1f5f9;
		box-sizing: border-box;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* Spec grid on product card */
	.cg-spec-grid {
		gap: 3px 6px;
		padding: 0;
		background: transparent;
		border: none;
		border-radius: 0;
		margin-top: auto;
	}

	.cg-spec-item {
		height: auto;
		min-height: 26px;
		max-height: none;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.cg-spec-label {
		font-size: 8px;
		font-weight: 700;
		letter-spacing: 0.2px;
		line-height: 1.1;
		margin-bottom: 2px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cg-spec-val {
		font-size: 9.5px;
		font-weight: 700;
		line-height: 1.15;
		letter-spacing: -0.15px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cg-spec-item-full {
		height: auto;
		min-height: 0;
		max-height: none;
		padding: 2px 0 0 0;
		margin-top: 0;
		justify-content: flex-start;
		overflow: visible;
	}

	.cg-spec-item-full .cg-spec-label {
		font-size: 8.5px;
		margin-bottom: 2px;
		line-height: 1.15;
		overflow: visible;
	}

	.cg-spec-item-full .cg-spec-val {
		font-size: 9.5px;
		font-weight: 600;
		line-height: 1.3;
		height: auto;
		min-height: 0;
		max-height: 26px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: normal;
	}

	.cg-product-actions {
		padding: 6px 8px;
		gap: 4px;
	}

	.cg-product-actions-row {
		gap: 4px;
	}

	.cg-product-actions-row .cg-btn {
		padding: 5px 3px;
		font-size: 10px;
		letter-spacing: -0.2px;
		height: 28px;
		line-height: 1;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.cg-btn-apply-full {
		padding: 6px 8px;
		font-size: 11px;
		height: 30px;
		line-height: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.cg-cards-grid .cg-product-card.cg-row-has-migrated .cg-product-actions {
		padding-bottom: 15px;
	}

	.cg-compare-header {
		padding: 18px 10px;
	}

	.cg-compare-versus-grid {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 6px;
		align-items: stretch;
	}

	.cg-card-preview {
		padding: 12px 8px;
		min-width: 0;
	}

	.cg-compare-versus-grid.cg-compare-has-migrated .cg-apply-cta-group--compare-card {
		margin-bottom: 14px;
	}

	.cg-compare-versus-grid.cg-compare-has-migrated .cg-apply-cta-group--compare-card .cg-apply-migrated-note {
		top: calc(100% + 3px);
	}

	.cg-card-preview .cg-product-brand,
	.cg-card-preview .cg-compare-best-for {
		display: none !important;
	}

	.cg-card-preview .cg-card-thumb {
		width: 100% !important;
		max-width: 120px;
	}

	.cg-card-preview h2 {
		font-size: 13.5px !important;
		line-height: 1.25;
		min-height: 34px;
		margin-bottom: 6px !important;
	}

	.cg-rating-popover-wrap--compare {
		margin: 0 auto 10px auto;
	}

	.cg-compare-rating {
		gap: 4px;
		margin: 0;
		padding: 3px 7px;
	}

	.cg-compare-rating-stars {
		gap: 1.5px;
	}

	.cg-compare-rating-stars .cg-star-icon {
		width: 10px;
		height: 10px;
	}

	.cg-compare-rating-val {
		font-size: 10.5px;
	}

	.cg-compare-rating .cg-rating-info-icon {
		width: 11px;
		height: 11px;
		margin-left: 0;
	}

	.cg-compare-rating-popover {
		width: min(268px, calc(100vw - 32px));
		padding: 10px 12px;
	}

	.cg-compare-rating-popover .cg-rating-popover-list--criteria {
		gap: 5px 8px;
		padding: 7px 8px;
	}

	.cg-compare-rating-popover .cg-rating-popover-list--criteria li {
		font-size: 10.5px;
		padding-left: 12px;
	}

	.cg-card-preview.card-a .cg-compare-rating-popover {
		left: -6px;
		right: auto;
		transform: none;
	}

	.cg-card-preview.card-a .cg-compare-rating-popover::before {
		left: 52px;
		right: auto;
		transform: rotate(45deg);
	}

	.cg-card-preview.card-b .cg-compare-rating-popover {
		right: -6px;
		left: auto;
		transform: none;
	}

	.cg-card-preview.card-b .cg-compare-rating-popover::before {
		right: 52px;
		left: auto;
		transform: rotate(45deg);
	}

	.cg-apply-cta-group--compare-card .cg-apply-migrated-note {
		font-size: 9px;
		line-height: 1.2;
	}

	.cg-card-preview .cg-highlight-tag {
		font-size: 11px;
		line-height: 1.4;
		padding: 7px 8px;
		border-radius: 8px;
	}

	.cg-vs-circle {
		margin: 0;
		width: 26px;
		height: 26px;
		font-size: 10px;
		align-self: center;
	}

	/* Comparison Spec Tables */
	.cg-table th, .cg-table td {
		padding: 10px 8px;
		font-size: 12px;
		line-height: 1.4;
	}

	.cg-table th {
		font-size: 10.5px;
		line-height: 1.3;
	}

	.cg-table td.cg-label {
		font-size: 11.5px;
	}

	.cg-winner-badge {
		font-size: 10px;
		padding: 1px 5px;
		margin-left: 4px;
	}

	/* Editorial & Quick Fact Cards */
	.cg-table-card {
		margin-bottom: 18px;
	}

	.cg-editorial-card {
		padding: 18px 16px;
		margin-bottom: 20px;
	}

	.cg-editorial-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.cg-editorial-text {
		font-size: 13.5px;
		line-height: 1.6;
		margin-bottom: 10px;
	}

	/* Child Bottom CTA */
	.cg-child-bottom-cta {
		padding: 20px 16px;
		margin-top: 20px;
	}

	.cg-child-bottom-cta-title {
		font-size: 17px;
		margin-bottom: 8px;
	}

	.cg-child-bottom-cta-desc {
		font-size: 13px;
		margin-bottom: 14px;
	}

	.cg-child-bottom-cta-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.cg-child-bottom-cta-actions .cg-apply-cta-group--bottom-cta,
	.cg-child-bottom-cta-actions .cg-btn {
		width: 100%;
		max-width: none;
	}

	.cg-apply-cta-group--card .cg-apply-migrated-note,
	.cg-apply-cta-group--inline .cg-apply-migrated-note {
		font-size: 9px;
		line-height: 1.1;
	}

	.cg-apply-cta-group--card .cg-migrated-card-word,
	.cg-apply-cta-group--inline .cg-migrated-card-word,
	.cg-apply-cta-group--compare-card .cg-migrated-card-word,
	.cg-apply-cta-group--sticky-compare .cg-migrated-card-word,
	.cg-apply-cta-group--compare-card .cg-discontinued-card-word,
	.cg-apply-cta-group--sticky-compare .cg-discontinued-card-word {
		display: none;
	}

	/* Comparison Head-to-Head & Verdict */
	.cg-verdict-card {
		padding: 14px 12px;
		margin-bottom: 18px;
	}

	.cg-verdict-title {
		font-size: 18px;
		margin-bottom: 14px;
	}

	.cg-verdict-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.cg-verdict-col {
		padding: 12px;
	}

	.cg-verdict-col-title {
		font-size: 14px;
		margin-bottom: 8px;
	}

	.cg-verdict-list {
		font-size: 13px;
		padding-left: 16px;
	}

	.cg-compare-guides-card {
		padding: 0;
		margin-bottom: 20px;
	}

	.cg-compare-guides-title {
		font-size: 17px;
		margin-bottom: 6px;
	}

	.cg-compare-guides-desc {
		font-size: 13px;
		margin-bottom: 14px;
	}

	.cg-compare-guides-body {
		padding: 12px;
	}

	.cg-compare-guides-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.cg-compare-guides-grid > div {
		min-width: 0;
		padding: 12px 10px;
	}

	.cg-compare-guides-grid h3 {
		font-size: 12.5px !important;
		line-height: 1.3;
		margin-bottom: 8px !important;
	}

	.cg-compare-guides-grid a {
		padding: 8px !important;
		font-size: 11px !important;
		gap: 4px !important;
	}

	/* Filters & Tools */
	.cg-filter-form {
		flex-direction: column;
		align-items: stretch;
	}

	.cg-filter-group {
		width: 100%;
		min-width: 0;
	}

	.cg-select-pill {
		width: 100%;
	}

	/* Compare Hub Selector Box (Mobile) */
	.cg-compare-hub-hero {
		margin-bottom: 22px !important;
	}

	.cg-compare-hub-hero p {
		font-size: 14px !important;
		line-height: 1.55 !important;
	}

	.cg-compare-selector-card {
		padding: 14px 12px;
		border-radius: 12px;
		margin-bottom: 24px;
	}

	.cg-compare-selector-title {
		font-size: 17px;
		margin-bottom: 14px;
		line-height: 1.3;
	}

	.cg-compare-selector-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.cg-compare-selector-label {
		font-size: 11px;
		margin-bottom: 5px;
	}

	.cg-compare-selector-grid .cg-select-pill {
		padding: 10px 14px;
		font-size: 14px;
	}

	.cg-compare-selector-grid .cg-vs-circle {
		margin: 2px auto;
		width: 28px;
		height: 28px;
		font-size: 10px;
	}

	.cg-compare-selector-actions {
		margin-top: 16px;
	}

	.cg-compare-selector-actions .cg-btn-lg {
		width: 100%;
		min-width: 0;
		padding: 11px 18px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	/* Extra compact adjustments for small mobile screens (iPhone, etc.) */
	body {
		font-size: 13.5px;
	}

	.cg-hero-title {
		font-size: 21px;
	}

	.cg-directory-title {
		font-size: 21px;
		letter-spacing: -0.3px;
	}

	.cg-directory-subtitle {
		font-size: 13.5px;
		line-height: 1.55;
	}

	.cg-archive-grid-header h2 {
		font-size: 17px !important;
	}

	.cg-single-title {
		font-size: 19px;
	}

	.cg-card-title {
		font-size: 20px;
	}

	.cg-card-rating {
		padding: 4px 10px 4px 8px;
		gap: 6px;
	}

	.cg-rating-text {
		font-size: 13px;
	}

	.cg-rating-stars .cg-star-icon {
		width: 15px;
		height: 15px;
	}

	.cg-rating-num {
		font-size: 16px;
	}

	.cg-rating-max {
		font-size: 13px;
	}

	.cg-child-hero-h1 {
		font-size: 19px;
	}

	.cg-section-title {
		font-size: 18px;
	}

	.cg-child-links-title,
	.cg-card-section-heading {
		font-size: 17px;
		line-height: 1.3;
	}

	.cg-card-section-heading--compact {
		font-size: 16.5px;
	}

	.cg-fact-table-header {
		padding: 12px 14px;
	}

	.cg-fact-table-header h2,
	.cg-fact-table-header h3 {
		font-size: 14px;
		gap: 8px;
	}

	.cg-fact-table-header .cg-section-num {
		width: 20px;
		height: 20px;
		font-size: 11px;
	}

	/* Clean stacking of fact table rows on small mobile if needed */
	.cg-fact-table td {
		padding: 8px 10px;
		font-size: 12.5px;
	}

	.cg-fact-table td.cg-fact-label {
		width: 42%;
		font-size: 11.5px;
		padding: 8px 10px;
	}

	.cg-fact-table td.cg-fact-value {
		width: 58%;
		font-size: 12.5px;
		padding: 8px 10px;
	}

	/* Hero actions full-width stack on very small screens */
	.cg-hero-actions,
	.cg-child-hero-actions {
		flex-direction: column;
		gap: 8px;
	}

	.cg-hero-actions .cg-btn,
	.cg-child-hero-actions .cg-btn {
		width: 100%;
	}

	/* Card grid on narrow mobile */
	.cg-cards-grid {
		gap: 8px;
	}

	.cg-product-top {
		padding: 5px 6px;
		min-height: 32px;
		max-height: 32px;
	}

	.cg-product-brand {
		font-size: 8.5px;
		letter-spacing: 0.05px;
	}

	.cg-product-media {
		padding: 0;
		width: 100%;
		height: auto;
		aspect-ratio: 1200 / 675;
		min-height: unset;
		max-height: none;
		display: block;
		box-sizing: border-box;
	}

	.cg-product-img-wrap {
		width: 100%;
		height: 100%;
		aspect-ratio: 1200 / 675;
	}

	.cg-product-content {
		padding: 6px 6px 4px 6px;
	}

	.cg-product-title {
		font-size: 11.5px;
		line-height: 1.25;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0 0 5px 0;
		padding-bottom: 4px;
	}

	.cg-product-actions {
		padding: 5px 6px;
		gap: 3px;
	}

	.cg-product-actions-row {
		gap: 3px;
	}

	.cg-product-actions-row .cg-btn {
		padding: 4px 2px;
		font-size: 9.5px;
		letter-spacing: -0.3px;
		height: 26px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.cg-btn-apply-full {
		padding: 5px 4px;
		font-size: 10px;
		height: 28px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	/* Spec grid on product card */
	.cg-spec-grid {
		gap: 2px 5px;
		padding: 0;
		background: transparent;
		border: none;
		border-radius: 0;
	}

	.cg-spec-item {
		height: auto;
		min-height: 24px;
		max-height: none;
	}

	.cg-spec-label {
		font-size: 7.5px;
		letter-spacing: 0.1px;
	}

	.cg-spec-val {
		font-size: 9px;
		letter-spacing: -0.2px;
	}

	.cg-spec-item-full {
		height: auto;
		min-height: 0;
		max-height: none;
		padding: 2px 0 0 0;
		margin-top: 0;
		justify-content: flex-start;
		overflow: visible;
	}

	.cg-spec-item-full .cg-spec-label {
		font-size: 8px;
		line-height: 1.15;
		margin-bottom: 2px;
	}

	.cg-spec-item-full .cg-spec-val {
		font-size: 9px;
		line-height: 1.3;
		height: auto;
		min-height: 0;
		max-height: 25px;
	}

	/* Bottom CTA banner */
	.cg-child-hero,
	.cg-child-body,
	.cg-child-links-section {
		padding: 14px 10px;
	}

	.cg-footer-grid {
		gap: 24px 14px;
	}
	.cg-footer-col li {
		font-size: 12.5px;
		margin-bottom: 7px;
	}
}

/* --------------------------------------------------------------------------
   AJAX Load More & Animations
   -------------------------------------------------------------------------- */
@keyframes cgSpin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@keyframes cgFadeInUp {
	0% {
		opacity: 0;
		transform: translateY(14px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.cg-fade-in {
	animation: cgFadeInUp 0.35s ease forwards;
}

.cg-load-more-container {
	margin-top: 48px;
	margin-bottom: 24px;
	text-align: center;
}

.cg-load-more-btn,
.cg-load-more-btn.cg-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 36px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 9999px;
	background: #ffffff;
	color: var(--cg-blue-hover) !important;
	border: 1.5px solid var(--cg-blue);
	box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.14);
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	user-select: none;
}

.cg-load-more-btn:hover,
.cg-load-more-btn:focus-visible,
.cg-load-more-btn.cg-btn-outline:hover,
.cg-load-more-btn.cg-btn-outline:focus-visible {
	border-color: var(--cg-blue-hover);
	background: var(--cg-blue);
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.34);
}

.cg-load-more-btn:active {
	transform: translateY(0);
}

.cg-load-more-btn:disabled,
.cg-load-more-btn.loading {
	opacity: 0.75;
	cursor: not-allowed;
	pointer-events: none;
}

.cg-load-more-status {
	margin-top: 14px;
	font-size: 13.5px;
	color: var(--cg-text-muted);
	font-weight: 500;
}

.cg-load-more-complete {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 700;
	color: #15803d;
	box-shadow: var(--cg-shadow-sm);
}

/* --------------------------------------------------------------------------
   Global Featured Card System (Customizer-Controlled)
   -------------------------------------------------------------------------- */
.cg-featured-badge-group,
.cg-featured-banner-wrapper,
.cg-featured-badge,
.cg-featured-info-popover-wrap,
.cg-featured-info-popover,
.cg-sponsored-disclosure-box {
	display: none !important;
}

.cg-product-card.has-popover-open,
.cg-product-card:has(.cg-featured-badge-group.is-open) {
	overflow: visible !important;
	z-index: 1000 !important;
	position: relative !important;
}

.cg-product-top {
	position: relative;
	overflow: visible !important;
}

.cg-featured-badge {
	display: inline-flex;
	align-items: center;
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fde68a;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.cg-featured-badge:hover,
.cg-featured-badge-group.is-open .cg-featured-badge {
	background: #fef3c7;
	border-color: #f59e0b;
}

.cg-featured-trigger-btn {
	background: #fffbeb;
	border: 1px solid #fde68a;
	cursor: pointer;
	font: inherit;
}

.cg-featured-info-popover-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.cg-featured-info-btn {
	background: transparent;
	border: none;
	padding: 2px 3px;
	margin: 0;
	cursor: pointer;
	color: #94a3b8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	line-height: 1;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.cg-featured-info-btn:hover,
.cg-featured-info-popover-wrap.is-open .cg-featured-info-btn {
	color: var(--cg-primary, #0f172a);
	background-color: #f1f5f9;
}

.cg-featured-info-popover {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 99999;
	width: 260px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 12px 14px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2), 0 4px 10px rgba(15, 23, 42, 0.08);
	text-align: left;
	white-space: normal;
	box-sizing: border-box;
}

.cg-featured-badge-group.is-open .cg-featured-info-popover,
.cg-featured-info-popover-wrap.is-open .cg-featured-info-popover {
	display: block !important;
	animation: cgFadeIn 0.15s ease-out;
}

.cg-featured-popover-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 4px;
	line-height: 1.3;
}

.cg-featured-popover-text {
	font-size: 11.5px;
	line-height: 1.45;
	color: #475569;
	margin: 0 0 10px 0;
}

.cg-featured-info-popover::before {
	content: '';
	position: absolute;
	top: -5px;
	right: 12px;
	width: 8px;
	height: 8px;
	background: #ffffff;
	border-left: 1px solid #cbd5e1;
	border-top: 1px solid #cbd5e1;
	transform: rotate(45deg);
}

.cg-featured-popover-link {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--cg-blue, #2563eb);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.15s ease;
}

.cg-featured-popover-link:hover {
	text-decoration: underline;
}

.cg-featured-popover-link:hover {
	color: var(--cg-accent, #2563eb);
	text-decoration: underline;
}

.cg-featured-banner-wrapper {
	margin-bottom: 28px;
}

.cg-featured-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	padding: 0 4px;
}

.cg-featured-banner-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cg-featured-banner-card:hover {
	box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.09);
}

.cg-featured-banner-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 24px;
	padding: 24px;
	align-items: center;
}

.cg-featured-banner-media {
	text-align: center;
}

.cg-featured-img-wrap {
	display: block;
	max-width: 260px;
	margin: 0 auto;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.2s ease;
}

.cg-featured-img-wrap:hover {
	transform: scale(1.02);
}

.cg-featured-img-wrap img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.cg-featured-banner-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cg-featured-banner-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cg-featured-bank {
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cg-featured-category-pill {
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 11.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
}

.cg-featured-banner-title {
	font-size: 22px;
	font-weight: 800;
	color: var(--cg-primary);
	margin: 0;
	line-height: 1.3;
}

.cg-featured-banner-title a {
	color: inherit;
	text-decoration: none;
}

.cg-featured-banner-title a:hover {
	color: var(--cg-accent);
}

.cg-featured-banner-desc {
	font-size: 14.5px;
	color: var(--cg-text-muted);
	line-height: 1.55;
	margin: 0;
}

.cg-featured-specs-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	background: #f8fafc;
	border: 1px solid #edf2f7;
	border-radius: 8px;
	padding: 12px 16px;
	margin: 6px 0;
}

.cg-fspec-item {
	display: flex;
	flex-direction: column;
}

.cg-fspec-label {
	font-size: 11.5px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 2px;
}

.cg-fspec-val {
	font-size: 14px;
	font-weight: 700;
	color: var(--cg-primary);
}

.cg-featured-banner-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 4px;
}

/* Product Card Featured Variant */
.cg-product-card-featured {
	position: relative;
	border: 1px solid #eaecf0 !important;
	box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.08) !important;
}

.cg-product-card-featured::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #f59e0b;
	z-index: 2;
}

.cg-product-top .cg-featured-badge-group {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.cg-product-top .cg-featured-badge {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.5px;
	padding: 2px 6px;
	border-radius: 4px;
	line-height: 1.2;
}

@media (max-width: 768px) {
	.cg-product-top .cg-featured-badge-group {
		gap: 3px;
		flex-shrink: 0;
		margin-left: auto;
	}

	.cg-product-top .cg-featured-badge {
		font-size: 8px;
		padding: 1px 4px;
		letter-spacing: 0.2px;
	}

	.cg-featured-info-btn {
		padding: 1px;
	}

	.cg-featured-info-btn svg {
		width: 11px;
		height: 11px;
	}
}

@media (max-width: 480px) {
	.cg-product-top .cg-featured-badge-group {
		gap: 2px;
		flex-shrink: 0;
		margin-left: auto;
	}

	.cg-product-top .cg-featured-badge {
		font-size: 7.5px;
		padding: 1px 3px;
		letter-spacing: 0.1px;
	}

	.cg-featured-info-btn svg {
		width: 10px;
		height: 10px;
	}
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
	.cg-featured-banner-grid {
		grid-template-columns: 1fr;
		text-align: left;
		gap: 18px;
		padding: 20px;
	}

	.cg-featured-img-wrap {
		max-width: 220px;
		margin: 0;
	}

	.cg-featured-specs-bar {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}

@media (max-width: 540px) {
	.cg-featured-specs-bar {
		grid-template-columns: 1fr 1fr;
	}

	.cg-featured-banner-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cg-featured-banner-actions .cg-btn {
		text-align: center;
		justify-content: center;
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Universal Share Modal
   -------------------------------------------------------------------------- */
.cg-share-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.cg-share-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.cg-share-dialog {
	position: relative;
	background: #ffffff;
	border-radius: 20px;
	width: 100%;
	max-width: 460px;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
	border: 1px solid #e2e8f0;
	overflow: hidden;
	z-index: 1;
	animation: cgSharePopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cgSharePopIn {
	0% {
		opacity: 0;
		transform: scale(0.92) translateY(8px);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.cg-share-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px 14px 22px;
	border-bottom: 1px solid #f1f5f9;
}

.cg-share-header-text {
	flex: 1;
	min-width: 0;
}

.cg-share-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--cg-primary, #0f172a);
	margin: 0;
	line-height: 1.3;
}

.cg-share-subtitle {
	font-size: 13px;
	color: #64748b;
	margin: 3px 0 0 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 340px;
}

.cg-share-close {
	background: #f1f5f9;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	color: #475569;
	cursor: pointer;
	transition: all 0.15s ease;
	flex-shrink: 0;
	margin-left: 12px;
}

.cg-share-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.cg-share-body {
	padding: 20px 22px 22px 22px;
}

.cg-share-apps-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
	margin-bottom: 14px;
}

.cg-share-channels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
	gap: 10px;
	margin-bottom: 22px;
}

.cg-share-channel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none !important;
	gap: 8px;
	padding: 6px 2px;
	border-radius: 12px;
	transition: transform 0.18s ease;
}

.cg-share-channel:hover {
	transform: translateY(-3px);
}

.cg-share-channel-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cg-share-channel:hover .cg-share-channel-icon {
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.cg-share-channel-label {
	font-size: 11.5px;
	font-weight: 600;
	color: #475569;
	text-align: center;
	line-height: 1.2;
}

.cg-share-copy-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 14px 16px;
}

.cg-share-copy-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 8px;
}

.cg-share-copy-input-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cg-share-input {
	flex: 1;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 9999px;
	padding: 9px 14px;
	font-size: 13px;
	color: #334155;
	outline: none;
	min-width: 0;
	text-overflow: ellipsis;
	transition: border-color 0.15s ease;
}

.cg-share-input:focus {
	border-color: var(--cg-accent, #0284c7);
}

.cg-share-copy-btn {
	padding: 9px 18px !important;
	font-size: 13.5px !important;
	border-radius: 9999px !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
	transition: all 0.2s ease !important;
}

.cg-share-copy-btn.is-copied {
	background: #10b981 !important;
	border-color: #10b981 !important;
	color: #ffffff !important;
}





/* Desktop Sticky Dock + Mobile Sticky Bar & Mobile-Only Floating TOC */
.cg-mobile-sticky-apply {
	display: none;
}

@media (min-width: 768px) {
	.cg-mobile-toc-fab,
	.cg-mobile-toc-backdrop,
	.cg-mobile-toc-sheet {
		display: none !important;
	}
	.cg-mobile-sticky-apply {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
		position: fixed;
		bottom: 16px;
		left: 50%;
		z-index: 998;
		width: min(720px, calc(100vw - 168px));
		padding: 10px 16px;
		border-radius: 16px;
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border: 1px solid #cbd5e1;
		box-shadow: 0 14px 34px -6px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(37, 99, 235, 0.06);
		transform: translate(-50%, calc(100% + 32px));
		opacity: 0;
		pointer-events: none;
		transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
		box-sizing: border-box;
	}

	.cg-mobile-sticky-apply.is-visible {
		transform: translate(-50%, 0);
		opacity: 1;
		pointer-events: auto;
	}

	.cg-sticky-dock-main {
		display: flex;
		align-items: center;
		gap: 12px;
		min-width: 0;
		flex: 1;
	}

	.cg-sticky-dock-thumb {
		width: 52px;
		height: auto;
		aspect-ratio: 1200 / 675;
		object-fit: cover;
		border-radius: 6px;
		background: #f8fafc;
		border: 1px solid #cbd5e1;
		flex-shrink: 0;
		display: block;
	}

	.cg-sticky-dock-info {
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
		flex: 1;
	}

	.cg-mobile-sticky-apply-name {
		font-size: 14.5px;
		font-weight: 800;
		color: #0f172a;
		line-height: 1.25;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cg-sticky-dock-meta {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 12px;
		color: var(--cg-text-muted);
		line-height: 1.2;
	}

	.cg-sticky-dock-rating {
		display: inline-flex;
		align-items: center;
		gap: 3px;
		font-weight: 700;
		color: #0f172a;
	}

	.cg-sticky-dock-fee strong {
		color: #0f172a;
		font-weight: 700;
	}

	.cg-sticky-dock-fee.is-ltf strong {
		color: #047857;
	}

	.cg-sticky-dock-actions {
		display: flex;
		align-items: center;
		gap: 10px;
		flex-shrink: 0;
	}

	.cg-sticky-dock-secondary {
		white-space: nowrap;
		min-height: 36px;
		padding: 0 14px !important;
	}

	.cg-mobile-sticky-apply-btn {
		white-space: nowrap;
		min-height: 36px;
		padding: 0 18px !important;
		font-size: 13.5px;
	}

	.cg-apply-cta-group--sticky {
		align-items: flex-end;
	}

	.cg-apply-cta-group--sticky .cg-apply-migrated-note {
		font-size: 10px;
		line-height: 1.2;
		text-align: right;
	}

	/* Desktop Floating Dock: Compare Page Split Layout */
	.cg-mobile-sticky-apply--compare {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
		gap: 14px;
		width: min(960px, calc(100vw - 168px));
		padding: 10px 16px;
	}

	.cg-mobile-sticky-apply--compare.is-single {
		width: min(560px, calc(100vw - 168px));
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-sticky-compare-col {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-width: 0;
	}

	.cg-sticky-compare-card {
		display: flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
		flex: 1;
	}

	.cg-sticky-compare-thumb {
		width: 44px;
	}

	.cg-sticky-compare-text {
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
		flex: 1;
	}

	.cg-sticky-compare-name {
		display: block;
		width: 100%;
		min-width: 0;
		font-size: 13px;
		font-weight: 800;
		color: #0f172a;
		line-height: 1.25;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cg-sticky-compare-submeta {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		font-size: 11.5px;
		color: var(--cg-text-muted);
		font-weight: 600;
		white-space: nowrap;
	}

	.cg-sticky-dock-rating-inline {
		color: #0f172a;
		font-weight: 700;
	}

	.cg-sticky-compare-vs {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		border-radius: 999px;
		background: #fff7ed;
		border: 1px solid #fed7aa;
		color: #ea580c;
		font-size: 10.5px;
		font-weight: 800;
		flex-shrink: 0;
	}

	.cg-mobile-sticky-apply--compare .cg-btn {
		white-space: nowrap;
		min-height: 34px;
		padding: 0 14px !important;
		font-size: 12.5px;
		flex-shrink: 0;
	}

	.cg-apply-cta-group--sticky-compare {
		width: auto;
		align-items: flex-end;
		flex-shrink: 0;
	}

	.cg-apply-cta-group--sticky-compare .cg-apply-migrated-note {
		font-size: 9.5px;
		line-height: 1.2;
		text-align: right;
	}
}

/* Related Comparisons 2-Column Grid (Same on Desktop & Mobile) */
.cg-related-comparisons-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.cg-related-comparisons-col {
	background: #ffffff;
	border: 1px solid #eaecf0;
	border-radius: var(--cg-radius);
	padding: 18px;
	min-width: 0;
}

.cg-related-comparisons-col h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--cg-primary);
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.cg-related-comparisons-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

@media (max-width: 1024px) {
	.cg-related-comparisons-list {
		grid-template-columns: 1fr;
	}
}

.cg-related-comparison-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	text-decoration: none;
	color: var(--cg-primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.cg-related-comparison-link:hover {
	border-color: var(--cg-blue);
	background: #eff6ff;
}

@media (max-width: 767px) {
	.cg-related-comparisons-grid {
		gap: 10px;
	}

	.cg-related-comparisons-col {
		padding: 12px 10px;
	}

	.cg-related-comparisons-col h3 {
		font-size: 12.5px;
		margin-bottom: 8px;
	}

	.cg-related-comparison-link {
		padding: 8px;
		font-size: 11px;
		gap: 4px;
	}
}

@media (max-width: 767px) {
	.cg-sticky-dock-main,
	.cg-sticky-dock-info,
	.cg-sticky-dock-actions,
	.cg-sticky-compare-card,
	.cg-sticky-compare-text {
		display: contents;
	}

	.cg-sticky-dock-thumb,
	.cg-sticky-dock-meta,
	.cg-sticky-dock-secondary,
	.cg-sticky-compare-submeta,
	.cg-sticky-compare-vs {
		display: none !important;
	}

	.cg-mobile-sticky-apply {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 999;
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border-top: 1px solid var(--cg-blue-border);
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) 14px;
		box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.1);
		transform: translateY(110%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.cg-mobile-sticky-apply.is-visible {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.cg-mobile-sticky-apply-name {
		font-size: 13px;
		font-weight: 700;
		color: var(--cg-primary);
		line-height: 1.25;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		flex: 1;
		min-width: 0;
	}

	.cg-apply-cta-group--sticky {
		align-items: flex-end;
		flex-shrink: 0;
		max-width: 58%;
		gap: 4px;
	}

	.cg-apply-cta-group--sticky .cg-apply-migrated-note {
		font-size: 10px;
		line-height: 1.2;
		text-align: right;
	}

	.cg-apply-cta-group--sticky .cg-btn-discontinued {
		padding: 7px 10px;
		font-size: 11px;
		white-space: nowrap;
	}

	.cg-mobile-sticky-apply-btn {
		flex-shrink: 0;
		white-space: nowrap;
		min-height: 34px;
		height: 34px;
		padding: 0 14px !important;
		font-size: 12.5px;
		line-height: 1;
	}

	.cg-mobile-sticky-apply--compare {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		align-items: stretch;
		padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) 10px;
	}

	.cg-mobile-sticky-apply--compare.is-single {
		grid-template-columns: 1fr;
	}

	.cg-sticky-compare-col {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: 4px;
		min-width: 0;
	}

	.cg-mobile-sticky-apply--compare:not(.is-single) .cg-sticky-compare-col:first-child {
		padding-right: 8px;
	}

	.cg-sticky-compare-col ~ .cg-sticky-compare-col {
		padding-left: 8px;
		border-left: 1px solid #cbd5e1;
	}

	.cg-sticky-compare-name {
		display: block;
		width: 100%;
		max-width: 100%;
		font-size: 10.5px;
		font-weight: 700;
		color: var(--cg-primary);
		line-height: 1.25;
		text-align: center;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		min-height: 0;
	}

	.cg-apply-cta-group--sticky-compare {
		gap: 2px;
	}

	.cg-mobile-sticky-apply--compare .cg-btn {
		width: 100%;
		min-height: 28px;
		height: 28px;
		justify-content: center;
		font-size: 11px;
		line-height: 1;
		padding: 0 8px !important;
		box-sizing: border-box;
	}

	.cg-apply-cta-group--sticky-compare .cg-btn-discontinued {
		font-size: 10px;
		padding: 4px 6px;
		white-space: nowrap;
	}

	.cg-apply-cta-group--sticky-compare .cg-apply-migrated-note {
		font-size: 8.5px;
		line-height: 1.15;
		text-align: center;
	}
}

/* --------------------------------------------------------------------------
   News & Blog Directory / Homepage Cards (Desktop 4-Col Grid -> Mobile Compact List)
   -------------------------------------------------------------------------- */
.cg-blog-grid,
.cg-news-grid,
.cg-home-editorial-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 1024px) {
	.cg-blog-grid,
	.cg-news-grid,
	.cg-home-editorial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (min-width: 768px) {
	.cg-blog-grid .cg-post-body,
	.cg-news-grid .cg-post-body,
	.cg-home-editorial-grid .cg-post-body {
		padding: 18px;
	}

	.cg-blog-grid .cg-post-meta,
	.cg-news-grid .cg-post-meta,
	.cg-home-editorial-grid .cg-post-meta {
		font-size: 10.5px;
		line-height: 1.25;
		gap: 5px;
		margin-bottom: 6px;
	}

	.cg-blog-grid .cg-post-meta .cg-post-author,
	.cg-news-grid .cg-post-meta .cg-post-author,
	.cg-home-editorial-grid .cg-post-meta .cg-post-author,
	.cg-blog-grid .cg-post-meta .cg-post-meta-sep,
	.cg-news-grid .cg-post-meta .cg-post-meta-sep,
	.cg-home-editorial-grid .cg-post-meta .cg-post-meta-sep {
		font-size: 10.5px;
	}

	.cg-blog-grid .cg-post-date,
	.cg-home-blog-section .cg-post-date {
		background: var(--cg-indigo-light);
		color: #3730a3;
		border: 1px solid var(--cg-indigo-border);
		padding: 1px 6px;
		border-radius: 999px;
		font-size: 10px;
		font-weight: 600;
		line-height: 1.35;
	}

	.cg-news-grid .cg-post-date,
	.cg-home-news-section .cg-post-date,
	.cg-home-reviews-section .cg-post-date {
		background: var(--cg-accent-light);
		color: #065f46;
		border: 1px solid var(--cg-accent-border);
		padding: 1px 6px;
		border-radius: 999px;
		font-size: 10px;
		font-weight: 600;
		line-height: 1.35;
	}

	.cg-blog-grid .cg-post-title,
	.cg-news-grid .cg-post-title,
	.cg-home-editorial-grid .cg-post-title {
		font-size: 16px;
		line-height: 1.35;
		margin: 0;
	}
}

.cg-review-rating-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	line-height: 1.1;
}

.cg-review-rating-stars {
	display: inline-flex;
	align-items: center;
	gap: 1.5px;
}

.cg-review-rating-stars .cg-star-icon {
	display: block;
	width: 11px;
	height: 11px;
	flex-shrink: 0;
}

.cg-review-rating-text {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.cg-review-card .cg-review-body-rating {
	display: none;
}

.cg-post-card {
	background: #ffffff;
	border: 1px solid var(--cg-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--cg-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.cg-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cg-shadow-card-hover);
	border-color: #93c5fd;
}

.cg-post-media {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1200 / 675;
	background: #f1f5f9;
	flex-shrink: 0;
}

.cg-post-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1200 / 675;
	display: block;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-post-card:hover .cg-post-media img {
	transform: scale(1.04);
}

.cg-post-media.cg-media-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 100%);
	color: #ffffff;
	text-decoration: none;
}

.cg-news-card .cg-post-media.cg-media-placeholder {
	background: linear-gradient(135deg, #065f46 0%, #0f172a 100%);
}

.cg-post-placeholder-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	padding: 20px;
}

.cg-post-placeholder-inner span {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #e2e8f0;
}

.cg-post-body {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cg-post-meta {
	font-size: 13px;
	color: var(--cg-text-muted);
	margin-bottom: 8px;
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.cg-post-title {
	margin: 0;
	font-size: 19px;
	line-height: 1.35;
	font-weight: 700;
}

.cg-post-title a {
	color: var(--cg-primary);
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color 0.15s ease;
}

.cg-post-title a:hover {
	color: var(--cg-blue, #2563eb);
}

.cg-post-excerpt {
	margin: 0;
	color: var(--cg-text-muted);
	font-size: 14px;
	line-height: 1.6;
	flex: 1;
}

.cg-post-footer {
	padding: 16px 24px;
	background: #f8fafc;
	border-top: 1px solid var(--cg-border-subtle);
	margin-top: auto;
}

.cg-post-footer .cg-btn {
	font-weight: 600;
}

@media (max-width: 767px) {
	.cg-news-grid,
	.cg-blog-grid {
		display: flex !important;
		flex-direction: column;
		gap: 16px !important;
		background: #ffffff;
		border: 1px solid var(--cg-border);
		border-radius: 12px;
		padding: 14px 12px;
		box-sizing: border-box;
		max-width: 100%;
	}

	.cg-post-card {
		background: transparent;
		border: none;
		border-radius: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
		flex-direction: row;
		align-items: flex-start;
		gap: 14px;
		overflow: visible;
	}

	.cg-post-card:hover {
		transform: none;
		box-shadow: none;
	}

	.cg-post-media {
		flex: 0 0 112px;
		width: 112px;
		height: auto;
		aspect-ratio: 1200 / 675;
		border-radius: 2px;
	}

	.cg-post-media img {
		aspect-ratio: 1200 / 675;
	}

	.cg-review-card .cg-post-media .cg-product-rating-badge {
		display: none;
	}

	.cg-review-card .cg-review-body-rating {
		display: flex;
	}

	.cg-post-placeholder-inner {
		padding: 6px;
		gap: 4px;
	}

	.cg-post-placeholder-inner svg {
		width: 18px;
		height: 18px;
	}

	.cg-post-placeholder-inner span {
		font-size: 8px;
		letter-spacing: 0.04em;
		line-height: 1.15;
	}

	.cg-post-body {
		padding: 1px 0 0 0;
	}

	.cg-post-title {
		order: 1;
		margin: 0 0 5px 0;
		font-size: 14px;
		line-height: 1.35;
		font-weight: 500;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cg-post-meta {
		order: 2;
		margin-bottom: 0;
		font-size: 12px;
		line-height: 1.25;
		color: #64748b;
	}

	.cg-post-meta-sep,
	.cg-post-author,
	.cg-post-excerpt,
	.cg-post-footer {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Mobile Card Art Chip Sizing & Interactive Back-to-Top Control
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.cg-cards-grid .cg-card-placeholder::before {
		width: 16px;
		height: 11px;
		bottom: 7px;
		left: 8px;
		border-radius: 3px;
	}

	.cg-card-thumb .cg-card-placeholder {
		font-size: 9.5px !important;
		padding: 6px 6px 16px 6px !important;
	}

	.cg-card-thumb .cg-card-placeholder::before {
		width: 13px;
		height: 9px;
		bottom: 5px;
		left: 6px;
		border-radius: 2px;
	}

	.cg-card-image-wrap .cg-card-placeholder::before {
		width: 26px;
		height: 19px;
		bottom: 12px;
		left: 14px;
	}
}

.cg-back-to-top {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 998;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--cg-primary);
	border: 1px solid #dbe4f0;
	box-shadow: 0 8px 22px -4px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(0.92);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, bottom 0.2s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease;
}

.cg-btt-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	pointer-events: none;
}

.cg-btt-ring-track {
	fill: none;
	stroke: #e2e8f0;
	stroke-width: 2.5;
	transition: stroke 0.15s ease;
}

.cg-btt-ring-fill {
	fill: none;
	stroke: var(--cg-blue);
	stroke-width: 2.5;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.08s linear, stroke 0.15s ease;
}

.cg-btt-arrow {
	position: relative;
	z-index: 2;
}

.cg-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.cg-back-to-top.has-sticky-offset {
	bottom: 86px;
}

.cg-back-to-top:hover {
	background: var(--cg-blue);
	border-color: var(--cg-blue);
	color: #ffffff;
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.cg-back-to-top:hover .cg-btt-ring-track {
	stroke: rgba(255, 255, 255, 0.28);
}

.cg-back-to-top:hover .cg-btt-ring-fill {
	stroke: #ffffff;
}

.cg-back-to-top:focus-visible {
	outline: 2px solid var(--cg-blue);
	outline-offset: 2px;
}

@keyframes cgSectionPulse {
	0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.42); }
	55% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.2); }
	100% { box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.06); }
}

.cg-section-pulse {
	animation: cgSectionPulse 1.15s ease-out;
}

@media (max-width: 767px) {
	.cg-back-to-top {
		right: 14px;
		bottom: 18px;
		width: 40px;
		height: 40px;
	}

	.cg-back-to-top.has-sticky-offset {
		bottom: 82px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cg-product-card,
	.cg-post-card,
	.cg-comparison-box,
	.cg-pill-tag,
	.cg-btn,
	.cg-back-to-top,
	.cg-product-img-wrap,
	.cg-post-media img,
	.cg-card-placeholder,
	.cg-trust-item,
	.cg-child-card,
	.cg-verdict-col,
	.cg-hero-flip-inner,
	.cg-faq-panel,
	.cg-fx-reveal {
		transition: none !important;
	}

	.cg-product-card:hover,
	.cg-post-card:hover,
	.cg-comparison-box:hover,
	.cg-pill-tag:hover,
	.cg-btn:hover,
	.cg-back-to-top:hover,
	.cg-trust-item:hover,
	.cg-child-card:hover,
	.cg-verdict-col:hover,
	.cg-card-placeholder.is-tilting,
	.cg-fx-reveal {
		transform: none !important;
		opacity: 1 !important;
	}

	.cg-header-compare-btn.cg-badge-pop,
	.cg-section-pulse,
	.cg-btn-primary::before,
	.cg-btn-accent::before {
		animation: none !important;
	}
}

/* --------------------------------------------------------------------------
   Interactive Search Dropdown (Hero & Header Live Autocomplete)
   -------------------------------------------------------------------------- */
.cg-hero-search-form,
.cg-header-search-form {
	position: relative;
}

.cg-search-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 1100;
	background: #ffffff;
	border: 1.5px solid var(--cg-blue-border);
	border-radius: 16px;
	box-shadow: 0 20px 44px -10px rgba(15, 23, 42, 0.22);
	max-height: 330px;
	overflow-y: auto;
	padding: 6px;
	display: none;
	text-align: left;
	box-sizing: border-box;
}

.cg-header-search-form .cg-search-dropdown {
	left: auto;
	right: 0;
	width: 340px;
	max-width: calc(100vw - 24px);
}

.cg-search-dropdown.is-open {
	display: block;
	animation: cgFadeIn 0.14s ease-out;
}

.cg-search-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 10px;
	text-decoration: none !important;
	color: var(--cg-primary);
	transition: background-color 0.14s ease, transform 0.14s ease;
}

.cg-search-item:hover,
.cg-search-item.is-highlighted {
	background: linear-gradient(90deg, #eff6ff 0%, #fff7ed 100%);
}

.cg-search-item-main {
	min-width: 0;
	flex: 1;
}

.cg-search-item-title {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--cg-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cg-search-item-title mark {
	background: #fed7aa;
	color: #9a3412;
	padding: 0 2px;
	border-radius: 3px;
}

.cg-search-item-sub {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: var(--cg-text-muted);
	margin-top: 2px;
}

.cg-search-item-badges {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.cg-search-fee {
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #334155;
}

.cg-search-fee.is-ltf {
	background: var(--cg-accent-light);
	color: var(--cg-accent-hover);
	border: 1px solid var(--cg-accent-border);
}

.cg-search-rating {
	font-size: 11px;
	font-weight: 800;
	color: #b45309;
	background: #fffbeb;
	border: 1px solid #fde68a;
	padding: 2px 7px;
	border-radius: 999px;
}

.cg-search-empty {
	padding: 12px 14px;
	font-size: 13px;
	color: var(--cg-text-muted);
	text-align: center;
}

/* --------------------------------------------------------------------------
   Interactive 3D Flippable Hero Credit Card
   -------------------------------------------------------------------------- */
.cg-hero-flip-inner {
	position: relative;
	width: 100%;
	aspect-ratio: 1200 / 675;
	transform-style: preserve-3d;
	transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.cg-card-image-wrap.is-flipped .cg-hero-flip-inner {
	transform: rotateY(180deg);
}

.cg-hero-flip-front,
.cg-hero-flip-back {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: 14px;
	overflow: hidden;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.28);
}

.cg-hero-flip-front {
	z-index: 2;
	background: #ffffff;
	border: 1px solid #e2e8f0;
}

.cg-hero-flip-back {
	transform: rotateY(180deg);
	background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #1e3a8a 100%);
	color: #ffffff;
	border: 1px solid rgba(147, 197, 253, 0.32);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-bottom: 10px;
	box-sizing: border-box;
}

.cg-flip-magstripe {
	width: 100%;
	height: 28px;
	margin-top: 16px;
	background: linear-gradient(90deg, #020617 0%, #1e293b 50%, #020617 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cg-flip-back-body {
	padding: 8px 16px 4px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	justify-content: center;
}

.cg-flip-sig-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cg-flip-sig-strip {
	flex: 1;
	height: 20px;
	border-radius: 4px;
	background: repeating-linear-gradient(135deg, #e2e8f0, #e2e8f0 6px, #cbd5e1 6px, #cbd5e1 12px);
	display: flex;
	align-items: center;
	padding: 0 8px;
	font-size: 9.5px;
	font-weight: 700;
	color: #334155;
	letter-spacing: 0.04em;
	overflow: hidden;
	white-space: nowrap;
}

.cg-flip-cvv {
	background: #ffffff;
	color: #0f172a;
	font-size: 10.5px;
	font-weight: 800;
	padding: 3px 7px;
	border-radius: 4px;
	font-style: italic;
}

.cg-flip-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 10px;
}

.cg-flip-spec {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 7px;
	padding: 4px 8px;
	min-width: 0;
}

.cg-flip-spec span {
	display: block;
	font-size: 8.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #93c5fd;
}

.cg-flip-spec strong {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cg-flip-pill {
	position: absolute;
	bottom: 10px;
	right: 12px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #f8fafc;
	border: 1px solid rgba(255, 255, 255, 0.28);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.cg-hero-flip-back .cg-flip-pill {
	top: 19px;
	bottom: auto;
	right: 12px;
	padding: 2px 9px;
	font-size: 10px;
}

.cg-card-image-wrap:hover .cg-flip-pill {
	background: var(--cg-saffron);
	border-color: #fdba74;
}

@media (max-width: 767px) {
	.cg-hero-flip-back {
		padding-bottom: 5px;
	}
	.cg-flip-magstripe {
		height: 20px;
		margin-top: 7px;
	}
	.cg-flip-back-body {
		padding: 4px 8px 2px 8px;
		gap: 4px;
	}
	.cg-flip-sig-row {
		gap: 5px;
	}
	.cg-flip-sig-strip {
		height: 15px;
		padding: 0 6px;
		font-size: 8px;
	}
	.cg-flip-cvv {
		font-size: 8.5px;
		padding: 1px 5px;
	}
	.cg-flip-specs {
		gap: 4px 6px;
	}
	.cg-flip-spec {
		padding: 2px 6px;
		border-radius: 5px;
	}
	.cg-flip-spec span {
		font-size: 7.5px;
	}
	.cg-flip-spec strong {
		font-size: 9px;
	}
	.cg-flip-pill {
		font-size: 9.5px;
		padding: 3px 7px;
		bottom: 7px;
		right: 7px;
	}
	.cg-hero-flip-back .cg-flip-pill {
		top: 8px;
		bottom: auto;
		right: 7px;
		padding: 1px 6px;
		font-size: 9px;
	}
}

/* --------------------------------------------------------------------------
   Interactive Spec Explorer & Comparison Mode Toolbar
   -------------------------------------------------------------------------- */
.cg-interactive-spec-bar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 20px;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cg-bar-tabs {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f1f5f9;
	padding: 4px;
	border-radius: 999px;
	align-self: flex-start;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
}

.cg-bar-tabs::-webkit-scrollbar {
	display: none;
}

.cg-bar-tab-btn {
	border: none;
	background: transparent;
	color: #475569;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.cg-bar-tab-btn:hover {
	color: var(--cg-primary);
}

.cg-bar-tab-btn.is-active {
	background: #ffffff;
	color: var(--cg-blue-hover);
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.cg-est-panel {
	display: none;
	padding-top: 4px;
	gap: 14px;
	flex-direction: column;
}

.cg-est-panel.is-open {
	display: flex;
	animation: cgFadeIn 0.16s ease-out;
}

.cg-est-controls {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (max-width: 640px) {
	.cg-est-controls {
		grid-template-columns: 1fr;
	}
}

.cg-est-slider-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 14px;
}

.cg-est-slider-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 12.5px;
	font-weight: 700;
	color: #334155;
}

.cg-est-slider-val {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--cg-blue-hover);
	font-variant-numeric: tabular-nums;
}

.cg-est-range {
	width: 100%;
	accent-color: var(--cg-blue);
	cursor: pointer;
	margin: 0;
}

.cg-est-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

@media (max-width: 640px) {
	.cg-est-results {
		grid-template-columns: 1fr;
	}
}

.cg-est-stat {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 10px 14px;
}

.cg-est-stat.is-rewards {
	background: #eff6ff;
	border-color: #bfdbfe;
}

.cg-est-stat.is-fee.is-waived {
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.cg-est-stat.is-net {
	background: #fff7ed;
	border-color: #fed7aa;
}

.cg-est-stat span {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #64748b;
	margin-bottom: 2px;
}

.cg-est-stat strong {
	display: block;
	font-size: 17px;
	font-weight: 800;
	color: var(--cg-primary);
	font-variant-numeric: tabular-nums;
}

.cg-est-stat.is-rewards strong { color: #1d4ed8; }
.cg-est-stat.is-fee.is-waived strong { color: #047857; }
.cg-est-stat.is-net strong { color: #c2410c; }

.cg-est-waiver-wrap {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.cg-est-waiver-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
}

.cg-est-waiver-track {
	width: 100%;
	height: 8px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
}

.cg-est-waiver-fill {
	height: 100%;
	width: 0%;
	border-radius: 999px;
	background: linear-gradient(90deg, #2563eb 0%, #059669 100%);
	transition: width 0.25s ease;
}

.cg-spec-bar-top {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.cg-spec-search-wrap {
	position: relative;
	flex: 1 1 240px;
	min-width: 180px;
	display: flex;
	align-items: center;
}

.cg-spec-search-icon {
	position: absolute;
	left: 12px;
	color: #64748b;
	pointer-events: none;
}

.cg-spec-search-input {
	width: 100%;
	padding: 8px 34px 8px 34px;
	border: 1.5px solid #cbd5e1;
	border-radius: 999px;
	background: #ffffff;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--cg-primary);
	font-family: inherit;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cg-spec-search-input:focus {
	border-color: var(--cg-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.cg-spec-clear-btn {
	position: absolute;
	right: 8px;
	border: none;
	background: #e2e8f0;
	color: #334155;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
}

.cg-spec-clear-btn.is-visible {
	display: inline-flex;
}

.cg-spec-status-pill {
	font-size: 12px;
	font-weight: 700;
	color: #1e40af;
	background: var(--cg-blue-light);
	border: 1px solid var(--cg-blue-border);
	padding: 5px 11px;
	border-radius: 999px;
	white-space: nowrap;
}

.cg-spec-chips-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cg-spec-chip,
.cg-cmp-mode-btn,
.cg-grid-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #334155;
	font-size: 12.5px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cg-spec-chip:hover,
.cg-cmp-mode-btn:hover,
.cg-grid-filter-btn:hover {
	border-color: var(--cg-blue);
	color: var(--cg-blue-hover);
	background: var(--cg-blue-light);
}

.cg-spec-chip.is-active,
.cg-cmp-mode-btn.is-active,
.cg-grid-filter-btn.is-active {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-color: var(--cg-blue-hover);
	color: #ffffff;
	box-shadow: 0 3px 10px rgba(37, 99, 235, 0.24);
}

.cg-cmp-mode-btn.is-diff.is-active {
	background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
	border-color: var(--cg-saffron);
	box-shadow: 0 3px 10px rgba(234, 88, 12, 0.26);
}

.cg-row-match td {
	background: #fffbeb !important;
	color: #9a3412;
}

.cg-row-diff td {
	background: #eff6ff !important;
}

.cg-row-same-hidden,
.cg-filter-nomatch,
.cg-section-hidden-empty {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Interactive Grid Quick Filter Pills
   -------------------------------------------------------------------------- */
.cg-grid-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin: 12px 0 18px 0;
	padding: 10px 14px;
	background: #ffffff;
	border: 1px solid var(--cg-blue-border);
	border-radius: 14px;
	box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.05);
}

.cg-grid-filter-pills {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	max-width: 100%;
	padding: 2px 0;
}

.cg-grid-filter-pills::-webkit-scrollbar {
	display: none;
}

.cg-grid-filter-meta {
	font-size: 12px;
	font-weight: 700;
	color: #1e40af;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.cg-grid-filter-bar {
		padding: 9px 10px;
		gap: 8px;
	}
	.cg-spec-chips-row {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		padding-bottom: 2px;
	}
	.cg-spec-chips-row::-webkit-scrollbar {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Interactive FAQ Accordion
   -------------------------------------------------------------------------- */
.cg-faq-expand-all {
	background: var(--cg-blue-light);
	color: var(--cg-blue-hover);
	border: 1px solid var(--cg-blue-border);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cg-faq-expand-all:hover {
	background: var(--cg-blue);
	color: #ffffff;
	border-color: var(--cg-blue);
}

.cg-faq-item {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 12px !important;
	padding: 0 !important;
	background: #ffffff;
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cg-faq-item:last-child {
	margin-bottom: 0 !important;
}

.cg-faq-item.is-open {
	border-color: var(--cg-blue);
	box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.14);
}

.cg-faq-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	background: transparent;
	border: none;
	padding: 15px 18px;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.15s ease;
}

.cg-faq-trigger:hover {
	background: #f8fbff;
}

.cg-faq-trigger h3 {
	margin: 0 !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	color: var(--cg-primary) !important;
	line-height: 1.4;
}

.cg-faq-chevron {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--cg-blue-light);
	color: var(--cg-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.22s ease, background-color 0.2s ease, color 0.2s ease;
}

.cg-faq-item.is-open .cg-faq-chevron {
	transform: rotate(180deg);
	background: var(--cg-blue);
	color: #ffffff;
}

.cg-faq-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.cg-faq-item.is-open .cg-faq-panel {
	grid-template-rows: 1fr;
}

.cg-faq-panel-inner {
	overflow: hidden;
}

.cg-faq-panel-inner p {
	padding: 0 18px 16px 18px;
	margin: 0 !important;
	color: #475569 !important;
	font-size: 14.5px !important;
	line-height: 1.65 !important;
}

/* --------------------------------------------------------------------------
   Staggered Scroll Reveal & Floating Toast Notifications
   -------------------------------------------------------------------------- */
.cg-fx-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-fx-reveal.is-inview {
	opacity: 1;
	transform: translateY(0);
}

.cg-toast-stack {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 10050;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: calc(100vw - 28px);
	pointer-events: none;
}

.cg-toast-stack.has-sticky-offset {
	bottom: 84px;
}

.cg-toast {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 16px;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.96);
	color: #ffffff;
	border: 1px solid rgba(147, 197, 253, 0.35);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
	font-size: 13px;
	font-weight: 600;
	animation: cgFadeIn 0.2s ease-out;
}

.cg-toast-action {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--cg-saffron);
	color: #ffffff !important;
	font-size: 11.5px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.cg-toast-stack {
		right: 12px;
		left: 12px;
		bottom: 16px;
	}
	.cg-toast-stack.has-sticky-offset {
		bottom: 130px;
	}
	.cg-toast {
		justify-content: space-between;
		width: 100%;
		padding: 9px 12px;
		font-size: 12.5px;
	}
}

/* --------------------------------------------------------------------------
   Site-Wide Interactive Controls, Color Harmonies & Responsive Upgrades
   -------------------------------------------------------------------------- */
.cg-mobile-drawer {
	animation: cgFadeIn 0.18s ease-out;
}

.cg-mobile-drawer-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}

.cg-mobile-drawer-search .cg-search-dropdown {
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	width: 100%;
	max-height: 55vh;
}

.cg-mobile-drawer-search input {
	flex: 1;
	min-width: 0;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	font-size: 13.5px;
	font-family: inherit;
	color: var(--cg-primary);
	outline: none;
}

.cg-mobile-drawer-search input:focus {
	background: #ffffff;
	border-color: var(--cg-blue);
}

/* Search Popover Quick-Trending Row */
.cg-search-quick-section {
	padding: 8px 10px 6px 10px;
}

.cg-search-quick-title {
	font-size: 10.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	margin-bottom: 7px;
}

.cg-search-quick-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 6px;
}

.cg-search-quick-chip {
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	color: #1e40af;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.cg-search-quick-chip:hover {
	background: var(--cg-blue);
	border-color: var(--cg-blue);
	color: #ffffff;
}

/* Homepage Pill Counts & Taxonomy Live Filter */
.cg-pill-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 6px;
	padding: 1px 6px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.78);
	color: inherit;
	border: 1px solid rgba(148, 163, 184, 0.28);
	font-variant-numeric: tabular-nums;
}

.cg-home-cat-pill:hover .cg-pill-count {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.3);
	color: #ffffff;
}

.cg-tax-filter-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.cg-tax-filter-input {
	width: 240px;
	max-width: 100%;
	padding: 6px 13px;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	font-size: 12.5px;
	font-family: inherit;
	color: var(--cg-primary);
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cg-tax-filter-input:focus {
	border-color: var(--cg-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.cg-tax-filter-count {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

/* Card Grid Search + Sort Inside Grid Explorer Bar */
.cg-grid-filter-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-left: auto;
}

.cg-grid-search-input {
	width: 185px;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	font-size: 12.5px;
	font-family: inherit;
	color: var(--cg-primary);
	outline: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cg-grid-search-input:focus {
	background: #ffffff;
	border-color: var(--cg-blue);
}

.cg-grid-sort-select {
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	font-size: 12.5px;
	font-weight: 600;
	font-family: inherit;
	color: var(--cg-primary);
	cursor: pointer;
	outline: none;
}

.cg-grid-sort-select:focus {
	border-color: var(--cg-blue);
}

.cg-archive-quick-jumps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.cg-archive-jump-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	color: #1e40af;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cg-archive-jump-chip:hover {
	background: var(--cg-blue);
	color: #ffffff;
	border-color: var(--cg-blue);
}

/* Eligibility Checker Panel inside Card Spec Bar */
.cg-elig-panel {
	display: none;
	flex-direction: column;
	gap: 12px;
	padding-top: 4px;
}

.cg-elig-panel.is-open {
	display: flex;
	animation: cgFadeIn 0.16s ease-out;
}

.cg-elig-controls {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

@media (max-width: 767px) {
	.cg-elig-controls {
		grid-template-columns: 1fr;
	}
}

.cg-elig-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 11px 13px;
}

.cg-elig-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 8px;
}

.cg-elig-val {
	color: var(--cg-blue-hover);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.cg-elig-btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cg-elig-pill-btn {
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #334155;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.14s ease;
}

.cg-elig-pill-btn.is-active {
	background: var(--cg-blue);
	border-color: var(--cg-blue);
	color: #ffffff;
}

.cg-elig-result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #a7f3d0;
	background: #ecfdf5;
	color: #065f46;
}

.cg-elig-result.is-mid {
	border-color: #fde68a;
	background: #fffbeb;
	color: #92400e;
}

.cg-elig-result.is-low {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #334155;
}

.cg-elig-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	background: #ffffff;
	border: 1px solid currentColor;
}

/* Section Copy Anchor Button & Semantic Table Value Tint */
.cg-sec-anchor-btn {
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #64748b;
	border-radius: 999px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cg-sec-anchor-btn:hover {
	background: #eff6ff;
	color: var(--cg-blue-hover);
	border-color: #93c5fd;
}

/* Child Guide Topic Icon Tints */

.cg-child-links-grid .cg-child-card:nth-child(4n+1) .cg-child-icon { background: #eff6ff; border-color: #bfdbfe; }
.cg-child-links-grid .cg-child-card:nth-child(4n+2) .cg-child-icon { background: #ecfdf5; border-color: #a7f3d0; }
.cg-child-links-grid .cg-child-card:nth-child(4n+3) .cg-child-icon { background: #fff7ed; border-color: #fed7aa; }
.cg-child-links-grid .cg-child-card:nth-child(4n+4) .cg-child-icon { background: #eef2ff; border-color: #c7d2fe; }

/* Comparison Page Savings Estimator & Interactive Guide Links */
.cg-cmp-est-panel {
	display: none;
	flex-direction: column;
	gap: 12px;
	padding-top: 4px;
}

.cg-cmp-est-panel.is-open {
	display: flex;
	animation: cgFadeIn 0.16s ease-out;
}

.cg-cmp-est-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 640px) {
	.cg-cmp-est-grid {
		grid-template-columns: 1fr;
	}
}

.cg-cmp-est-card {
	border-radius: 12px;
	padding: 12px 14px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
}

.cg-cmp-est-card.card-a {
	background: #f5f9ff;
	border-color: #bfdbfe;
}

.cg-cmp-est-card.card-b {
	background: #f2fdf8;
	border-color: #a7f3d0;
}

.cg-cmp-est-card.is-winner {
	box-shadow: 0 6px 18px -6px rgba(5, 150, 105, 0.25);
	border-color: #059669;
}

.cg-cmp-est-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--cg-primary);
}

.cg-cmp-est-win-tag {
	font-size: 10.5px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 999px;
	background: #059669;
	color: #ffffff;
	white-space: nowrap;
}

.cg-cmp-est-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-size: 12.5px;
	color: #334155;
}

.cg-cmp-est-metrics strong {
	color: var(--cg-primary);
}

.cg-cmp-guide-link {
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

.cg-cmp-guide-link:hover {
	background: #eff6ff !important;
	border-color: #93c5fd !important;
	transform: translateX(3px);
	box-shadow: 0 4px 10px -4px rgba(37, 99, 235, 0.16);
}

.cg-related-cmp-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

/* Comparison Hub Interactive Swap, Preview, Presets & Search */
.cg-hub-swap-btn {
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: var(--cg-blue-hover);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cg-hub-swap-btn:hover {
	background: var(--cg-blue);
	color: #ffffff;
	border-color: var(--cg-blue);
}

.cg-hub-live-preview {
	display: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.cg-hub-live-preview.is-visible {
	display: grid;
	animation: cgFadeIn 0.18s ease-out;
}

@media (max-width: 640px) {
	.cg-hub-live-preview.is-visible {
		grid-template-columns: 1fr;
	}
}

.cg-hub-preview-card {
	border: 1px solid #dbeafe;
	background: #f8fbff;
	border-radius: 12px;
	padding: 12px 14px;
	text-align: left;
}

.cg-hub-preview-card.is-card-b {
	border-color: #a7f3d0;
	background: #f4fdf9;
}

.cg-hub-preview-card h4 {
	margin: 0 0 4px 0;
	font-size: 14px;
	font-weight: 800;
	color: var(--cg-primary);
}

.cg-hub-preview-meta {
	font-size: 12px;
	color: #475569;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.cg-hub-presets {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.cg-hub-presets-label {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
}

.cg-hub-preset-chip {
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: var(--cg-primary);
	border-radius: 999px;
	padding: 5px 11px;
	font-size: 12px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.cg-hub-preset-chip:hover {
	background: #fff7ed;
	border-color: #fdba74;
	color: #c2410c;
}

.cg-hub-inline-error {
	display: none;
	margin: 12px auto 0 auto;
	padding: 8px 14px;
	max-width: 420px;
	border-radius: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.cg-hub-inline-error.is-visible {
	display: block;
}

/* Editorial Archives Explorer Bar, Search Tabs & In-Article TOC */
.cg-editorial-filter-bar,
.cg-hub-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px 14px;
	margin: 0 0 20px 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.05);
}

.cg-ed-filter-chips {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	max-width: 100%;
	padding: 2px 0;
}

.cg-ed-filter-chips::-webkit-scrollbar {
	display: none;
}

.cg-ed-filter-btn,
.cg-search-tab-btn {
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #334155;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cg-ed-filter-btn:hover,
.cg-search-tab-btn:hover {
	border-color: var(--cg-blue);
	color: var(--cg-blue-hover);
	background: var(--cg-blue-light);
}

.cg-ed-filter-btn.is-active,
.cg-search-tab-btn.is-active {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-color: #1d4ed8;
	color: #ffffff;
}

.cg-ed-filter-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex-wrap: wrap;
}

.cg-ed-search-input {
	width: 210px;
	max-width: 100%;
	padding: 6px 13px;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	font-size: 12.5px;
	font-family: inherit;
	color: var(--cg-primary);
	outline: none;
}

.cg-ed-search-input:focus {
	background: #ffffff;
	border-color: var(--cg-blue);
}

.cg-search-tabs-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px 0;
}

/* Sticky Sidebar Outline Card (Blog & News Single) */
.cg-sidebar-toc-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.cg-sidebar-toc-link {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #475569;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.cg-sidebar-toc-link:hover {
	background: #f8fafc;
	color: var(--cg-blue-hover);
}

.cg-sidebar-toc-link.is-active {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
	font-weight: 700;
}

.cg-sidebar-toc-num {
	font-size: 11px;
	font-weight: 800;
	color: #64748b;
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
	margin-top: 1px;
}

.cg-sidebar-toc-link.is-active .cg-sidebar-toc-num {
	color: #2563eb;
}

.cg-editorial-blockquote {
	background: #f8fbff;
	border: 1px solid #dbeafe;
	border-radius: 12px;
	padding: 16px 20px;
	margin: 22px 0;
	color: #1e293b;
}

@media (min-width: 961px) {
	.cg-editorial-sidebar .cg-sidebar-toc-card {
		position: sticky;
		top: 86px;
	}
}

@media (max-width: 560px) {
	.cg-inline-card-cta {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 14px;
	}
	.cg-inline-card-media {
		width: 100%;
	}
	.cg-inline-card-apply {
		width: 100%;
		justify-content: center;
	}
	.cg-grid-filter-tools,
	.cg-ed-filter-tools {
		width: 100%;
		margin-left: 0;
	}
	.cg-grid-search-input,
	.cg-ed-search-input {
		flex: 1;
		min-width: 0;
		width: auto;
	}
}

@media (min-width: 1025px) {
	.cg-nav-link + .cg-nav-link::before {
		content: "";
		position: absolute;
		left: -9.5px;
		top: 50%;
		transform: translateY(-50%);
		width: 1px;
		height: 14px;
		background: #e2e8f0;
		pointer-events: none;
	}
}

@media (max-width: 1180px) and (min-width: 1025px) {
	.cg-nav {
		gap: 8px;
	}

	.cg-nav-link {
		padding: 5px 10px;
		font-size: 13px;
	}

	.cg-nav-link + .cg-nav-link::before {
		left: -4.5px;
	}

	.cg-header-search-input {
		width: 140px;
	}
}

@media (max-width: 1024px) {
	.cg-nav,
	.cg-header-search-wrap {
		display: none;
	}

	.cg-mobile-menu-btn {
		display: inline-flex;
	}
}
