/*
Theme Name: RV Business
Theme URI: https://techbizbuilders.com/rv-business
Author: Hemal Panchal
Author URI: https://techbizbuilders.com
Description: RV Business is a fast, lightweight and fully responsive business, corporate and consulting WordPress theme. Built with clean code and deep Elementor integration (Header, Footer, Single & Archive theme locations), it works seamlessly with Elementor page builder without any conflict. Includes a beautiful front-page with Hero, Services, About, Stats, Testimonials, CTA and Blog sections — all editable via the WordPress Customizer. Accessibility ready, translation ready, RTL ready, WooCommerce compatible and SEO friendly.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rv-business
Tags: business, corporate, consulting, one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* =========================================================
   1. Design Tokens / CSS Variables
========================================================= */
:root {
	--rv-primary: #10243e;
	--rv-primary-dark: #0a1830;
	--rv-accent: #d9a13b;
	--rv-accent-hover: #c08e2f;
	--rv-text: #3b4657;
	--rv-heading: #16233a;
	--rv-light: #ffffff;
	--rv-gray-bg: #f5f7fa;
	--rv-border: #e4e8ee;
	--rv-radius: 10px;
	--rv-shadow: 0 10px 30px rgba(16, 36, 62, 0.08);
	--rv-container: 1200px;
	--rv-gutter: 24px;
	--rv-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--rv-font-headings: var(--rv-font-body);
}

/* =========================================================
   2. Reset / Base
========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--rv-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--rv-text);
	background: var(--rv-light);
	-webkit-font-smoothing: antialiased;
	word-wrap: break-word;
}

img,
svg,
video,
iframe { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--rv-font-headings);
	color: var(--rv-heading);
	line-height: 1.25;
	margin: 0 0 0.6em;
	font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; color: var(--rv-accent); }

p { margin: 0 0 1.2em; }

a {
	color: var(--rv-primary);
	text-decoration: none;
	transition: color 0.25s ease;
}
a:hover,
a:focus-visible { color: var(--rv-accent); }

ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

blockquote {
	margin: 1.5em 0;
	padding: 1em 1.5em;
	border-left: 4px solid var(--rv-accent);
	background: var(--rv-gray-bg);
	border-radius: 0 var(--rv-radius) var(--rv-radius) 0;
	font-style: italic;
}

code, kbd, pre {
	background: #1d2733;
	color: #e8edf3;
	border-radius: 6px;
	font-size: 0.92em;
}
code, kbd { padding: 2px 6px; }
pre { padding: 1em; overflow: auto; }

hr {
	border: 0;
	height: 1px;
	background: var(--rv-border);
	margin: 2.5em 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}
th, td {
	padding: 12px 15px;
	border: 1px solid var(--rv-border);
	text-align: left;
}
th { background: var(--rv-gray-bg); color: var(--rv-heading); }

:focus-visible {
	outline: 2px solid var(--rv-accent);
	outline-offset: 2px;
}

/* Selection */
::selection { background: var(--rv-accent); color: #fff; }

/* =========================================================
   3. Layout Helpers
========================================================= */
.rv-container {
	max-width: var(--rv-container);
	margin-inline: auto;
	padding-inline: var(--rv-gutter);
	width: 100%;
}

.rv-section { padding: 80px 0; }
.rv-section--gray { background: var(--rv-gray-bg); }
.rv-section--primary { background: var(--rv-primary); color: rgba(255,255,255,0.85); }
.rv-section--primary h2,
.rv-section--primary h3,
.rv-section--primary .rv-section-title { color: #fff; }

.rv-grid {
	display: grid;
	gap: 30px;
}
.rv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rv-grid--4 { grid-template-columns: repeat(4, 1fr); }
.rv-grid--2 { grid-template-columns: repeat(2, 1fr); }

.rv-content-area {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	padding-block: 60px;
	align-items: start;
}
.rv-content-area--full { grid-template-columns: minmax(0, 1fr); }

/* Section heading block */
.rv-section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}
.rv-section-kicker {
	display: inline-block;
	color: var(--rv-accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.85rem;
	margin-bottom: 10px;
}
.rv-section-sub { color: inherit; opacity: 0.85; margin-bottom: 0; }

/* Buttons */
.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
input[type="button"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.25s ease;
	text-align: center;
}

.btn--primary,
button[type="submit"],
input[type="submit"],
input[type="button"] {
	background: var(--rv-accent);
	color: #fff;
}
.btn--primary:hover,
.btn--primary:focus-visible,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--rv-accent-hover);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(217, 161, 59, 0.35);
}

.btn--outline {
	background: transparent;
	border-color: currentColor;
}
.btn--light { background: #fff; color: var(--rv-primary); }
.btn--light:hover { background: var(--rv-gray-bg); color: var(--rv-primary); transform: translateY(-2px); }
.btn--ghost-light {
	background: transparent;
	border: 2px solid rgba(255,255,255,0.7);
	color: #fff;
}
.btn--ghost-light:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999999;
	background: var(--rv-primary);
	color: #fff !important;
	padding: 12px 24px;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Back to top */
#rv-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 998;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	background: var(--rv-accent);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	box-shadow: var(--rv-shadow);
}
#rv-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#rv-to-top:hover { background: var(--rv-primary); }

/* Scroll reveal */
[data-rv-animate] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-rv-animate].is-inview {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	[data-rv-animate] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   4. Top Bar
========================================================= */
.rv-topbar {
	background: var(--rv-primary-dark);
	color: rgba(255,255,255,0.75);
	font-size: 0.85rem;
	padding: 8px 0;
}
.rv-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.rv-topbar a { color: rgba(255,255,255,0.75); }
.rv-topbar a:hover { color: var(--rv-accent); }
.rv-topbar__meta { display: flex; gap: 22px; flex-wrap: wrap; }
.rv-topbar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.rv-social-links { display: flex; gap: 14px; align-items: center; }
.rv-social-links svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* =========================================================
   5. Header / Navigation
========================================================= */
.rv-header {
	position: relative;
	background: #fff;
	box-shadow: 0 2px 12px rgba(16, 36, 62, 0.06);
	z-index: 1000;
}
.rv-header.is-sticky { position: sticky; top: 0; }
.rv-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 36, 62, 0.12); }

.rv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
	flex-wrap: wrap;
}

.rv-branding { display: flex; align-items: center; gap: 12px; }
.custom-logo { max-height: 60px; width: auto; }
.site-title {
	font-size: 1.45rem;
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.5px;
}
.site-title a { color: var(--rv-primary); }
.site-title a:hover { color: var(--rv-accent); }
.site-description {
	margin: 2px 0 0;
	font-size: 0.82rem;
	color: var(--rv-text);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.rv-nav-wrap { display: flex; align-items: center; gap: 20px; }
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.main-navigation li { position: relative; margin: 0; }
.main-navigation a {
	display: block;
	padding: 10px 16px;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--rv-heading);
	border-radius: 8px;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--rv-accent);
}
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	background: #fff;
	box-shadow: var(--rv-shadow);
	border-radius: var(--rv-radius);
	padding: 8px;
	display: block;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.25s ease;
	z-index: 1001;
}
.main-navigation ul ul ul { top: 0; left: 100%; }
.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.main-navigation ul ul a {
	padding: 10px 14px;
	font-weight: 500;
	border-radius: 8px;
}
.main-navigation ul ul a:hover { background: var(--rv-gray-bg); }
.submenu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 4px 10px;
	color: var(--rv-heading);
}
.submenu-toggle svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
	transition: transform 0.25s ease;
}
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Hamburger */
.rv-menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	width: 44px;
	height: 44px;
	position: relative;
	z-index: 1002;
}
.rv-menu-toggle span,
.rv-menu-toggle::before,
.rv-menu-toggle::after {
	content: "";
	display: block;
	width: 26px;
	height: 2.5px;
	background: var(--rv-heading);
	margin: 5px auto;
	border-radius: 2px;
	transition: all 0.3s ease;
}
.rv-menu-toggle::before { margin-top: 0; }
.rv-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.rv-menu-toggle[aria-expanded="true"]::before {
	transform: translateY(7.5px) rotate(45deg);
}
.rv-menu-toggle[aria-expanded="true"]::after {
	transform: translateY(-7.5px) rotate(-45deg);
}

/* Header CTA button area (widget/elementor safe) */
.rv-header-extra { display: flex; align-items: center; gap: 16px; }

/* =========================================================
   6. Hero (front page)
========================================================= */
.rv-hero {
	position: relative;
	background:
		linear-gradient(115deg, rgba(10, 24, 48, 0.92) 0%, rgba(16, 36, 62, 0.78) 55%, rgba(16, 36, 62, 0.55) 100%),
		center / cover no-repeat var(--rv-primary);
	color: #fff;
	overflow: hidden;
}
.rv-hero::after {
	content: "";
	position: absolute;
	right: -140px;
	top: -140px;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(217,161,59,0.28), transparent 70%);
	pointer-events: none;
}
.rv-hero__inner {
	position: relative;
	z-index: 1;
	padding: 130px 0 150px;
	max-width: 800px;
}
.rv-hero h1,
.rv-hero .rv-hero__title {
	color: #fff;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	margin-bottom: 20px;
}
.rv-hero p {
	font-size: 1.15rem;
	color: rgba(255,255,255,0.85);
	max-width: 620px;
	margin-bottom: 34px;
}
.rv-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page title banner for inner pages */
.rv-page-banner {
	background:
		linear-gradient(115deg, rgba(10, 24, 48, 0.94), rgba(16, 36, 62, 0.8)),
		center / cover no-repeat var(--rv-primary);
	color: #fff;
	text-align: center;
	padding: 70px 0;
}
.rv-page-banner h1 {
	color: #fff;
	margin-bottom: 8px;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.rv-breadcrumbs {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.75);
}
.rv-breadcrumbs a { color: var(--rv-accent); }

/* =========================================================
   7. Cards (services, posts, features)
========================================================= */
.rv-card {
	background: #fff;
	border: 1px solid var(--rv-border);
	border-radius: var(--rv-radius);
	padding: 38px 30px;
	text-align: center;
	transition: all 0.3s ease;
	height: 100%;
}
.rv-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--rv-shadow);
	border-color: transparent;
}
.rv-card__icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--rv-primary), #1d3c63);
	color: var(--rv-accent);
	font-size: 26px;
	transition: all 0.3s ease;
}
.rv-card:hover .rv-card__icon {
	background: var(--rv-accent);
	color: #fff;
}
.rv-card__icon svg { width: 30px; height: 30px; fill: currentColor; }
.rv-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.rv-card p { margin-bottom: 18px; font-size: 0.95rem; }
.rv-card__link {
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--rv-accent);
}

/* About section */
.rv-about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.rv-about__media img {
	border-radius: var(--rv-radius);
	box-shadow: var(--rv-shadow);
}
.rv-checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.rv-checklist li {
	padding-left: 32px;
	position: relative;
	margin-bottom: 12px;
}
.rv-checklist li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 1px;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--rv-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Stats */
.rv-stats__item {
	text-align: center;
	padding: 20px 10px;
}
.rv-stats__number {
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--rv-accent);
	line-height: 1.1;
	display: block;
}
.rv-stats__label {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.85rem;
	opacity: 0.8;
}

/* Testimonials */
.rv-testimonial {
	background: #fff;
	border-radius: var(--rv-radius);
	padding: 34px 30px;
	box-shadow: var(--rv-shadow);
	position: relative;
	height: 100%;
}
.rv-testimonial::before {
	content: "\201C";
	position: absolute;
	top: 8px;
	left: 22px;
	font-size: 72px;
	line-height: 1;
	color: var(--rv-accent);
	opacity: 0.35;
	font-family: Georgia, serif;
}
.rv-testimonial p { font-style: italic; margin-bottom: 22px; position: relative; z-index: 1; }
.rv-testimonial cite {
	display: flex;
	align-items: center;
	gap: 12px;
	font-style: normal;
	font-weight: 700;
	color: var(--rv-heading);
}
.rv-testimonial .rv-testimonial__role {
	display: block;
	font-weight: 400;
	font-size: 0.85rem;
	color: var(--rv-text);
}

/* CTA strip */
.rv-cta {
	text-align: center;
}
.rv-cta__inner {
	background:
		linear-gradient(120deg, var(--rv-primary), #1d3c63),
		var(--rv-primary);
	border-radius: 18px;
	padding: 64px 40px;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.rv-cta__inner::before,
.rv-cta__inner::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.12);
}
.rv-cta__inner::before { width: 300px; height: 300px; right: -80px; bottom: -140px; }
.rv-cta__inner::after { width: 180px; height: 180px; right: 60px; bottom: -90px; }
.rv-cta h2 { color: #fff; }
.rv-cta p { max-width: 640px; margin-inline: auto; color: rgba(255,255,255,0.85); }

/* =========================================================
   8. Blog / Posts
========================================================= */
.rv-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}
.rv-post-card {
	background: #fff;
	border-radius: var(--rv-radius);
	overflow: hidden;
	border: 1px solid var(--rv-border);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.rv-post-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--rv-shadow);
}
.rv-post-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--rv-gray-bg);
}
.rv-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.rv-post-card:hover .rv-post-card__media img { transform: scale(1.06); }
.rv-post-card__body {
	padding: 26px 26px 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.rv-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.83rem;
	color: #8792a3;
	margin-bottom: 10px;
}
.rv-entry-meta a { color: var(--rv-accent); font-weight: 600; }
.rv-post-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.rv-post-card__title a { color: var(--rv-heading); }
.rv-post-card__title a:hover { color: var(--rv-accent); }
.rv-post-card__excerpt { flex: 1; font-size: 0.94rem; margin-bottom: 16px; }
.rv-readmore {
	font-weight: 700;
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--rv-primary);
}
.rv-readmore:hover { color: var(--rv-accent); }
.rv-readmore::after { content: " \2192"; }

.sticky .rv-post-card__body { border-top: 4px solid var(--rv-accent); }

/* Single post */
.entry-header { margin-bottom: 30px; }
.single-featured img {
	width: 100%;
	border-radius: var(--rv-radius);
	margin-bottom: 34px;
	box-shadow: var(--rv-shadow);
}
.page-content,
.entry-content {
	font-size: 1.02rem;
}
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-footer {
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--rv-border);
	font-size: 0.9rem;
	color: #8792a3;
}
.post-tags a {
	display: inline-block;
	background: var(--rv-gray-bg);
	padding: 5px 14px;
	border-radius: 50px;
	font-size: 0.8rem;
	margin-right: 6px;
	color: var(--rv-text);
}
.post-tags a:hover { background: var(--rv-primary); color: #fff; }

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 40px;
}
.nav-previous, .nav-next { padding: 18px 22px; background: var(--rv-gray-bg); border-radius: var(--rv-radius); }
.nav-next { text-align: right; }
.post-navigation a { font-weight: 600; color: var(--rv-heading); display: block; }
.post-navigation .nav-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--rv-accent); display: block; margin-bottom: 4px; }

.pagination,
.navigation.pagination {
	margin-top: 46px;
	text-align: center;
}
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 8px;
	background: var(--rv-gray-bg);
	color: var(--rv-heading);
	font-weight: 600;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--rv-primary);
	color: #fff;
}

/* Search results highlight */
.search-form {
	display: flex;
	gap: 8px;
	margin-bottom: 1.5em;
}
.search-form input[type="search"] {
	flex: 1;
	padding: 12px 18px;
	border: 1px solid var(--rv-border);
	border-radius: 50px;
	font-size: 0.95rem;
}
.search-form input[type="search"]:focus { border-color: var(--rv-accent); outline: none; }
.search-form button { padding: 12px 24px; }

/* =========================================================
   9. Sidebar & Widgets
========================================================= */
.widget {
	background: #fff;
	border: 1px solid var(--rv-border);
	border-radius: var(--rv-radius);
	padding: 28px 24px;
	margin-bottom: 26px;
}
.widget-title,
.widget .wp-block-heading {
	font-size: 1.05rem;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--rv-accent);
	display: inline-block;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px dashed var(--rv-border); margin: 0; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--rv-text); }
.widget ul li a:hover { color: var(--rv-accent); padding-left: 4px; transition: padding 0.2s; }
.widget select { width: 100%; padding: 10px; border: 1px solid var(--rv-border); border-radius: 8px; }

/* =========================================================
   10. Comments
========================================================= */
.comments-area { margin-top: 50px; }
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
}
.comment-list ol.children {
	list-style: none;
	padding-left: 40px;
	margin-top: 20px;
}
.comment-body {
	background: var(--rv-gray-bg);
	border-radius: var(--rv-radius);
	padding: 24px;
	position: relative;
}
.comment-meta { margin-bottom: 10px; font-size: 0.85rem; color: #8792a3; }
.comment-author img {
	border-radius: 50%;
	margin-right: 10px;
}
.comment-author .fn { font-style: normal; font-weight: 700; color: var(--rv-heading); }
.reply a {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--rv-accent);
}
.bypostauthor > .comment-body { border-left: 4px solid var(--rv-accent); }

.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--rv-border);
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 0.95rem;
	margin-bottom: 18px;
	transition: border-color 0.25s;
}
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--rv-accent);
	outline: none;
}

/* =========================================================
   11. Footer
========================================================= */
.rv-footer {
	background: var(--rv-primary-dark);
	color: rgba(255,255,255,0.72);
	font-size: 0.94rem;
}
.rv-footer a { color: rgba(255,255,255,0.72); }
.rv-footer a:hover { color: var(--rv-accent); }
.rv-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 40px;
	padding: 70px 0 50px;
}
.rv-footer .widget {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
}
.rv-footer .widget-title {
	color: #fff;
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 20px;
	font-size: 1.1rem;
	position: relative;
	padding-left: 16px;
	display: block;
}
.rv-footer .widget-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	border-radius: 2px;
	background: var(--rv-accent);
}
.rv-footer ul li { border-bottom-color: rgba(255,255,255,0.09); }
.rv-footer-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
}
.rv-footer-menu li { margin: 0; }

.rv-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 22px 0;
}
.rv-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 0.86rem;
}
.rv-footer__bottom .rv-social-links svg { width: 17px; height: 17px; }

/* =========================================================
   12. Misc / Utilities
========================================================= */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip-path: none;
	display: block;
	height: auto;
	width: auto;
	z-index: 100000;
	top: 6px;
	left: 6px;
	background: #fff;
	color: var(--rv-primary);
	padding: 14px 22px;
	border-radius: 6px;
	box-shadow: var(--rv-shadow);
	font-weight: 700;
}

.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.alignwide { margin-inline: -40px; max-width: calc(100% + 80px); }
.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}
.clearfix::before,
.clearfix::after { content: ""; display: table; }
.clearfix::after { clear: both; }

.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption,
figure figcaption {
	font-size: 0.84rem;
	color: #8792a3;
	text-align: center;
	padding-top: 8px;
}
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Sticky post badge */
.sticky-label {
	display: inline-block;
	background: var(--rv-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 12px;
	border-radius: 50px;
	margin-bottom: 10px;
}

/* No results / 404 */
.rv-not-found { text-align: center; padding: 90px 0; }
.rv-not-found__code {
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 800;
	line-height: 1;
	color: var(--rv-primary);
	opacity: 0.08;
	margin-bottom: -30px;
}

/* Elementor compatibility helpers */
.elementor-kit-container,
.e-con-boxed > .e-con-inner { max-width: var(--rv-container) !important; }
body.elementor-page .entry-content { font-size: inherit; }
.rv-elementor-fullwidth .rv-content-area { grid-template-columns: minmax(0, 1fr); padding-block: 0; }

/* =========================================================
   13. Responsive
========================================================= */
@media (max-width: 1080px) {
	.rv-content-area { grid-template-columns: minmax(0, 1fr); }
	.rv-sidebar { order: 2; margin-top: 40px; }
	.rv-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.rv-grid--3, .rv-grid--2 { grid-template-columns: 1fr 1fr; }
	.rv-about__grid { grid-template-columns: 1fr; gap: 40px; }
	.rv-hero__inner { padding: 90px 0 110px; }
}

@media (max-width: 767px) {
	.rv-section { padding: 60px 0; }
	.rv-topbar { text-align: center; }
	.rv-topbar__inner { justify-content: center; }

	/* Mobile navigation */
	.rv-menu-toggle { display: block; }
	.main-navigation {
		position: fixed;
		inset: 0;
		background: #fff;
		padding: 100px 28px 40px;
		transform: translateX(100%);
		transition: transform 0.35s ease;
		overflow-y: auto;
		z-index: 1001;
	}
	body.rv-nav-open .main-navigation { transform: translateX(0); }
	body.rv-nav-open { overflow: hidden; }
	body.rv-nav-open .rv-header { box-shadow: none; }
	.main-navigation ul,
	.main-navigation ul ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: transparent;
		padding: 0;
		min-width: 0;
	}
	.main-navigation ul ul {
		display: none;
		padding-left: 16px;
		border-left: 2px solid var(--rv-border);
		margin-left: 10px;
	}
	.main-navigation ul ul.open { display: block; }
	.main-navigation li { border-bottom: 1px solid var(--rv-border); }
	.main-navigation a { padding: 15px 6px; font-size: 1.05rem; }
	.submenu-toggle { display: inline-flex; position: absolute; right: 0; top: 6px; padding: 12px; }
	.rv-header__inner { min-height: 68px; }
	.rv-nav-wrap { flex-direction: row-reverse; }
	.custom-logo { max-height: 46px; }

	.rv-grid--3, .rv-grid--2, .rv-grid--4 { grid-template-columns: 1fr; }
	.rv-posts-grid { grid-template-columns: 1fr; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.nav-next { text-align: left; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.rv-footer__bottom-inner { justify-content: center; text-align: center; }
	.rv-hero__actions .btn { width: 100%; }
	.comment-list ol.children { padding-left: 20px; }
	.alignwide { margin-inline: 0; max-width: 100%; }
	.rv-cta__inner { padding: 46px 24px; }
}

@media (max-width: 480px) {
	body { font-size: 15px; }
	.rv-hero__inner { padding: 70px 0 90px; }
	.rv-stats__number { font-size: 2.2rem; }
}

/* Print */
@media print {
	.rv-header, .rv-topbar, .rv-footer, #rv-to-top, .rv-sidebar { display: none !important; }
	.rv-content-area { grid-template-columns: 1fr; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
