/*
Theme Name: EngineX Directory
Theme URI: https://cadgram.com/
Author: Cadgram
Description: Elementor-ready presentation theme for EngineX software directories, WooCommerce products, and comparisons.
Version: 1.5.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: enginex-theme
*/

:root {
	--ex-bg: #f7f8fc;
	--ex-surface: #ffffff;
	--ex-surface-soft: #f0f2f9;
	--ex-text: #17152c;
	--ex-muted: #5f6175;
	--ex-border: #e0e2eb;
	--ex-primary: #5145cd;
	--ex-primary-dark: #392eaa;
	--ex-accent: #d7442e;
	--ex-danger: #b42318;
	--ex-radius-sm: 8px;
	--ex-radius: 14px;
	--ex-radius-lg: 22px;
	--ex-shadow: 0 14px 40px rgba(20, 32, 51, 0.09);
	--ex-container: 1200px;
	--ex-gutter: 16px;
	--ex-layout-width: min(calc(100% - (var(--ex-gutter) * 2)), var(--ex-container));
	--ex-reading: 760px;
	--ex-space-1: 0.5rem;
	--ex-space-2: 1rem;
	--ex-space-3: 1.5rem;
	--ex-space-4: 2rem;
	--ex-space-5: 3rem;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ex-bg);
	color: var(--ex-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

img { max-width: 100%; height: auto; }
a { color: var(--ex-primary); text-underline-offset: 0.18em; }
a:hover { color: var(--ex-primary-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 3px solid #84adff;
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--ex-surface);
	color: var(--ex-text);
}

.ex-container { width: var(--ex-layout-width); margin-inline: auto; }
.ex-reading { max-width: var(--ex-reading); }

.ex-site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--ex-border);
	backdrop-filter: blur(12px);
}

.admin-bar .ex-site-header { top: 32px; }
.ex-header-inner { width: 100%; max-width: none; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-inline: var(--ex-gutter); }
.ex-brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ex-text); font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.ex-brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--ex-primary); color: #fff; font-size: 0.88rem; letter-spacing: -0.04em; }
.ex-brand img { display: block; max-height: 42px; width: auto; }

.ex-menu-toggle {
	display: none;
	min-width: 44px;
	min-height: 44px;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius-sm);
	background: var(--ex-surface);
	color: var(--ex-text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ex-primary-nav ul { display: flex; align-items: center; gap: 0.35rem; padding: 0; margin: 0; list-style: none; }
.ex-primary-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0.55rem 0.85rem; border-radius: var(--ex-radius-sm); color: var(--ex-text); font-weight: 650; text-decoration: none; }
.ex-primary-nav a:hover,
.ex-primary-nav .current-menu-item > a { background: var(--ex-surface-soft); color: var(--ex-primary-dark); }

.ex-main { min-height: 62vh; padding-block: clamp(2rem, 4vw, 4rem); }
.ex-page-header { margin-bottom: var(--ex-space-4); }
.ex-eyebrow { margin: 0 0 0.5rem; color: var(--ex-accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.2; letter-spacing: -0.025em; }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

.ex-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ex-space-3); }
.ex-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius);
	background: var(--ex-surface);
	box-shadow: 0 6px 22px rgba(20, 32, 51, 0.05);
}
.ex-card h2, .ex-card h3 { margin-bottom: 0.6rem; }
.ex-card__meta { margin: auto 0 0; padding-top: 1rem; color: var(--ex-muted); font-size: 0.92rem; }
.ex-card__link { color: inherit; text-decoration: none; }
.ex-card__link::after { content: ""; position: absolute; inset: 0; }
.ex-card--linked { position: relative; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.ex-card--linked:hover { transform: translateY(-3px); border-color: #a9bde0; box-shadow: var(--ex-shadow); }

.ex-button,
button,
input[type="submit"],
.button,
.wp-element-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0.72rem 1.1rem;
	border: 1px solid transparent;
	border-radius: var(--ex-radius-sm);
	background: var(--ex-primary);
	color: #fff;
	font: inherit;
	font-weight: 750;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 180ms ease, transform 180ms ease;
}
.ex-button:hover,
button:hover,
input[type="submit"]:hover,
.button:hover { background: var(--ex-primary-dark); color: #fff; }

.ex-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	padding: clamp(2rem, 5vw, 4.5rem);
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius-lg);
	background: linear-gradient(135deg, #fff 25%, #eaf1ff 100%);
	box-shadow: var(--ex-shadow);
}
.ex-hero__summary { max-width: 68ch; color: var(--ex-muted); font-size: 1.08rem; }
.ex-hero__facts { display: grid; gap: 0.75rem; padding: 1.25rem; border-radius: var(--ex-radius); background: rgba(255, 255, 255, 0.84); }
.ex-fact { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--ex-border); }
.ex-fact:last-child { padding-bottom: 0; border: 0; }
.ex-fact dt { color: var(--ex-muted); }
.ex-fact dd { margin: 0; font-weight: 750; text-align: right; }

.ex-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.ex-section + .ex-section { border-top: 1px solid var(--ex-border); }
.ex-content { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--ex-border); border-radius: var(--ex-radius); background: var(--ex-surface); }
.ex-content > *:first-child { margin-top: 0; }
.ex-content > *:last-child { margin-bottom: 0; }

.ex-chip-list { display: flex; flex-wrap: wrap; gap: 0.55rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.ex-chip { display: inline-flex; min-height: 36px; align-items: center; padding: 0.35rem 0.7rem; border: 1px solid #bcd0f5; border-radius: 999px; background: #eef4ff; color: #173b77; font-size: 0.88rem; font-weight: 700; }

.ex-comparison-shell { overflow: hidden; border: 1px solid var(--ex-border); border-radius: var(--ex-radius); background: var(--ex-surface); }
.ex-comparison-shell .enginex-comparison-table { overflow-x: auto; }
.ex-comparison-shell table { min-width: 720px; }

.ex-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
	margin-bottom: 1.25rem;
	color: var(--ex-muted);
	font-size: 0.88rem;
}

.ex-breadcrumbs a { color: var(--ex-muted); text-decoration: none; }
.ex-breadcrumbs a:hover { color: var(--ex-primary); }
.ex-product-breadcrumbs { margin-bottom: 0.65rem; font-size: 0.78rem; line-height: 1.4; }
.ex-product-breadcrumbs [aria-current="page"] { max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ex-product-hero {
	display: grid;
	grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.45fr) minmax(270px, 0.82fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: stretch;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius-lg);
	background: var(--ex-surface);
	box-shadow: var(--ex-shadow);
}

.ex-product-media {
	display: flex;
	min-height: 300px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius);
	background: #fafaff;
	color: var(--ex-muted);
	font-size: 0.82rem;
	text-align: center;
}

.ex-product-media__image { width: 100%; max-height: 230px; object-fit: contain; }
.ex-product-media__placeholder { display: grid; width: 148px; height: 148px; place-items: center; border-radius: 30px; background: linear-gradient(145deg, #5d50d6, #2f266f); color: #fff; box-shadow: 0 20px 35px rgba(81, 69, 205, 0.22); }
.ex-product-media__placeholder span { font-size: 2.25rem; font-weight: 850; letter-spacing: -0.08em; }
.ex-product-intro { padding-block: 0.4rem; }
.ex-product-intro h1 { margin-bottom: 0.65rem; font-size: clamp(2rem, 4vw, 3.35rem); }
.ex-product-tagline { margin: 0 0 0.85rem; color: var(--ex-muted); font-size: 1.12rem; font-weight: 550; }
.ex-product-summary { max-width: 64ch; color: #45475b; }

.ex-rating-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	align-items: center;
	margin-bottom: 1rem;
	color: #7a4b00;
	font-size: 0.9rem;
}

.ex-rating-badge { display: inline-flex; align-items: baseline; padding: 0.3rem 0.55rem; border-radius: 6px; background: #107c41; color: #fff; }
.ex-rating-badge strong { font-size: 1rem; }

.ex-buy-card {
	align-self: stretch;
	padding: 1.35rem;
	border: 1px solid #d8d3ff;
	border-radius: var(--ex-radius);
	background: linear-gradient(180deg, #fbfaff, #f1efff);
}

.ex-buy-card__label { margin: 0; color: var(--ex-muted); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }
.ex-buy-card__price { margin: 0.25rem 0; color: var(--ex-text); font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 850; letter-spacing: -0.045em; line-height: 1.2; }
.ex-buy-card__price--small { font-size: 1.35rem; }
.ex-buy-card__note { margin: 0 0 1rem; color: var(--ex-muted); font-size: 0.78rem; line-height: 1.45; }
.ex-button--full { width: 100%; margin-top: 0.65rem; }
.ex-button--secondary { border-color: #c8c1fa; background: #fff; color: var(--ex-primary-dark); }
.ex-button--secondary:hover { background: #ebe8ff; color: var(--ex-primary-dark); }
.ex-buy-card__checks { display: grid; gap: 0.55rem; padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid #d8d3ff; list-style: none; color: #3f4052; font-size: 0.84rem; }
.ex-buy-card__checks li::before { content: "✓"; margin-right: 0.5rem; color: #107c41; font-weight: 850; }

.ex-trust-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 1.5rem;
	overflow: hidden;
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius);
	background: var(--ex-border);
}

.ex-trust-strip > div { display: grid; padding: 1rem 1.25rem; background: var(--ex-surface); }
.ex-trust-strip strong { color: var(--ex-text); }
.ex-trust-strip span { color: var(--ex-muted); font-size: 0.86rem; }

.ex-product-nav {
	position: sticky;
	z-index: 80;
	top: 73px;
	display: flex;
	gap: 0.3rem;
	margin-block: 1.5rem;
	padding: 0.55rem;
	overflow-x: auto;
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius);
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 8px 24px rgba(23, 21, 44, 0.07);
	white-space: nowrap;
}

.admin-bar .ex-product-nav { top: 105px; }
.ex-product-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0.55rem 0.85rem; border-radius: 8px; color: var(--ex-text); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.ex-product-nav a:hover { background: #eeecff; color: var(--ex-primary-dark); }

.ex-detail-layout { display: block; }
.ex-detail-main { display: grid; gap: 1.5rem; }
.ex-product-section { scroll-margin-top: 150px; padding: clamp(1.35rem, 3vw, 2.4rem); border: 1px solid var(--ex-border); border-radius: var(--ex-radius); background: var(--ex-surface); }
.ex-product-section > *:last-child { margin-bottom: 0; }
.ex-product-section h2 { margin-bottom: 1.25rem; }
.ex-prose { max-width: 78ch; color: #3f4154; }
.ex-prose p:last-child { margin-bottom: 0; }

.ex-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ex-feature { display: grid; grid-template-columns: 34px 1fr; gap: 0.75rem; padding: 1rem; border: 1px solid var(--ex-border); border-radius: 10px; background: #fcfcff; }
.ex-feature__check { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #e6f6ed; color: #107c41; font-weight: 850; }
.ex-feature h3 { margin-bottom: 0.3rem; font-size: 1rem; }
.ex-feature p { margin: 0; color: var(--ex-muted); font-size: 0.86rem; }

.ex-pricing-stage { display: grid; place-items: center; padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid #e4e1ff; border-radius: 14px; background: linear-gradient(145deg, #fafaff, #f0efff); }
.ex-plan-card { width: min(100%, 720px); overflow: hidden; border: 1px solid #cfcaff; border-radius: 16px; background: #fff; box-shadow: 0 18px 45px rgba(50, 38, 140, 0.13); }
.ex-plan-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.5rem; background: linear-gradient(135deg, var(--ex-primary-dark), var(--ex-primary)); color: #fff; }
.ex-plan-card__head span { padding: 0.3rem 0.55rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-size: 0.75rem; font-weight: 750; }
.ex-plan-card__head h3 { margin: 0; color: inherit; font-size: 1.25rem; }
.ex-plan-card__body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 1.5rem; padding: 1.5rem; }
.ex-plan-card__intro { grid-column: 1 / -1; margin: 0; color: var(--ex-text); font-weight: 800; }
.ex-plan-card__body ul { display: grid; align-content: start; gap: 0.7rem; padding: 0; margin: 0; list-style: none; }
.ex-plan-card__body li { position: relative; padding-left: 1.55rem; color: var(--ex-text); }
.ex-plan-card__body li::before { position: absolute; left: 0; color: #08783e; font-weight: 900; content: "✓"; }
.ex-plan-controls { display: grid; grid-template-columns: 1fr; gap: 0.65rem; }
.ex-plan-controls div { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.65rem 0.8rem; border: 1px solid var(--ex-border); border-radius: 9px; background: var(--ex-surface-soft); }
.ex-plan-controls span { color: var(--ex-muted); font-size: 0.8rem; }
.ex-plan-controls strong { color: var(--ex-text); }
.ex-plan-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 1.5rem; border-top: 1px solid var(--ex-border); background: #fbfbfe; }
.ex-plan-card__footer > div { display: grid; }
.ex-plan-card__footer small { color: var(--ex-muted); }
.ex-plan-card__footer strong { color: var(--ex-text); font-size: 1.35rem; }

.ex-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ex-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--ex-border); border-radius: 10px; background: var(--ex-surface-soft); }
.ex-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ex-gallery figcaption { padding: 0.7rem; color: var(--ex-muted); font-size: 0.82rem; }

.ex-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ex-border); border-left: 1px solid var(--ex-border); }
.ex-spec-grid > div { padding: 1rem; border-right: 1px solid var(--ex-border); border-bottom: 1px solid var(--ex-border); }
.ex-spec-grid dt { margin-bottom: 0.2rem; color: var(--ex-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.ex-spec-grid dd { margin: 0; color: var(--ex-text); font-weight: 700; }

.ex-pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ex-list-card { padding: 1.25rem; border-radius: 12px; }
.ex-list-card--positive { border: 1px solid #a9dfbf; background: #f0fbf5; }
.ex-list-card--negative { border: 1px solid #f0c2bc; background: #fff5f3; }
.ex-list-card ul { display: grid; gap: 0.65rem; padding-left: 1.2rem; margin-bottom: 0; }

.ex-review-summary { display: grid; grid-template-columns: 160px 150px minmax(240px, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.ex-score-ring,
.ex-overall-score,
.ex-rating-bars { display: grid; align-content: center; padding: 1.25rem; border: 1px solid var(--ex-border); border-radius: 12px; text-align: center; }
.ex-score-ring strong { font-size: 2rem; color: #107c41; }
.ex-overall-score strong { font-size: 2.4rem; color: var(--ex-text); }
.ex-rating-bars { gap: 0.65rem; text-align: left; }
.ex-rating-bars div { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.45rem; }
.ex-rating-bars div::after { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--ex-primary) calc(var(--score) * 20%), var(--ex-border) 0); content: ""; }
.ex-subheading { margin-top: 1.5rem; font-size: 1.15rem; }

.ex-company-details { margin: 0; }
.ex-company-details > div { display: grid; grid-template-columns: minmax(130px, 0.25fr) 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--ex-border); }
.ex-company-details dt { color: var(--ex-muted); font-weight: 700; }
.ex-company-details dd { margin: 0; }

.ex-product-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ex-product-card { display: flex; min-width: 0; flex-direction: column; padding: 1rem; border: 1px solid var(--ex-border); border-radius: 12px; background: #fff; }
.ex-product-card__media { display: grid; min-height: 120px; place-items: center; border-radius: 8px; background: var(--ex-surface-soft); }
.ex-product-card__media img { max-height: 100px; object-fit: contain; }
.ex-product-card h3 { margin: 0.9rem 0 0.45rem; font-size: 1rem; }
.ex-product-card__rating { color: #8a5300; font-size: 0.84rem; }
.ex-product-card__price { margin-block: 0.65rem; color: var(--ex-text); font-weight: 800; }
.ex-product-card ul { flex: 1; padding-left: 1.1rem; color: var(--ex-muted); font-size: 0.84rem; }
.ex-product-card .ex-button { margin-top: auto; }

.ex-link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; border-top: 1px solid var(--ex-border); }
.ex-link-list a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ex-border); color: var(--ex-text); font-weight: 650; text-decoration: none; }
.ex-link-list a:hover { color: var(--ex-primary); }

.ex-faqs { display: grid; gap: 0.7rem; }
.ex-faqs details { border: 1px solid var(--ex-border); border-radius: 10px; background: #fcfcff; }
.ex-faqs summary { min-height: 52px; padding: 0.85rem 1rem; color: var(--ex-text); font-weight: 750; cursor: pointer; }
.ex-faqs details > div { padding: 0 1rem 1rem; color: var(--ex-muted); }

.ex-question-list { display: grid; gap: 0.75rem; }
.ex-question { padding: 1rem 0; border-bottom: 1px solid var(--ex-border); }
.ex-question h3 { margin-bottom: 0.35rem; font-size: 1rem; }
.ex-question p { margin-bottom: 0.4rem; color: var(--ex-muted); }
.ex-question span { color: var(--ex-primary-dark); font-size: 0.82rem; font-weight: 700; }

.ex-trust-section { background: #fffcf1; border-color: #f2dda0; }
.ex-trust-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ex-trust-card { padding: 1.25rem; border: 1px solid #ecd587; border-radius: 12px; background: #fffdf7; }
.ex-trust-card strong { display: block; margin-bottom: 0.55rem; color: var(--ex-text); }
.ex-trust-card p { margin: 0; color: var(--ex-muted); font-size: 0.88rem; }
.ex-directory-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ex-border); border-radius: var(--ex-radius); background: #fff; }
.ex-directory-metrics span { padding: 1rem; color: var(--ex-text); font-size: 0.88rem; font-weight: 700; text-align: center; }
.ex-directory-metrics span + span { border-left: 1px solid var(--ex-border); }

.ex-pagination { margin-top: var(--ex-space-4); }
.ex-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ex-pagination .page-numbers { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid var(--ex-border); border-radius: var(--ex-radius-sm); background: var(--ex-surface); text-decoration: none; }
.ex-pagination .current { background: var(--ex-primary); color: #fff; }

.ex-site-footer { padding-block: 3rem; border-top: 1px solid var(--ex-border); background: #101828; color: #d0d5dd; }
.ex-footer-inner { width: 100%; max-width: none; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; align-items: start; padding-inline: var(--ex-gutter); }
.ex-site-footer h2 { margin-bottom: 1rem; color: #fff; font-size: 1rem; }
.ex-footer-brand strong { color: #fff; font-size: 1.35rem; }
.ex-site-footer a { color: #f2f4f7; }
.ex-footer-menu { display: grid; gap: 0.65rem; padding: 0; margin: 0; list-style: none; }
.ex-footer-menu a { text-decoration: none; }
.ex-footer-menu a:hover { text-decoration: underline; }
.ex-footer-bottom { width: calc(100% - (var(--ex-gutter) * 2)); max-width: none; display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; margin-top: 2.5rem; border-top: 1px solid #344054; font-size: 0.82rem; }

.woocommerce .woocommerce-breadcrumb { margin-bottom: 1.5rem; color: var(--ex-muted); }
.woocommerce div.product { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--ex-border); border-radius: var(--ex-radius-lg); background: var(--ex-surface); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; padding: 1.25rem; margin: 0 !important; border: 1px solid var(--ex-border); border-radius: var(--ex-radius); background: var(--ex-surface); }

.ex-directory-archive { padding-top: 0; }
.ex-archive-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: linear-gradient(130deg, #0d2d73 0%, #163f91 55%, #5145cd 130%); color: #fff; }
.ex-archive-hero h1 { max-width: 850px; margin-bottom: 0.75rem; color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); }
.ex-archive-hero .ex-eyebrow { color: #b7d1ff; }
.ex-archive-hero__description,
.ex-archive-hero > .ex-container > p { max-width: 850px; color: #e6efff; }
.ex-archive-hero__description > *:last-child { margin-bottom: 0; }
.ex-archive-hero .ex-breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.5rem; color: #c8d8f7; font-size: 0.84rem; }
.ex-archive-hero .ex-breadcrumbs a { color: #fff; }
.ex-archive-hero__meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.5rem; font-size: 0.86rem; font-weight: 700; }
.ex-archive-hero__meta span::before { margin-right: 0.45rem; color: #8ee0b2; content: "✓"; }

.ex-archive-tabs { position: sticky; z-index: 70; top: 73px; display: flex; gap: 0.25rem; padding: 0.6rem; margin-block: 1.5rem; overflow-x: auto; border: 1px solid var(--ex-border); border-radius: 12px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 8px 24px rgba(23, 21, 44, 0.06); white-space: nowrap; }
.admin-bar .ex-archive-tabs { top: 105px; }
.ex-archive-tabs a { display: inline-flex; min-height: 44px; align-items: center; padding: 0.55rem 0.9rem; border-radius: 8px; color: var(--ex-text); font-size: 0.88rem; font-weight: 750; text-decoration: none; }
.ex-archive-tabs a:hover,
.ex-archive-tabs .is-active { background: #eceaff; color: var(--ex-primary-dark); }

.ex-archive-results { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.5rem; align-items: start; }
.ex-results-main { min-width: 0; }
.ex-results-toolbar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--ex-border); border-radius: 12px 12px 0 0; background: #fff; }
.ex-results-toolbar h2,
.ex-results-toolbar p { margin: 0; }
.ex-results-toolbar .woocommerce-ordering { margin: 0; }
.ex-results-toolbar select { min-height: 44px; padding: 0.55rem 2.2rem 0.55rem 0.7rem; border: 1px solid var(--ex-border); border-radius: 8px; background: #fff; }
.ex-results-toolbar .woocommerce-result-count { display: none; }

.ex-software-list { border: solid var(--ex-border); border-width: 0 1px; background: #fff; }
.ex-software-row { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr) 170px; gap: 1.25rem; min-height: 190px; padding: 1.4rem 1.25rem 2.2rem; border-bottom: 1px solid var(--ex-border); }
.ex-compare-check { position: absolute; bottom: 0.75rem; left: 1.25rem; display: inline-flex; min-height: 30px; align-items: center; gap: 0.4rem; color: var(--ex-muted); font-size: 0.78rem; cursor: pointer; }
.ex-compare-check input { width: 16px; height: 16px; accent-color: var(--ex-primary); }
.ex-software-row__logo { display: grid; width: 82px; height: 82px; place-items: center; overflow: hidden; border: 1px solid var(--ex-border); border-radius: 10px; background: var(--ex-surface-soft); color: var(--ex-primary); font-weight: 850; text-decoration: none; }
.ex-software-row__logo img { width: 100%; height: 100%; object-fit: contain; }
.ex-software-row__content h3 { margin-bottom: 0.35rem; font-size: 1.08rem; }
.ex-software-row__content h3 a { color: var(--ex-text); text-decoration: none; }
.ex-software-row__content p { max-width: 75ch; margin: 0.65rem 0 0.35rem; color: var(--ex-muted); font-size: 0.88rem; }
.ex-software-row__facts { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; color: var(--ex-muted); font-size: 0.77rem; }
.ex-rating-pill { padding: 0.15rem 0.4rem; border-radius: 5px; background: #e7f7ed; color: #08783e; font-weight: 800; }
.ex-text-link { color: var(--ex-primary-dark); font-size: 0.83rem; font-weight: 750; text-decoration: none; }
.ex-software-row__action { display: flex; align-items: flex-end; flex-direction: column; gap: 0.45rem; text-align: right; }
.ex-software-row__action small { color: var(--ex-muted); }
.ex-software-row__action strong { color: var(--ex-text); }
.ex-software-row__action .ex-button { margin-top: auto; }
.ex-results-main .woocommerce-pagination { padding: 1.25rem; border: 1px solid var(--ex-border); border-top: 0; border-radius: 0 0 12px 12px; background: #fff; }

.ex-results-sidebar { position: sticky; top: 160px; display: grid; gap: 1rem; }
.admin-bar .ex-results-sidebar { top: 192px; }
.ex-sidebar-panel { padding: 1.25rem; border: 1px solid var(--ex-border); border-radius: 12px; background: #fff; }
.ex-sidebar-panel--help { background: linear-gradient(145deg, #f3f0ff, #fff); }
.ex-sidebar-panel h2 { margin-bottom: 0.85rem; font-size: 1.05rem; }
.ex-sidebar-panel p { color: var(--ex-muted); font-size: 0.86rem; }
.ex-sidebar-links { display: grid; padding: 0; margin: 0; list-style: none; }
.ex-sidebar-links a { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 0.75rem; border-bottom: 1px solid var(--ex-border); color: var(--ex-text); font-size: 0.84rem; text-decoration: none; }
.ex-sidebar-links span { color: var(--ex-muted); }
.ex-filter-tags,
.ex-related-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.ex-filter-tags a,
.ex-related-tags a { display: inline-flex; min-height: 38px; align-items: center; padding: 0.4rem 0.65rem; border: 1px solid var(--ex-border); border-radius: 7px; background: #fff; color: var(--ex-text); font-size: 0.78rem; font-weight: 650; text-decoration: none; }
.ex-filter-tags a:hover,
.ex-related-tags a:hover { border-color: var(--ex-primary); color: var(--ex-primary-dark); }

.ex-archive-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); margin-block: 2rem; border-radius: 14px; background: #102c73; color: #e9efff; }
.ex-archive-cta h2 { color: #fff; }
.ex-archive-cta p { max-width: 70ch; margin-bottom: 0; }
.ex-archive-cta .ex-eyebrow { color: #aecbff; }
.ex-button--light { flex: 0 0 auto; background: #fff; color: #173782; }
.ex-archive-section { scroll-margin-top: 150px; padding: clamp(1.35rem, 3vw, 2.4rem); margin-bottom: 1.5rem; border: 1px solid var(--ex-border); border-radius: var(--ex-radius); background: #fff; }
.ex-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ex-editorial-card { overflow: hidden; border: 1px solid var(--ex-border); border-radius: 12px; }
.ex-editorial-card > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ex-editorial-card > div { padding: 1rem; }
.ex-editorial-card h3 { font-size: 1rem; }
.ex-editorial-card p { color: var(--ex-muted); font-size: 0.84rem; }
.ex-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ex-article-card { display: grid; grid-template-columns: 105px 1fr; gap: 0.85rem; padding: 0.75rem; border: 1px solid var(--ex-border); border-radius: 10px; }
.ex-article-card img { width: 105px; height: 76px; border-radius: 7px; object-fit: cover; }
.ex-article-card h3 { margin-bottom: 0.35rem; font-size: 0.9rem; }
.ex-article-card span { color: var(--ex-muted); font-size: 0.76rem; }
.ex-table-scroll { overflow-x: auto; }
.ex-comparison-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ex-comparison-table th,
.ex-comparison-table td { padding: 0.75rem; border: 1px solid var(--ex-border); text-align: left; }
.ex-comparison-table thead { background: #173782; color: #fff; }
.ex-comparison-table tbody tr:nth-child(even) { background: #f7f8fc; }
.ex-archive-question { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.5rem; margin-bottom: 2rem; border: 1px solid #cbd5ee; border-radius: 12px; background: #f0f5ff; }
.ex-archive-question div { display: grid; }
.ex-archive-question span { color: var(--ex-muted); font-size: 0.86rem; }

@media (max-width: 900px) {
	.ex-card-grid,
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-hero { grid-template-columns: 1fr; }
	.ex-product-hero { grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr); }
	.ex-buy-card { grid-column: 1 / -1; }
	.ex-product-card-grid,
	.ex-trust-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-review-summary { grid-template-columns: 1fr 1fr; }
	.ex-rating-bars { grid-column: 1 / -1; }
	.ex-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-archive-results { grid-template-columns: 1fr; }
	.ex-results-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-editorial-grid,
	.ex-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.admin-bar .ex-site-header { top: 46px; }
	.ex-menu-toggle { display: inline-flex; }
	.ex-primary-nav { position: absolute; top: calc(100% + 1px); right: 1rem; left: 1rem; display: none; padding: 0.75rem; border: 1px solid var(--ex-border); border-radius: 0 0 var(--ex-radius) var(--ex-radius); background: var(--ex-surface); box-shadow: var(--ex-shadow); }
	.ex-primary-nav.is-open { display: block; }
	.ex-primary-nav ul { display: grid; }
	.ex-primary-nav a { width: 100%; }
	.ex-product-nav { top: 73px; }
	.admin-bar .ex-product-nav { top: 119px; }
	.ex-archive-tabs { top: 73px; }
	.admin-bar .ex-archive-tabs { top: 119px; }
}

@media (max-width: 620px) {
	.ex-card-grid,
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.ex-footer-inner { grid-template-columns: 1fr; }
	.ex-footer-bottom { flex-direction: column; }
	.ex-main { padding-block: 2rem; }
	h1 { font-size: clamp(2rem, 12vw, 3rem); }
	.ex-product-hero,
	.ex-feature-grid,
	.ex-spec-grid,
	.ex-pros-cons,
	.ex-trust-strip,
	.ex-gallery,
	.ex-review-summary,
	.ex-product-card-grid,
	.ex-link-list,
	.ex-trust-cards,
	.ex-directory-metrics { grid-template-columns: 1fr; }
	.ex-buy-card { grid-column: auto; }
	.ex-product-media { min-height: 220px; }
	.ex-rating-bars { grid-column: auto; }
	.ex-company-details > div { grid-template-columns: 1fr; gap: 0.25rem; }
	.ex-directory-metrics span + span { border-top: 1px solid var(--ex-border); border-left: 0; }
	.ex-plan-card__head,
	.ex-plan-card__footer { align-items: stretch; flex-direction: column; }
	.ex-plan-card__body { grid-template-columns: 1fr; }
	.ex-plan-card__intro { grid-column: auto; }
	.ex-plan-card__footer .ex-button { width: 100%; }
	.ex-results-toolbar,
	.ex-archive-cta,
	.ex-archive-question { align-items: stretch; flex-direction: column; }
	.ex-software-row { grid-template-columns: 68px minmax(0, 1fr); gap: 0.9rem; padding-inline: 1rem; }
	.ex-software-row__logo { width: 68px; height: 68px; }
	.ex-software-row__action { grid-column: 1 / -1; align-items: flex-start; padding-left: 0; text-align: left; }
	.ex-software-row__action .ex-button { width: 100%; }
	.ex-compare-check { left: 1rem; }
	.ex-results-sidebar,
	.ex-editorial-grid,
	.ex-article-grid { grid-template-columns: 1fr; }
	.ex-article-card { grid-template-columns: 90px 1fr; }
	.ex-article-card img { width: 90px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
