/* ==========================================================================
   RTV — homepage hero + feature cards
   File: /wp-content/themes/rtv-tools/styles/rtv-hero.css
   Loaded from functions.php (handle: rtv-hero)

   NOTE ON !important
   style.css line 199 sets  h1,h2 { font-family:'Ubuntu'!important; font-weight:700!important; }
   and line 6513 paints .featured-home solid blue. Those two are the only
   reasons !important appears below.
   ========================================================================== */


.home .container--home {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0;
	max-width: 100%;
}

/* ==========================================================================
   RTV — homepage hero + feature cards
   File: /wp-content/themes/rtv-tools/styles/rtv-hero.css
   Loaded from functions.php (handle: rtv-hero)

   NOTE ON !important
   style.css line 199 sets  h1,h2 { font-family:'Ubuntu'!important; font-weight:700!important; }
   and line 6513 paints .featured-home solid blue. Those two are the only
   reasons !important appears below.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS
   -------------------------------------------------------------------------- */
   :root {
	--indigo:       #4a5aa5;
	--indigo-dark:  #3a4785;
	--purple:       #8d2f80;
	--purple-dark:  #75276b;
	--blue:         #3568b0;
	--blue-dark:    #2c5697;
	--gold:         #f2b01e;
	--gold-dark:    #e0a213;
	--ink:          #1e2333;
	--slate:        #4c5566;
	--muted:        #7b8496;
	--line:         #e6e9f0;
	--bg:           #ffffff;
	--bg-soft:      #f5f7fb;

	--radius:       12px;
	--radius-lg:    16px;

	--shadow-sm:    0 1px 3px rgba(30, 35, 51, .08), 0 1px 2px rgba(30, 35, 51, .04);
	--shadow-md:    0 6px 20px rgba(30, 35, 51, .10);
	--shadow-lg:    0 18px 40px rgba(30, 35, 51, .16);

	--maxw:         1140px;
	--space:        24px;

	--font:         'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* NOTE: the global `body { font-family: var(--font) }` from your prototype is
   deliberately NOT applied here — style.css line 184 sets Ubuntu with
   !important across the whole site, and overriding it would restyle every
   page including WooCommerce. The font is applied per-component instead. */


/* ==========================================================================
   1. HERO
   ========================================================================== */

.rtv-hero {
	float: left;                 /* the theme floats its blocks — keeps layout sane */
	clear: both;
	width: 100%;
	padding: 74px 30px;
	box-sizing: border-box;
	font-family: var(--font);
	background: linear-gradient(115deg, var(--indigo-dark) 0%, var(--indigo) 48%, var(--blue) 100%);
	overflow: hidden;
}

/* Two columns: content left, versions panel right */
.rtv-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
}

.rtv-hero__main {
	flex: 1 1 480px;
	min-width: 0;                /* lets long words wrap instead of forcing overflow */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	text-align: left;
}

.rtv-hero__aside {
	flex: 0 1 455px;
	min-width: 0;
}

/* --------------------------------------------------------------------------
   1a. Badge — Inter 600 · 12.5px · lh 100% · ls 0.4px · #fff
   -------------------------------------------------------------------------- */
.rtv-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 40px;
	background: rgba(255, 255, 255, .10);
	font-family: var(--font);
	font-weight: 600;
	font-size: 12.5px;
	line-height: 100%;
	letter-spacing: .4px;
	color: #fff;
}

.rtv-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(242, 176, 30, .6);
    animation: pulse 2s infinite;
}

@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(242,176,30,.6)}70%{box-shadow:0 0 0 10px rgba(242,176,30,0)}100%{box-shadow:0 0 0 0 rgba(242,176,30,0)}}

/* --------------------------------------------------------------------------
   1b. Heading — Inter 800 · 44px · lh 114% · #fff
   -------------------------------------------------------------------------- */
.rtv-hero__title {
	margin: 0 !important;
	width: auto !important;
	max-width: 655px;
	font-family: var(--font) !important;
	font-weight: 800 !important;
	font-size: 44px !important;
	line-height: 114% !important;
	letter-spacing: 0 !important;
	text-align: left;
	text-transform: none !important;
	color: #fff !important;
}

@media only screen and (max-width: 1023px) {
	.rtv-hero__title { max-width: 100% !important; }
}

.rtv-hero__title a { color: #fff !important; text-decoration: none !important; }

/* --------------------------------------------------------------------------
   1c. Summary — Inter 400 · 18px · lh 150% · #fff
   -------------------------------------------------------------------------- */
.rtv-hero__text {
	margin: 0;
	max-width: 494px;
	font-family: var(--font);
	font-weight: 400;
	font-size: 18px;
	line-height: 150%;
	letter-spacing: 0;
	text-align: left;
	color: rgba(255, 255, 255, .90);
}

@media only screen and (max-width: 1023px) {
	.rtv-hero__text { max-width: 100% !important; }
}

.rtv-hero__text strong {
	font-weight: 700;
	color: #fff;
}

/* --------------------------------------------------------------------------
   1d. Buttons
   -------------------------------------------------------------------------- */
.rtv-hero__actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 6px;
}

@media only screen and (max-width: 1023px) {
	.rtv-hero__actions {
		justify-content: center;
		width: 100%;
	}
}

.rtv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 26px;
	border-radius: 40px;
	box-sizing: border-box;
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none !important;
	transition: background-color .18s, border-color .18s, transform .18s, box-shadow .18s;
}

@media only screen and (max-width: 1023px) {
	.rtv-btn {
		justify-content: center;
		width: 100%;
	}
}

.rtv-btn:hover { transform: translateY(-2px); }

.rtv-btn--primary {
	border: 0;
	background: var(--gold);
	color: #3a2800 !important;
}
.rtv-btn--primary:hover {
	background: var(--gold-dark);
}

.rtv-btn--ghost {
	background: rgba(255,255,255,.10);
	border: 1px solid rgba(255,255,255,.35);
	color: #fff !important;
}
.rtv-btn--ghost:hover {
	background: rgba(255, 255, 255, .12);
	border-color: #fff;
}

.rtv-btn--block {
	display: flex;
	width: 100%;
}

/* Circular chevron badge — drawn in CSS, no icon font needed */
.rtv-btn__chev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(30, 35, 51, .16);
	flex: 0 0 auto;
}
.rtv-btn__chev::before {
	content: "";
	width: 5px;
	height: 5px;
	border-top: 1.6px solid var(--ink);
	border-right: 1.6px solid var(--ink);
	transform: translateX(-1px) rotate(45deg);
}

/* --------------------------------------------------------------------------
   1e. Trust strip
   -------------------------------------------------------------------------- */
.rtv-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin: 14px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

@media only screen and (max-width: 1023px) {
	.rtv-hero__stats {
		justify-content: center;
		width: 100%;
	}
}

.rtv-hero__stats li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}

.rtv-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rtv-stat__num {
	font-family: var(--font);
	font-weight: 800;
	font-size: 21px;
	line-height: 1.1;
	color: #fff;
}

.rtv-stat__label {
	font-family: var(--font);
	font-weight: 400;
	font-size: 13px;
	line-height: 1.3;
	color: rgba(255, 255, 255, .72);
}

/* --------------------------------------------------------------------------
   1f. Latest versions panel
   -------------------------------------------------------------------------- */
.rtv-versions {
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .09);
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-sizing: border-box;
}

.rtv-versions__title {
	margin: 0 0 6px !important;
	font-family: var(--font) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	line-height: 100% !important;
	letter-spacing: 1.2px !important;
	text-transform: uppercase !important;
	color: rgba(255, 255, 255, .88) !important;
}

.rtv-versions__list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.rtv-versions__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	margin: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
	list-style: none !important;
	background: none !important;
}

.rtv-versions__name,
.rtv-versions__name:hover {
	font-family: var(--font);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.3;
	color: #fff !important;
	text-decoration: none !important;
}
.rtv-versions__name:hover { color: var(--gold) !important; }

.rtv-versions__tag {
	flex: 0 0 auto;
	padding: 5px 10px;
	border-radius: 6px;
    background: rgba(62, 207, 142, .22);
    color: #c7ffe4;
	font-family: var(--font);
	font-weight: 700;
	font-size: 11.5px;
	line-height: 1;
	letter-spacing: .2px;
}

.rtv-versions .rtv-btn--block { margin-top: 20px; }

/* --------------------------------------------------------------------------
   1g. Hero responsive
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 1023px) {
	.rtv-hero__inner { gap: 36px; }
	.rtv-hero__title { font-size: 36px !important; }
	.rtv-hero__aside { flex: 1 1 100%; }
	.rtv-versions { max-width: 100%; }
}

@media only screen and (max-width: 767px) {
	.rtv-hero { padding: 48px 22px; }
	.rtv-hero__main { gap: 18px; }
	.rtv-hero__title { font-size: 28px !important; }
	.rtv-hero__text  { font-size: 16px; }
	.rtv-hero__actions { width: 100%; flex-direction: column; align-items: stretch; }
	.rtv-btn { width: 100%; }
	.rtv-hero__stats { gap: 22px; }
	.rtv-stat { flex: 1 1 40%; }
	.rtv-versions { padding: 20px; max-width: none; }
}


/* ==========================================================================
   2. FEATURE CARDS  (.featured-home — the "qcard" treatment)

   Overrides style.css lines 6513-6532, which paint these blocks solid blue
   (background:#3c5dac; white text; uppercase h1).
   ========================================================================== */

.featured-home {
	position: relative;          /* anchors the ::before bar */
	overflow: hidden;            /* clips the bar to the rounded corners */
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	max-width: 365px;
	min-height: 174px;
	padding: 28px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	font-family: var(--font);
	transition: transform .18s, box-shadow .18s;
}

/* Full-width gradient bar across the top edge */
.featured-home::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--blue), var(--purple));
}

.featured-home:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   2a. Title — Inter 700 · 19px · lh 100% · #1E2333
   -------------------------------------------------------------------------- */
.featured-home h1 {
	margin: 0 !important;
	font-family: var(--font) !important;
	font-weight: 700 !important;
	font-size: 19px !important;
	line-height: 100% !important;
	letter-spacing: 0 !important;
	text-transform: none !important;   /* kills the theme's uppercase */
	color: var(--ink) !important;
}

.featured-home h1 a,
.featured-home h1 a:hover {
	color: var(--ink) !important;
	text-decoration: none !important;
}

/* "Featured <br> Plugin" and "ROI <br> Calculator" onto one line */
.featured-home h1 br { display: none; }
.featured-home h1 a + a::before { content: "\00a0"; }

/* --------------------------------------------------------------------------
   2b. Description — Inter 400 · 14.5px · lh 150% · #4C5566
   -------------------------------------------------------------------------- */
.featured-home p {
	margin: 0;
	font-family: var(--font);
	font-weight: 400;
	font-size: 14.5px;
	line-height: 150%;
	letter-spacing: 0;
	color: var(--slate);
}

/* --------------------------------------------------------------------------
   2c. Link — Inter 700 · 14px · lh 100% · #3568B0 · arrow appended
        The link always lives in the LAST <p>, hence :last-of-type.
   -------------------------------------------------------------------------- */
.featured-home p:last-of-type {
	margin-top: auto;            /* pins the link to the bottom of every card */
}

.featured-home p:last-of-type a,
.featured-home p:last-of-type a:hover {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font);
	font-weight: 700;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0;
	color: var(--blue) !important;
	text-decoration: none !important;
	transition: gap .18s;
}

/* Arrow is CSS, not typed text — don't add "→" to the link in the editor */
.featured-home p:last-of-type a::after {
	content: "\2192";
	font-size: 14px;
	line-height: 1;
}

.featured-home p:last-of-type a:hover {
	color: var(--blue-dark) !important;
	gap: 11px;
}


/* ==========================================================================
   3. CARD ROW — equal height + equal width

   WHY: Aqua Page Builder floats .aq_span4 blocks, so each card sizes to its
   own content. Flex + align-items:stretch equalises height; flex:1 1 0
   equalises width.
   ========================================================================== */

#aq-template-wrapper-4673 {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0 24px;
}

/* Empty editor block would become a flex item and steal width */
#aq-block-4673-9,
#aq-template-wrapper-4673 > .aq-block-aq_editor_block:empty {
	display: none !important;
}

/* Full-width spacer blocks keep their own line */
#aq-template-wrapper-4673 > .aq_span12 {
	flex: 0 0 100%;
	width: 100% !important;
	margin-left: 0 !important;
	float: none !important;
}

/* The three card cells */
#aq-template-wrapper-4673 > .aq_span4 {
	display: flex;
	flex: 1 1 0;                 /* equal width, ignores content length */
	min-width: 0;                /* lets long words wrap instead of pushing wider */
	width: auto !important;      /* beats the AQ grid's fixed px width */
	margin-left: 0 !important;
	float: none !important;
}

/* Card fills its stretched cell */
#aq-template-wrapper-4673 .featured-home {
	width: 100%;
	max-width: none;
	height: 100%;
}

@media only screen and (max-width: 767px) {
	#aq-template-wrapper-4673 { display: block; }
	#aq-template-wrapper-4673 > .aq_span4 { width: 100% !important; }
	.featured-home {
		max-width: none;
		min-height: 0;
		margin-bottom: 20px;
	}
}


/* ==========================================================================
   4. PLUGIN GRID  —  [rtv_plugins] shortcode
   ========================================================================== */

.rtv-plugins {
	float: left;
	clear: both;
	width: 100%;
	padding: 64px 30px;
	box-sizing: border-box;
	background: var(--bg-soft);
	font-family: var(--font);
}

.rtv-plugins__inner {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4a. Section header
   -------------------------------------------------------------------------- */
.rtv-plugins .sec-head {
	text-align: center;
	margin-bottom: 40px;
}

.rtv-plugins .sec-head .kicker {
	margin: 0 0 10px !important;
	font-family: var(--font);
	font-weight: 800;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--purple);
}

.rtv-plugins .sec-head h2 {
	margin: 0 0 12px !important;
	font-family: var(--font) !important;
	font-weight: 800 !important;
	font-size: 32px !important;
	line-height: 1.25 !important;
	letter-spacing: -.4px !important;
	text-transform: none !important;
	color: var(--ink) !important;
}

/* --------------------------------------------------------------------------
   4b. Grid — 3 across, equal width and height
   -------------------------------------------------------------------------- */
.rtv-plugins .prod-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* --------------------------------------------------------------------------
   4c. Card
   -------------------------------------------------------------------------- */
.rtv-plugins .pcard {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 26px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform .18s, box-shadow .18s;
}

.rtv-plugins .pcard:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.rtv-plugins .pcard .picon {
	display: block;
	width: 66px;
	height: 66px;
	border-radius: 12px;
	object-fit: contain;
	margin: 0 0 16px;
	border: 0;
	box-shadow: none;
	max-width: 66px;   /* beats the theme's img{max-width:100%} scaling rules */
}

.rtv-plugins .pcard h3 {
	margin: 0 0 14px !important;
	font-family: var(--font) !important;
	font-weight: 700 !important;
	font-size: 19px !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--ink) !important;
}

.rtv-plugins .pcard p {
	margin: 0;
	flex-grow: 1;              /* pushes price + button to the bottom of every card */
	font-family: var(--font);
	font-weight: 400;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--slate);
}

.rtv-plugins .pcard .price {
	margin: 14px 0 16px;
	font-family: var(--font);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.4;
	color: var(--muted);
}

.rtv-plugins .pcard .price b {
	font-weight: 800;
	color: var(--ink);
}

.rtv-plugins .pcard .view,
.rtv-plugins .pcard .view:hover {
	align-self: flex-start;
	display: inline-block;
	padding: 12px 18px;
	border-radius: 40px;
	background: var(--bg-soft);
	font-family: var(--font);
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
	color: var(--indigo) !important;
	text-decoration: none !important;
	transition: background .15s, color .15s;
}

.rtv-plugins .pcard .view:hover {
	background: var(--indigo);
	color: #fff !important;
}

/* --------------------------------------------------------------------------
   4d. Responsive
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 1023px) {
	.rtv-plugins .prod-grid { grid-template-columns: repeat(2, 1fr); }
	.rtv-plugins .sec-head h2 { font-size: 27px !important; }
}

@media only screen and (max-width: 767px) {
	.rtv-plugins { padding: 48px 22px; }
	.rtv-plugins .prod-grid { grid-template-columns: 1fr; gap: 18px; }
	.rtv-plugins .sec-head { margin-bottom: 28px; }
	.rtv-plugins .sec-head h2 { font-size: 23px !important; }
}


/* ==========================================================================
   5. CASE STUDIES
   ========================================================================== */

.rtv-cases {
	float: left;
	clear: both;
	width: 100%;
	padding: 64px 30px;
	box-sizing: border-box;
	background: var(--bg);
	font-family: var(--font);
}

.rtv-cases * { box-sizing: border-box; }

.rtv-cases .wrap {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
}

/* --------------------------------------------------------------------------
   5a. Section header
   -------------------------------------------------------------------------- */
.rtv-cases .sec-head {
	text-align: center;
	margin-bottom: 40px;
}

.rtv-cases .sec-head .kicker {
	margin: 0 0 10px !important;
	font-family: var(--font);
	font-weight: 800;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--purple);
}

.rtv-cases .sec-head h2 {
	margin: 0 !important;
	font-family: var(--font) !important;
	font-weight: 800 !important;
	font-size: 32px !important;
	line-height: 1.25 !important;
	letter-spacing: -.4px !important;
	text-transform: none !important;
	color: var(--ink) !important;
}

/* --------------------------------------------------------------------------
   5b. Grid
   -------------------------------------------------------------------------- */
.rtv-cases .case-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* --------------------------------------------------------------------------
   5c. Card

   NOTE: the card is a <div>, NOT an <a>. WordPress' tag balancer treats <a>
   as inline-only and splits it apart when it wraps <div>/<h3> children.
   Clickability comes from the empty .case-link overlay instead.
   -------------------------------------------------------------------------- */
.rtv-cases .case {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 230px;
	padding: 24px;
	border-radius: var(--radius);
	color: #fff;
	box-shadow: var(--shadow-md);
	transition: transform .18s, box-shadow .18s;
}

/* dark scrim so text stays legible over the gradient */
.rtv-cases .case::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(30, 35, 51, .15), rgba(30, 35, 51, .85));
	z-index: 1;
}

.rtv-cases .case > * {
	position: relative;
	z-index: 2;
}

.rtv-cases .case:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

/* invisible overlay anchor — makes the whole card clickable */
.rtv-cases .case .case-link {
	position: absolute;
	inset: 0;
	z-index: 4;
	font-size: 0;
	line-height: 0;
	border: 0;
	text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   5d. Per-card gradients
   -------------------------------------------------------------------------- */
.rtv-cases .c1 { background: linear-gradient(135deg, #2c5697, #1c3763); }
.rtv-cases .c2 { background: linear-gradient(135deg, #8d2f80, #4a1f52); }
.rtv-cases .c3 { background: linear-gradient(135deg, #3568b0, #1c3763); }

/* --------------------------------------------------------------------------
   5e. Card contents
   -------------------------------------------------------------------------- */
.rtv-cases .case .logo-chip {
	margin: 0 0 8px;
	font-family: var(--font);
	font-weight: 800;
	font-size: 12px;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: .85;
}

.rtv-cases .case h3 {
	margin: 0 0 6px !important;
	font-family: var(--font) !important;
	font-weight: 700 !important;
	font-size: 20px !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #fff !important;
}

.rtv-cases .case p {
	margin: 0;
	font-family: var(--font);
	font-weight: 400;
	font-size: 13.5px;
	line-height: 1.5;
	color: #fff;
	opacity: .9;
}

.rtv-cases .case .go {
	display: block;
	margin-top: 12px;
	font-family: var(--font);
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
	color: var(--gold);
}

/* --------------------------------------------------------------------------
   5f. Responsive
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 1023px) {
	.rtv-cases .case-grid { grid-template-columns: repeat(2, 1fr); }
	.rtv-cases .sec-head h2 { font-size: 27px !important; }
}

@media only screen and (max-width: 767px) {
	.rtv-cases { padding: 48px 22px; }
	.rtv-cases .case-grid { grid-template-columns: 1fr; gap: 18px; }
	.rtv-cases .sec-head { margin-bottom: 28px; }
	.rtv-cases .sec-head h2 { font-size: 23px !important; }
	.rtv-cases .case { min-height: 200px; }
}

/* ==========================================================================
   6. TESTIMONIALS

   Replaces the Aqua Page Builder testimonials block (#aq-block-4673-10),
   which renders a bxSlider carousel. Remove that block in the page builder,
   or uncomment the hide rule at the bottom of this section.
   ========================================================================== */

   .rtv-testi {
	float: left;
	clear: both;
	width: 100%;
	padding: 64px 30px;
	box-sizing: border-box;
	background: var(--bg-soft);
	font-family: var(--font);
}

.rtv-testi * { box-sizing: border-box; }

.rtv-testi .wrap {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
}

/* --------------------------------------------------------------------------
   6a. Section header
   -------------------------------------------------------------------------- */
.rtv-testi .sec-head {
	text-align: center;
	margin-bottom: 40px;
}

.rtv-testi .sec-head .kicker {
	margin: 0 0 10px !important;
	font-family: var(--font);
	font-weight: 800;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--purple);
}

.rtv-testi .sec-head h2 {
	margin: 0 !important;
	font-family: var(--font) !important;
	font-weight: 800 !important;
	font-size: 32px !important;
	line-height: 1.25 !important;
	letter-spacing: -.4px !important;
	text-transform: none !important;
	color: var(--ink) !important;
}

/* --------------------------------------------------------------------------
   6b. Grid
   -------------------------------------------------------------------------- */
.rtv-testi .testi-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* --------------------------------------------------------------------------
   6c. Card
   -------------------------------------------------------------------------- */
.rtv-testi .tcard {
	display: flex;
	flex-direction: column;
	padding: 26px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform .18s, box-shadow .18s;
}

.rtv-testi .tcard:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

/* Stars */
.rtv-testi .tcard .stars {
	display: block;
	margin-bottom: 14px;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 3px;
	color: var(--gold);
}

/* Quote — flex-grow pushes the author row to the bottom of every card */
.rtv-testi .tcard .quote {
	margin: 0 0 20px;
	flex-grow: 1;
	font-family: var(--font);
	font-weight: 400;
	font-style: italic;
	font-size: 15px;
	line-height: 1.6;
	color: var(--slate);
}

/* Author row */
.rtv-testi .tcard .who {
	display: flex;
	align-items: center;
	gap: 14px;
}

.rtv-testi .tcard .avatar {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue), var(--purple));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
}

.rtv-testi .tcard .who-name {
	display: block;
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	color: var(--ink);
}

.rtv-testi .tcard .who-role {
	display: block;
	font-family: var(--font);
	font-weight: 400;
	font-size: 13.5px;
	line-height: 1.3;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   6d. Button
   -------------------------------------------------------------------------- */
.rtv-testi .more {
	text-align: center;
	margin-top: 34px;
}

.rtv-testi .btn,
.rtv-testi .btn:hover {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border: none;
	border-radius: 40px;
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	text-decoration: none !important;
	transition: transform .15s, box-shadow .15s, background .15s;
}

.rtv-testi .btn-gold,
.rtv-testi .btn-gold:hover {
	background: var(--gold);
	color: #3a2800 !important;
}

.rtv-testi .btn-gold:hover {
	background: var(--gold-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(242, 176, 30, .38);
}

.rtv-testi .btn .arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(58, 40, 0, .16);
	font-size: 12px;
	line-height: 1;
	flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   6e. Hide the old bxSlider testimonials block
        Uncomment ONLY if you cannot remove it in Aqua Page Builder.
   -------------------------------------------------------------------------- */
/*
#aq-block-4673-10 { display: none !important; }
*/

/* --------------------------------------------------------------------------
   6f. Responsive
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 1023px) {
	.rtv-testi .testi-grid { grid-template-columns: repeat(2, 1fr); }
	.rtv-testi .sec-head h2 { font-size: 27px !important; }
}

@media only screen and (max-width: 767px) {
	.rtv-testi { padding: 48px 22px; }
	.rtv-testi .testi-grid { grid-template-columns: 1fr; gap: 18px; }
	.rtv-testi .sec-head { margin-bottom: 28px; }
	.rtv-testi .sec-head h2 { font-size: 23px !important; }
	.rtv-testi .more { margin-top: 26px; }
}

/* ==========================================================================
   7. FEATURE CARDS — standalone grid

   For when the three .featured-home cards are pasted as ONE HTML block
   instead of three separate Aqua Page Builder text blocks. Section 3's
   #aq-template-wrapper-4673 rules do not apply in that case.
   ========================================================================== */

   .rtv-features {
	float: left;
	clear: both;
	width: 100%;
	padding: 64px 30px;
	box-sizing: border-box;
	background: var(--bg);
	font-family: var(--font);
}

.rtv-features * { box-sizing: border-box; }

.rtv-features .wrap {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
}

.rtv-features .feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Cards fill their grid cell — equal width and height come free from grid */
.rtv-features .featured-home {
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
}

/* Title is <h3> here, not <h1> — three <h1>s on one page is bad for SEO.
   Same type spec as the .featured-home h1 rules in section 2a. */
.rtv-features .featured-home h3 {
	margin: 0 !important;
	font-family: var(--font) !important;
	font-weight: 700 !important;
	font-size: 19px !important;
	line-height: 100% !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--ink) !important;
}

.rtv-features .featured-home h3 a,
.rtv-features .featured-home h3 a:hover {
	color: var(--ink) !important;
	text-decoration: none !important;
}

@media only screen and (max-width: 1023px) {
	.rtv-features .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media only screen and (max-width: 767px) {
	.rtv-features { padding: 48px 22px; }
	.rtv-features .feature-grid { grid-template-columns: 1fr; gap: 18px; }
	.rtv-features .featured-home { margin-bottom: 0; }
}

/* ==========================================================================
   4. SOFTWARE PAGE FEATURE GRID — equal height + equal width

   Same approach as §3: AQ floats .aq_span4 so each cell sizes to its own
   content. Flex + stretch levels them; the hr/spacer blocks stay full width.
   ========================================================================== */

   #aq-template-wrapper-3622 {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

/* full-width separators and spacers keep their own line */
#aq-template-wrapper-3622 > .aq_span12 {
	flex: 0 0 100%;
	width: 100% !important;
	margin-left: 0 !important;
	float: none !important;
}

/* the six feature cells */
#aq-template-wrapper-3622 > .aq_span4 {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	margin-left: 0 !important;
	float: none !important;
	padding: 0 12px;
	box-sizing: border-box;
}

/* icons align on a common baseline regardless of native height */
#aq-template-wrapper-3622 > .aq_span4 > p:first-child {
	min-height: 120px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-bottom: 14px;
}
#aq-template-wrapper-3622 > .aq_span4 > p:first-child img {
	height: auto;
	max-height: 100px;
	width: auto;
}

/* headings occupy a fixed two-line band so body copy starts level */
#aq-template-wrapper-3622 > .aq_span4 h3 {
	min-height: 58px;
}

/* the "1 Xporter Pro only" footnote sits at the bottom of every card */
#aq-template-wrapper-3622 > .aq_span4 > p:last-child em {
	display: block;
	margin-top: auto;
	padding-top: 10px;
}

@media only screen and (max-width: 767px) {
	#aq-template-wrapper-3622 {
		display: block;
	}
	#aq-template-wrapper-3622 > .aq_span4 {
		width: 100% !important;
		padding: 0;
		margin-bottom: 26px;
	}
	#aq-template-wrapper-3622 > .aq_span4 h3,
	#aq-template-wrapper-3622 > .aq_span4 > p:first-child {
		min-height: 0;
	}
}

/* Feature grid — equal-height headings so body copy starts level */
#aq-template-wrapper-3622 > .aq_span4 h3 {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 84px;
	margin-top: 0;
	margin-bottom: 12px;
}

@media only screen and (max-width: 1023px) {
	#aq-template-wrapper-3622 > .aq_span4 h3 {
		min-height: 110px;
	}
}

@media only screen and (max-width: 767px) {
	#aq-template-wrapper-3622 > .aq_span4 h3 {
		display: block;
		min-height: 0;
	}
}

/* Plugin grid RTV Tools */
.block-us,
.block-gb {
	display: none !important;
}