/*
Theme Name: RentaRide
Theme URI: https://rentaride.autos
Author: leslie ellis
Description: RentaRide is a light glassmorphism theme built for self-drive road trip planning: a narrow left navigation rail, frosted panels over soft gradient light spots, and a route-first layout that keeps car choice, fuel and toll numbers in view.
Version: 1.0.0
Style ID: b0e7e4
Text Domain: rentaride
*/

/* ---------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------- */
:root {
	--bg: #ffffff;
	--bg-alt: #f6f7f9;
	--bg-deep: #eceef2;
	--text: #1a1d21;
	--text-muted: #6b7280;
	--accent: #1E7FD1;
	--accent-soft: rgba(30, 127, 209, .12);
	--accent-line: rgba(30, 127, 209, .28);
	--border: rgba(0, 0, 0, .10);
	--spacing: 28px;
	--rail: 236px;
	--maxw: 1180px;
	--glass: rgba(255, 255, 255, .62);
	--glass-strong: rgba(255, 255, 255, .78);
	--glass-line: rgba(255, 255, 255, .55);
	--radius: 16px;
	--radius-lg: 24px;
	--shadow: 0 20px 44px -26px rgba(18, 38, 74, .30);
	--shadow-lift: 0 28px 58px -28px rgba(18, 38, 74, .40);
	--hairline: 0 0 0 1px rgba(17, 34, 64, .055);
	--font-head: 'Times New Roman', Georgia, serif;
	--font-body: -apple-system, 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.b0e7e4-body {
	margin: 0;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	background-color: var(--bg);
	background-image:
		radial-gradient(1080px 660px at 84% -10%, rgba(30, 127, 209, .17), rgba(30, 127, 209, 0) 62%),
		radial-gradient(880px 620px at 2% 12%, rgba(126, 190, 255, .16), rgba(126, 190, 255, 0) 60%),
		radial-gradient(760px 560px at 62% 104%, rgba(150, 122, 232, .11), rgba(150, 122, 232, 0) 62%),
		radial-gradient(620px 420px at 26% 72%, rgba(255, 232, 190, .18), rgba(255, 232, 190, 0) 65%);
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.b0e7e4-body img { max-width: 100%; height: auto; display: block; }

.b0e7e4-body a { color: var(--accent); text-decoration: none; }
.b0e7e4-body a:hover { text-decoration: underline; text-underline-offset: 3px; }

.b0e7e4-body h1,
.b0e7e4-body h2,
.b0e7e4-body h3,
.b0e7e4-body h4 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.01em;
	margin: 0;
}

.b0e7e4-body p { margin: 0 0 var(--spacing); }

.b0e7e4-skip {
	position: absolute; left: -9999px; top: 0;
	background: var(--text); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999;
}
.b0e7e4-skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------
   3. Left navigation rail
   --------------------------------------------------------------- */
.b0e7e4-rail {
	position: fixed;
	top: 0; left: 0; bottom: 0;
	width: var(--rail);
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 30px 22px 26px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .80), rgba(255, 255, 255, .52));
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	border-right: 1px solid var(--border);
	box-shadow: 1px 0 0 rgba(255, 255, 255, .6) inset;
	overflow-y: auto;
	z-index: 70;
}

.b0e7e4-brand { display: block; }
.b0e7e4-brand-mark {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 27px;
	letter-spacing: -.02em;
	color: var(--text);
	line-height: 1;
}
.b0e7e4-brand-mark em { font-style: normal; color: var(--accent); }
.b0e7e4-tagline {
	margin: 9px 0 0;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--text-muted);
	letter-spacing: .01em;
}

.b0e7e4-rail-nav { display: flex; flex-direction: column; gap: 2px; }
.b0e7e4-rail-nav a,
.b0e7e4-rail-nav .b0e7e4-navlink {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .005em;
	transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.b0e7e4-rail-nav a:hover {
	background: rgba(255, 255, 255, .8);
	color: var(--accent);
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
}
.b0e7e4-rail-nav .current-menu-item > a,
.b0e7e4-rail-nav .current_page_item > a,
.b0e7e4-rail-nav a.is-active {
	background: var(--accent-soft);
	color: var(--accent);
	box-shadow: inset 2px 0 0 var(--accent);
}

.b0e7e4-rail-label {
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 4px 0 -6px;
}

.b0e7e4-rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.b0e7e4-rail-foot a { color: var(--text-muted); font-size: 12.5px; }
.b0e7e4-rail-foot a:hover { color: var(--accent); }
.b0e7e4-rail-meta { font-size: 11.5px; color: var(--text-muted); line-height: 1.6; }

/* search inside rail */
.b0e7e4-search { display: flex; gap: 6px; }
.b0e7e4-search input[type="search"],
.b0e7e4-search input[type="text"] {
	flex: 1; min-width: 0;
	padding: 9px 12px;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--text);
	background: rgba(255, 255, 255, .78);
	border: 1px solid var(--border);
	border-radius: 10px;
	outline: none;
}
.b0e7e4-search input[type="search"]:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.b0e7e4-search button {
	padding: 9px 13px;
	font-family: var(--font-body);
	font-size: 13px;
	color: #fff;
	background: var(--accent);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: filter .18s ease;
}
.b0e7e4-search button:hover { filter: brightness(1.08); }

.b0e7e4-burger {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--text);
	background: var(--glass-strong);
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
}

/* ---------------------------------------------------------------
   4. Shell / main column
   --------------------------------------------------------------- */
.b0e7e4-shell { margin-left: var(--rail); min-height: 100vh; display: flex; flex-direction: column; }
.b0e7e4-main {
	flex: 1;
	width: 100%;
	max-width: calc(var(--maxw) + 80px);
	padding: 36px 40px 24px;
}

.b0e7e4-sec { margin-bottom: 52px; }
.b0e7e4-sec-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
}
.b0e7e4-eyebrow {
	font-size: 10.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 6px;
	font-family: var(--font-body);
	font-weight: 600;
}
.b0e7e4-sec-title { font-size: clamp(24px, 2.4vw, 32px); }
.b0e7e4-sec-note { font-size: 13px; color: var(--text-muted); margin: 0; white-space: nowrap; }

/* glass panel base */
.b0e7e4-glass {
	background: var(--glass);
	-webkit-backdrop-filter: blur(14px) saturate(1.15);
	backdrop-filter: blur(14px) saturate(1.15);
	border: 1px solid var(--glass-line);
	border-radius: var(--radius);
	box-shadow: var(--hairline), 0 1px 0 rgba(255, 255, 255, .7) inset, var(--shadow);
}

/* ---------------------------------------------------------------
   5. Cards
   --------------------------------------------------------------- */
.b0e7e4-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--glass);
	-webkit-backdrop-filter: blur(14px) saturate(1.15);
	backdrop-filter: blur(14px) saturate(1.15);
	border: 1px solid var(--glass-line);
	border-radius: var(--radius);
	box-shadow: var(--hairline), var(--shadow);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.b0e7e4-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hairline), var(--shadow-lift);
	border-color: var(--accent-line);
}

.b0e7e4-card-media { display: block; overflow: hidden; background: var(--bg-deep); }
.b0e7e4-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.b0e7e4-card:hover .b0e7e4-card-media img { transform: scale(1.035); }
.b0e7e4-ph {
	width: 100%; height: 100%;
	background: linear-gradient(135deg, rgba(30, 127, 209, .18), rgba(150, 122, 232, .14));
}

.b0e7e4-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.b0e7e4-chip {
	align-self: flex-start;
	font-size: 10.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	background: var(--accent-soft);
	border: 1px solid var(--accent-line);
	border-radius: 999px;
	padding: 3px 10px;
	font-weight: 600;
}
.b0e7e4-card-title { font-size: 21px; letter-spacing: -.005em; }
.b0e7e4-card-title a { color: var(--text); }
.b0e7e4-card-title a:hover { color: var(--accent); text-decoration: none; }
.b0e7e4-card-excerpt { margin: 0; font-size: 14px; line-height: 1.62; color: var(--text-muted); }

.b0e7e4-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--text-muted);
	text-transform: uppercase;
}
.b0e7e4-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }

/* ---------------------------------------------------------------
   6. Home bento grid
   --------------------------------------------------------------- */
.b0e7e4-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.b0e7e4-bento .b0e7e4-card--feat { grid-column: span 2; grid-row: span 2; }
.b0e7e4-bento .b0e7e4-card--wide { grid-column: span 2; }
.b0e7e4-bento .b0e7e4-card--small { grid-column: span 1; }

.b0e7e4-card--feat .b0e7e4-card-media { flex: 1; min-height: 300px; }
.b0e7e4-card--feat .b0e7e4-card-title { font-size: 30px; }
.b0e7e4-card--feat .b0e7e4-card-body { padding: 24px 26px 26px; }

.b0e7e4-card--wide { flex-direction: row; align-items: stretch; }
.b0e7e4-card--wide .b0e7e4-card-media { width: 44%; flex: 0 0 44%; min-height: 190px; }
.b0e7e4-card--wide .b0e7e4-card-body { justify-content: center; }
.b0e7e4-card--wide .b0e7e4-card-title { font-size: 22px; }

.b0e7e4-card--small .b0e7e4-card-media { aspect-ratio: 4 / 3; }
.b0e7e4-card--small .b0e7e4-card-title { font-size: 18px; }
.b0e7e4-card--small .b0e7e4-card-body { padding: 16px 18px 18px; gap: 8px; }
.b0e7e4-card--small .b0e7e4-card-excerpt { display: none; }

/* archive grid */
.b0e7e4-arch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.b0e7e4-arch .b0e7e4-card-media { aspect-ratio: 16 / 9; }
.b0e7e4-arch .b0e7e4-card-title { font-size: 24px; }

/* ---------------------------------------------------------------
   7. Page head
   --------------------------------------------------------------- */
.b0e7e4-head { margin-bottom: 34px; }
.b0e7e4-head h1 { font-size: clamp(32px, 4vw, 46px); }
.b0e7e4-head p { margin: 12px 0 0; color: var(--text-muted); font-size: 15.5px; max-width: 720px; }

/* ---------------------------------------------------------------
   8. Pagination
   --------------------------------------------------------------- */
.b0e7e4-pager { display: flex; gap: 10px; align-items: center; margin: 36px 0 8px; font-size: 13px; }
.b0e7e4-pager a, .b0e7e4-pager span {
	padding: 9px 15px;
	border-radius: 10px;
	background: var(--glass-strong);
	border: 1px solid var(--border);
	color: var(--text);
}
.b0e7e4-pager a:hover { border-color: var(--accent-line); color: var(--accent); text-decoration: none; }
.b0e7e4-pager .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------------------------------------------------------------
   9. Single post
   --------------------------------------------------------------- */
.b0e7e4-posthero {
	position: relative;
	margin: -36px -40px 44px;
	height: clamp(380px, 56vh, 560px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: #10161f;
}
.b0e7e4-posthero img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transform: scale(1.01);
}
.b0e7e4-posthero::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10, 16, 26, .12) 0%, rgba(10, 16, 26, .34) 48%, rgba(10, 16, 26, .82) 100%);
}
.b0e7e4-posthero-inner { position: relative; z-index: 2; width: 100%; max-width: calc(var(--maxw) + 80px); padding: 0 40px 44px; }
.b0e7e4-posthero .b0e7e4-chip {
	background: rgba(255, 255, 255, .22);
	border-color: rgba(255, 255, 255, .42);
	color: #fff;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.b0e7e4-posthero h1 {
	color: #fff;
	font-size: clamp(32px, 4.2vw, 58px);
	max-width: 900px;
	margin: 14px 0 16px;
	text-shadow: 0 2px 24px rgba(6, 10, 18, .45);
}
.b0e7e4-posthero .b0e7e4-meta { color: rgba(255, 255, 255, .82); }
.b0e7e4-posthero .b0e7e4-dot { background: rgba(255, 255, 255, .5); }

.b0e7e4-entry {
	max-width: 720px;
	font-size: 19px;
	line-height: 1.85;
	color: #21252b;
}
.b0e7e4-entry p { margin: 0 0 var(--spacing); }
.b0e7e4-entry h2 {
	font-size: clamp(24px, 2.4vw, 30px);
	margin: 52px 0 16px;
	padding-top: 4px;
	letter-spacing: -.012em;
}
.b0e7e4-entry h2:first-child { margin-top: 0; }
.b0e7e4-entry h3 { font-size: 22px; margin: 34px 0 12px; }
.b0e7e4-entry ul, .b0e7e4-entry ol { margin: 0 0 var(--spacing); padding-left: 22px; }
.b0e7e4-entry li { margin-bottom: 10px; }
.b0e7e4-entry blockquote {
	margin: var(--spacing) 0;
	padding: 16px 22px;
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
	border-radius: 0 12px 12px 0;
	font-family: var(--font-head);
	font-size: 21px;
	color: var(--text);
}
.b0e7e4-entry img { border-radius: 12px; margin: 8px 0 var(--spacing); }

.b0e7e4-postfoot {
	max-width: 720px;
	margin-top: 46px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
}
.b0e7e4-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.b0e7e4-tags a {
	font-size: 12px;
	color: var(--text-muted);
	background: rgba(255, 255, 255, .7);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 5px 12px;
}
.b0e7e4-tags a:hover { color: var(--accent); border-color: var(--accent-line); text-decoration: none; }

.b0e7e4-related { margin-top: 60px; }

/* author note */
.b0e7e4-byline {
	max-width: 720px;
	margin: 0 0 34px;
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 16px 18px;
}
.b0e7e4-byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.b0e7e4-byline strong { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.b0e7e4-byline span { display: block; font-size: 12.5px; color: var(--text-muted); }

/* ---------------------------------------------------------------
   10. Page / prose
   --------------------------------------------------------------- */
.b0e7e4-page { max-width: 760px; padding: 40px 44px 48px; }
.b0e7e4-page h2 { font-size: 26px; margin: 40px 0 14px; }
.b0e7e4-page h3 { font-size: 21px; margin: 28px 0 10px; }
.b0e7e4-page p { margin: 0 0 var(--spacing); }
.b0e7e4-page ul { margin: 0 0 var(--spacing); padding-left: 20px; }
.b0e7e4-page li { margin-bottom: 8px; }

/* ---------------------------------------------------------------
   11. Footer
   --------------------------------------------------------------- */
.b0e7e4-footer { padding: 0 40px 40px; }
.b0e7e4-foot-panel { padding: 34px 38px 26px; }
.b0e7e4-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 30px; }
.b0e7e4-foot-grid h4 {
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 12px;
}
.b0e7e4-foot-grid p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 10px; line-height: 1.65; }
.b0e7e4-foot-grid ul { list-style: none; margin: 0; padding: 0; }
.b0e7e4-foot-grid li { margin-bottom: 8px; }
.b0e7e4-foot-grid a { font-size: 13.5px; color: var(--text); }
.b0e7e4-foot-grid a:hover { color: var(--accent); }
.b0e7e4-foot-bottom {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	font-size: 12px;
	color: var(--text-muted);
}

/* ---------------------------------------------------------------
   12. 404
   --------------------------------------------------------------- */
.b0e7e4-404 { padding: 70px 40px; text-align: center; }
.b0e7e4-404 .b0e7e4-big { font-family: var(--font-head); font-size: 96px; line-height: 1; color: var(--accent); }
.b0e7e4-404 p { margin: 14px 0 24px; color: var(--text-muted); }
.b0e7e4-btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 12px;
	background: var(--accent);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.b0e7e4-btn:hover { filter: brightness(1.08); text-decoration: none; color: #fff; }

/* ---------------------------------------------------------------
   13. Responsive
   --------------------------------------------------------------- */
@media (max-width: 1180px) {
	.b0e7e4-bento .b0e7e4-card--small { grid-column: span 2; }
	.b0e7e4-foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
	:root { --rail: 0px; }
	.b0e7e4-rail {
		position: static;
		width: auto;
		border-right: 0;
		border-bottom: 1px solid var(--border);
		padding: 16px 20px;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px;
	}
	.b0e7e4-burger { display: inline-flex; margin-left: auto; }
	.b0e7e4-rail-nav {
		display: none;
		flex-direction: column;
		width: 100%;
		padding-top: 6px;
		border-top: 1px solid var(--border);
	}
	.b0e7e4-rail.is-open .b0e7e4-rail-nav { display: flex; }
	.b0e7e4-rail-foot { display: none; }
	.b0e7e4-rail-label { display: none; }
	.b0e7e4-tagline { display: none; }
	.b0e7e4-shell { margin-left: 0; }
	.b0e7e4-main { padding: 26px 22px 20px; }
	.b0e7e4-posthero { margin: -26px -22px 32px; }
	.b0e7e4-footer { padding: 0 22px 26px; }
}

@media (max-width: 860px) {
	.b0e7e4-bento { grid-template-columns: 1fr 1fr; }
	.b0e7e4-bento .b0e7e4-card--feat { grid-column: span 2; grid-row: auto; }
	.b0e7e4-bento .b0e7e4-card--wide { grid-column: span 2; }
	.b0e7e4-bento .b0e7e4-card--small { grid-column: span 1; }
	.b0e7e4-arch { grid-template-columns: 1fr; }
	.b0e7e4-card--wide { flex-direction: column; }
	.b0e7e4-card--wide .b0e7e4-card-media { width: 100%; flex: none; aspect-ratio: 16 / 9; min-height: 0; }
}

@media (max-width: 620px) {
	body.b0e7e4-body { font-size: 16.5px; }
	.b0e7e4-main { padding: 20px 16px 16px; }
	.b0e7e4-posthero { margin: -20px -16px 26px; height: 340px; }
	.b0e7e4-posthero-inner { padding: 0 18px 26px; }
	.b0e7e4-footer { padding: 0 16px 20px; }
	.b0e7e4-foot-panel { padding: 24px 22px 18px; }
	.b0e7e4-foot-grid { grid-template-columns: 1fr; gap: 20px; }
	.b0e7e4-bento { grid-template-columns: 1fr; gap: 16px; }
	.b0e7e4-bento .b0e7e4-card--feat,
	.b0e7e4-bento .b0e7e4-card--wide,
	.b0e7e4-bento .b0e7e4-card--small { grid-column: span 1; }
	.b0e7e4-entry { font-size: 17.5px; }
	.b0e7e4-page { padding: 26px 20px 30px; }
	.b0e7e4-sec-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
