/* =========================================================
   LAW VIVECHANA — RESEARCH HOME
   Brand:
   Deep Navy  #0A2342
   Gold       #D4AF37
   Highlight  #FFD700
   Secondary  #001F54
   ========================================================= */

:root {
	--lv-navy: #0A2342;
	--lv-navy-deep: #001F54;
	--lv-gold: #D4AF37;
	--lv-gold-bright: #FFD700;
	--lv-ink: #172536;
	--lv-muted: #657386;
	--lv-line: #E2E7ED;
	--lv-paper: #FFFFFF;
	--lv-cream: #FFFCF3;
	--lv-bg: #F7F8FA;
	--lv-shadow: 0 14px 34px rgba(10, 35, 66, .08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.lv-research-home {
	margin: 0;
	background: var(--lv-bg);
	color: var(--lv-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lv-home-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--lv-line);
	backdrop-filter: blur(12px);
}

body.admin-bar .lv-home-header {
	top: 32px;
}

.lv-home-header-inner,
.lv-home-hero-inner,
.lv-home-section,
.lv-home-footer {
	width: min(1220px, calc(100% - 48px));
	margin-left: auto;
	margin-right: auto;
}

.lv-home-header-inner {
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.lv-home-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--lv-navy);
	text-decoration: none;
}

.lv-home-logo-image {
	display: block;
	max-width: 220px;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.lv-home-brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	background: var(--lv-navy);
	color: var(--lv-gold);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 800;
	letter-spacing: .03em;
}

.lv-home-brand-copy {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.lv-home-brand-copy strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	letter-spacing: .04em;
}

.lv-home-brand-copy small {
	margin-top: 4px;
	color: var(--lv-muted);
	font-size: 10px;
	font-weight: 650;
	letter-spacing: .04em;
}

.lv-home-header-link {
	color: var(--lv-navy);
	font-size: 12px;
	font-weight: 750;
	text-decoration: none;
}

.lv-home-header-link:hover {
	color: #8a6810;
}

.lv-home-main {
	min-height: 100vh;
}

.lv-home-hero {
	padding: 72px 0 44px;
	background:
		radial-gradient(circle at 85% 20%, rgba(212, 175, 55, .10), transparent 29%),
		linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border-bottom: 1px solid var(--lv-line);
}

.lv-home-hero-inner {
	text-align: center;
}

.lv-home-kicker,
.lv-index-eyebrow {
	display: inline-block;
	color: #8a6810;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .14em;
}

.lv-home-hero h1 {
	max-width: 900px;
	margin: 13px auto 0;
	color: var(--lv-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(36px, 5vw, 62px);
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -.035em;
}

.lv-home-hero h1 span {
	color: #8a6810;
}

.lv-home-intro {
	max-width: 690px;
	margin: 20px auto 0;
	color: var(--lv-muted);
	font-size: 15px;
	line-height: 1.7;
}

.lv-global-search {
	max-width: 930px;
	margin: 32px auto 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: stretch;
}

.lv-global-search-box {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	min-height: 58px;
	background: #fff;
	border: 1px solid #d4dbe4;
	border-radius: 12px;
	box-shadow: var(--lv-shadow);
	overflow: hidden;
}

.lv-global-search-icon {
	color: #8a6810;
	font-size: 23px;
	text-align: center;
}

.lv-global-search-box input[type="search"] {
	width: 100%;
	height: 56px;
	padding: 0 10px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--lv-ink);
	font-size: 14px;
	box-shadow: none;
}

.lv-global-search-box button {
	height: 42px;
	margin-right: 8px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: var(--lv-navy);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.lv-global-search-box button:hover {
	background: var(--lv-navy-deep);
}

.lv-home-date {
	min-width: 178px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 8px 13px;
	background: #fff;
	border: 1px solid #d4dbe4;
	border-radius: 12px;
	box-shadow: 0 8px 22px rgba(10, 35, 66, .05);
}

.lv-home-date span {
	margin-bottom: 3px;
	color: #7b8796;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.lv-home-date input {
	width: 100%;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--lv-navy);
	font-size: 12px;
	font-weight: 750;
	box-shadow: none;
}

.lv-capability-strip {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
}

.lv-capability-strip span {
	padding: 6px 10px;
	border: 1px solid #e6dfc3;
	border-radius: 999px;
	background: var(--lv-cream);
	color: #66531a;
	font-size: 9px;
	font-weight: 750;
}

.lv-home-section {
	padding-top: 52px;
	padding-bottom: 20px;
}

.lv-index-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 22px;
}

.lv-index-heading h2 {
	margin: 7px 0 0;
	color: var(--lv-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 31px;
	line-height: 1.1;
}

.lv-index-heading > p {
	max-width: 460px;
	margin: 0;
	color: var(--lv-muted);
	font-size: 12px;
	line-height: 1.55;
	text-align: right;
}

.lv-index-count {
	padding: 6px 10px;
	border-radius: 999px;
	background: #eef2f6;
	color: var(--lv-muted);
	font-size: 10px;
	font-weight: 800;
	white-space: nowrap;
}

.lv-index-tabs {
	display: flex;
	gap: 5px;
	margin-bottom: 20px;
	padding: 5px;
	background: #eef1f5;
	border-radius: 10px;
	overflow-x: auto;
}

.lv-index-tabs button {
	flex: 1 0 auto;
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #526174;
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
}

.lv-index-tabs button span {
	display: inline-grid;
	place-items: center;
	min-width: 21px;
	height: 21px;
	margin-left: 5px;
	padding: 0 5px;
	border-radius: 999px;
	background: rgba(10, 35, 66, .08);
	font-size: 9px;
}

.lv-index-tabs button.is-active {
	background: #fff;
	color: var(--lv-navy);
	box-shadow: 0 3px 12px rgba(10, 35, 66, .08);
}

.lv-index-tabs button.is-active span {
	background: #fff5ce;
	color: #76580b;
}

.lv-index-panel[hidden] {
	display: none !important;
}

.lv-index-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.lv-index-grid-compact {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lv-index-card {
	position: relative;
	min-height: 164px;
	display: flex;
	flex-direction: column;
	padding: 18px;
	background: var(--lv-paper);
	border: 1px solid var(--lv-line);
	border-radius: 11px;
	color: var(--lv-ink);
	text-decoration: none;
	transition:
		transform .16s ease,
		box-shadow .16s ease,
		border-color .16s ease;
}

.lv-index-card:hover {
	transform: translateY(-2px);
	border-color: #d7bd65;
	box-shadow: var(--lv-shadow);
}

.lv-index-card-overline {
	margin-bottom: 9px;
	color: #927116;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .09em;
}

.lv-index-card strong {
	color: var(--lv-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.35;
}

.lv-index-card-meta {
	margin-top: 8px;
	color: var(--lv-muted);
	font-size: 10px;
	line-height: 1.4;
}

.lv-index-card-action {
	margin-top: auto;
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #73580e;
	font-size: 10px;
	font-weight: 850;
}

.lv-search-result-list {
	display: grid;
	gap: 8px;
}

.lv-search-result-card {
	position: relative;
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) 220px 22px;
	gap: 14px;
	align-items: center;
	padding: 13px 16px;
	border: 1px solid var(--lv-line);
	border-radius: 9px;
	background: #fff;
	color: var(--lv-ink);
	text-decoration: none;
}

.lv-search-result-card:hover {
	border-color: #d7bd65;
	background: var(--lv-cream);
}

.lv-search-result-type {
	color: #8a6810;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.lv-search-result-card strong {
	color: var(--lv-navy);
	font-size: 12px;
}

.lv-search-result-card small {
	overflow: hidden;
	color: var(--lv-muted);
	font-size: 9px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lv-search-result-arrow {
	color: #927116;
	font-weight: 900;
	text-align: right;
}

.lv-empty-state {
	padding: 28px;
	border: 1px dashed #ced6df;
	border-radius: 10px;
	background: #fff;
	color: var(--lv-muted);
	font-size: 12px;
	text-align: center;
}

.lv-empty-state strong {
	display: block;
	margin-bottom: 5px;
	color: var(--lv-navy);
}

.lv-empty-state p {
	margin: 0;
}

.lv-home-footer {
	margin-top: 48px;
	margin-bottom: 40px;
	padding: 22px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--lv-line);
	color: var(--lv-muted);
	font-size: 10px;
}

.lv-home-footer strong {
	color: var(--lv-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
}

@media (max-width: 980px) {

	.lv-index-grid,
	.lv-index-grid-compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lv-search-result-card {
		grid-template-columns: 90px minmax(0, 1fr) 22px;
	}

	.lv-search-result-card small {
		display: none;
	}
}

@media (max-width: 782px) {

	body.admin-bar .lv-home-header {
		top: 46px;
	}

	.lv-home-header-inner,
	.lv-home-hero-inner,
	.lv-home-section,
	.lv-home-footer {
		width: min(100% - 28px, 1220px);
	}

	.lv-home-header-inner {
		min-height: 62px;
	}

	.lv-home-hero {
		padding: 52px 0 34px;
	}

	.lv-home-hero h1 {
		font-size: 39px;
	}

	.lv-global-search {
		grid-template-columns: 1fr;
	}

	.lv-home-date {
		min-width: 0;
	}

	.lv-index-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.lv-index-heading > p {
		text-align: left;
	}

	.lv-index-grid,
	.lv-index-grid-compact {
		grid-template-columns: 1fr;
	}

	.lv-index-card {
		min-height: 138px;
	}

	.lv-home-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 540px) {

	.lv-home-header-link {
		display: none;
	}

	.lv-global-search-box {
		grid-template-columns: 34px minmax(0, 1fr);
		padding-right: 7px;
	}

	.lv-global-search-box button {
		grid-column: 1 / -1;
		width: calc(100% - 14px);
		margin: 0 7px 7px;
	}

	.lv-index-tabs {
		justify-content: flex-start;
	}

	.lv-index-tabs button {
		flex: 0 0 auto;
	}

	.lv-search-result-card {
		grid-template-columns: 1fr 20px;
	}

	.lv-search-result-type,
	.lv-search-result-card strong {
		grid-column: 1;
	}

	.lv-search-result-arrow {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}


/* =========================================================
   STRUCTURED INDEX GROUPS
   ========================================================= */

.lv-index-accordion-list {
	display: grid;
	gap: 9px;
}

.lv-index-group {
	background: #fff;
	border: 1px solid var(--lv-line);
	border-radius: 10px;
	overflow: hidden;
}

.lv-index-group[open] {
	border-color: #d9c77f;
	box-shadow: 0 8px 24px rgba(10, 35, 66, .05);
}

.lv-index-group > summary {
	min-height: 66px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 16px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.lv-index-group > summary::-webkit-details-marker {
	display: none;
}

.lv-index-group > summary::after {
	content: "+";
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	border-radius: 7px;
	background: #f2f4f7;
	color: var(--lv-navy);
	font-size: 16px;
	font-weight: 700;
}

.lv-index-group[open] > summary::after {
	content: "−";
	background: var(--lv-cream);
	color: #76580b;
}

.lv-index-group-title {
	min-width: 0;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
}

.lv-index-group-title small {
	color: #927116;
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .09em;
}

.lv-index-group-title strong {
	color: var(--lv-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	line-height: 1.32;
}

.lv-index-group-count {
	flex: 0 0 auto;
	margin-left: auto;
	color: var(--lv-muted);
	font-size: 9px;
	font-weight: 800;
	white-space: nowrap;
}

.lv-index-entity-list {
	border-top: 1px solid var(--lv-line);
	background: #fbfcfd;
}

.lv-index-entity-list > a {
	display: grid;
	grid-template-columns: minmax(96px, 150px) minmax(0, 1fr) 18px;
	gap: 14px;
	align-items: center;
	min-height: 47px;
	padding: 8px 16px;
	border-bottom: 1px solid #ebeff3;
	color: var(--lv-ink);
	text-decoration: none;
}

.lv-index-entity-list > a:last-child {
	border-bottom: 0;
}

.lv-index-entity-list > a:hover {
	background: var(--lv-cream);
}

.lv-index-entity-code {
	color: #806311;
	font-size: 9px;
	font-weight: 850;
}

.lv-index-entity-title {
	color: var(--lv-navy);
	font-size: 11px;
	font-weight: 650;
	line-height: 1.35;
}

.lv-index-entity-arrow {
	color: #927116;
	font-weight: 900;
	text-align: right;
}

@media (max-width: 640px) {

	.lv-index-group > summary {
		align-items: flex-start;
	}

	.lv-index-group-count {
		display: none;
	}

	.lv-index-entity-list > a {
		grid-template-columns: 90px minmax(0, 1fr) 16px;
		gap: 9px;
		padding-left: 12px;
		padding-right: 12px;
	}

	.lv-index-entity-code {
		font-size: 8px;
	}

	.lv-index-entity-title {
		font-size: 10px;
	}
}


/* =========================================================
   FOOTER + IMPORTANT WEBSITES
   ========================================================= */

.lv-home-footer {
	margin-top: 56px;
	margin-bottom: 0;
	padding: 34px 0 22px;
	display: block;
	border-top: 1px solid var(--lv-line);
	color: var(--lv-muted);
	font-size: 10px;
}

.lv-home-footer-grid {
	display: grid;
	grid-template-columns: 1.05fr 2.1fr .85fr;
	gap: 40px;
	align-items: start;
}

.lv-home-footer-brand strong {
	display: block;
	color: var(--lv-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
}

.lv-home-footer-brand p {
	max-width: 280px;
	margin: 8px 0 0;
	line-height: 1.55;
}

.lv-home-footer-heading {
	display: block;
	margin-bottom: 10px;
	color: var(--lv-navy);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .10em;
	text-transform: uppercase;
}

.lv-home-important-links,
.lv-home-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 12px;
}

.lv-home-important-links a,
.lv-home-legal-links a,
.lv-home-legal-pending {
	color: #4f5f72;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;
}

.lv-home-important-links a:hover,
.lv-home-legal-links a:hover {
	color: #7b5d0c;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lv-home-legal-links {
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.lv-home-legal-pending {
	opacity: .48;
	cursor: default;
}

.lv-home-footer-bottom {
	margin-top: 24px;
	padding-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid #e7ebef;
	color: #8490a0;
	font-size: 8px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.lv-back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 120;
	width: 39px;
	height: 39px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid #d7bd65;
	border-radius: 10px;
	background: rgba(255, 255, 255, .96);
	color: var(--lv-navy);
	box-shadow: 0 9px 28px rgba(10, 35, 66, .13);
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition:
		opacity .16s ease,
		visibility .16s ease,
		transform .16s ease,
		background .16s ease;
}

.lv-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lv-back-to-top:hover {
	background: var(--lv-cream);
}

@media (max-width: 900px) {

	.lv-home-footer-grid {
		grid-template-columns: 1fr 1.5fr;
	}

	.lv-home-footer-legal {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {

	.lv-home-footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.lv-home-footer-legal {
		grid-column: auto;
	}

	.lv-home-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.lv-back-to-top {
		right: 14px;
		bottom: 14px;
	}
}


/* =========================================================
   LAW VIVECHANA — FINAL HOMEPAGE VISUAL SYSTEM V5
   Premium, research-first, restrained.
   ========================================================= */

:root {
	--lv-navy: #0A2342;
	--lv-navy-deep: #06182d;
	--lv-gold: #D4AF37;
	--lv-gold-soft: #b88d22;
	--lv-ink: #172536;
	--lv-muted: #667386;
	--lv-line: #E2E7ED;
	--lv-paper: #FFFFFF;
	--lv-cream: #FBF8EF;
	--lv-bg: #F6F7F9;
	--lv-shadow: 0 18px 45px rgba(6, 24, 45, .10);
}

/* ---------- Header ---------- */

.lv-home-header {
	background: rgba(255, 255, 255, .985);
	border-bottom: 1px solid #e6e9ed;
}

.lv-home-header-inner {
	min-height: 76px;
}

.lv-home-logo-image {
	max-width: 248px;
	max-height: 52px;
}

.lv-home-header-link {
	position: relative;
	padding: 9px 0;
	font-size: 12px;
	letter-spacing: .01em;
}

.lv-home-header-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 3px;
	height: 1px;
	background: var(--lv-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .18s ease;
}

.lv-home-header-link:hover::after {
	transform: scaleX(1);
}

/* ---------- Hero ---------- */

.lv-home-hero {
	position: relative;
	overflow: hidden;
	padding: 64px 0 42px;
	background:
		radial-gradient(circle at 84% 18%, rgba(212,175,55,.20), transparent 23%),
		radial-gradient(circle at 18% 92%, rgba(212,175,55,.08), transparent 28%),
		linear-gradient(135deg, #071b32 0%, #0A2342 58%, #0d2c50 100%);
	border-bottom: 0;
}

.lv-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
		linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 90%);
}

.lv-home-hero-inner {
	position: relative;
	z-index: 1;
	text-align: left;
}

.lv-home-kicker {
	color: #d9bb63;
	font-size: 9px;
	letter-spacing: .20em;
}

.lv-home-hero h1 {
	max-width: 760px;
	margin: 15px 0 0;
	color: #fff;
	font-size: clamp(38px, 4.6vw, 58px);
	line-height: 1.04;
	letter-spacing: -.032em;
}

.lv-home-hero h1 span {
	display: block;
	color: #e6c76d;
}

.lv-home-intro {
	max-width: 720px;
	margin: 16px 0 0;
	color: rgba(255,255,255,.76);
	font-size: 14px;
	line-height: 1.7;
}

/* ---------- Search ---------- */

.lv-global-search {
	max-width: 1040px;
	margin: 28px 0 0;
	grid-template-columns: minmax(0, 1fr) 194px;
	gap: 10px;
}

.lv-global-search-box {
	min-height: 64px;
	grid-template-columns: 44px minmax(0,1fr) auto;
	border: 1px solid rgba(255,255,255,.30);
	border-radius: 14px;
	box-shadow: 0 24px 55px rgba(0,0,0,.22);
}

.lv-global-search-icon {
	color: var(--lv-navy);
	font-size: 25px;
}

.lv-global-search-box input[type="search"] {
	height: 62px;
	font-size: 14px;
}

.lv-global-search-box button {
	height: 46px;
	margin-right: 9px;
	padding: 0 23px;
	border-radius: 9px;
	background: var(--lv-gold);
	color: #10233a;
}

.lv-global-search-box button:hover {
	background: #e0bd58;
}

.lv-home-date {
	min-width: 194px;
	padding: 9px 14px;
	border: 1px solid rgba(255,255,255,.30);
	border-radius: 14px;
	box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.lv-home-date span {
	color: #7a8795;
}

.lv-home-date input {
	font-size: 12px;
}

.lv-search-hint {
	margin-top: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	color: rgba(255,255,255,.54);
	font-size: 10px;
}

.lv-search-hint span {
	color: #d9bb63;
	font-weight: 800;
}

.lv-search-hint strong {
	color: rgba(255,255,255,.78);
	font-weight: 650;
}

.lv-search-hint i {
	font-style: normal;
	opacity: .42;
}

.lv-capability-strip {
	margin-top: 18px;
	justify-content: flex-start;
	gap: 0;
}

.lv-capability-strip span {
	position: relative;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(255,255,255,.64);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .035em;
}

.lv-capability-strip span:first-child {
	padding-left: 0;
}

.lv-capability-strip span:not(:last-child)::after {
	content: "·";
	position: absolute;
	right: -2px;
	color: #d9bb63;
}

/* ---------- Main legal index ---------- */

.lv-home-section {
	padding-top: 46px;
}

.lv-index-heading {
	margin-bottom: 18px;
	align-items: flex-end;
}

.lv-index-heading h2 {
	font-size: 30px;
}

.lv-index-heading > p {
	max-width: 520px;
	font-size: 11px;
}

/* Editorial tabs: thin, confident, not dashboard pills */
.lv-index-tabs {
	padding: 0;
	gap: 30px;
	border-bottom: 1px solid var(--lv-line);
	background: transparent;
}

.lv-index-tab {
	position: relative;
	min-height: 46px;
	padding: 0 2px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #637083;
	font-size: 11px;
	font-weight: 750;
}

.lv-index-tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: transparent;
}

.lv-index-tab.is-active {
	background: transparent;
	color: var(--lv-navy);
}

.lv-index-tab.is-active::after {
	background: var(--lv-gold);
}

/* Index surface */
.lv-index-panel {
	padding-top: 18px;
}

.lv-accordion-list,
.lv-direct-list {
	border: 1px solid var(--lv-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(10,35,66,.045);
	overflow: hidden;
}

.lv-accordion-item {
	border-bottom: 1px solid #e9edf1;
}

.lv-accordion-item:last-child {
	border-bottom: 0;
}

.lv-accordion-trigger {
	min-height: 70px;
	padding: 14px 18px;
	background: #fff;
}

.lv-accordion-trigger:hover {
	background: #fffdf7;
}

.lv-accordion-trigger:hover .lv-accordion-title {
	color: #76580c;
}

.lv-accordion-kicker {
	color: #9a7415;
	font-size: 8px;
	letter-spacing: .12em;
}

.lv-accordion-title {
	color: var(--lv-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.3;
}

.lv-accordion-count {
	color: #708094;
	font-size: 9px;
}

.lv-accordion-toggle {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #f3f5f7;
	color: var(--lv-navy);
}

.lv-accordion-body {
	background: #fbfcfd;
	border-top: 1px solid #edf0f3;
}

.lv-entity-link {
	min-height: 46px;
	padding: 9px 18px 9px 28px;
	border-bottom: 1px solid #edf0f3;
	background: transparent;
}

.lv-entity-link:hover {
	background: #fffaf0;
}

.lv-entity-code {
	min-width: 74px;
	color: #9a7415;
	font-size: 10px;
	font-weight: 850;
}

.lv-entity-title {
	font-size: 11px;
}

/* Search result cards */
.lv-search-result-card {
	border-radius: 12px;
	box-shadow: none;
}

.lv-search-result-card:hover {
	border-color: #dfc874;
	box-shadow: 0 10px 28px rgba(10,35,66,.06);
}

/* ---------- Footer ---------- */

.lv-home-footer {
	margin-top: 68px;
	padding: 36px 0 22px;
	border-top: 1px solid #dfe4ea;
	color: #6f7c8d;
	font-size: 11px;
}

.lv-home-footer-grid {
	grid-template-columns: 1.05fr 2fr .8fr;
	gap: 48px;
}

.lv-home-footer-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.lv-home-footer-logo-image {
	display: block;
	max-width: 210px;
	max-height: 46px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.lv-home-footer-wordmark {
	color: var(--lv-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .04em;
}

.lv-home-footer-brand p {
	max-width: 300px;
	margin: 11px 0 0;
	font-size: 10px;
	line-height: 1.65;
}

.lv-home-footer-heading {
	margin-bottom: 12px;
	color: var(--lv-navy);
	font-size: 9px;
	letter-spacing: .12em;
}

.lv-home-important-links {
	gap: 8px 16px;
}

.lv-home-important-links a,
.lv-home-legal-links a,
.lv-home-legal-pending {
	color: #4f5f72;
	font-size: 10px;
	font-weight: 650;
	line-height: 1.55;
}

.lv-home-important-links a {
	white-space: nowrap;
}

.lv-home-important-links a:hover,
.lv-home-legal-links a:hover {
	color: #846310;
	text-decoration-thickness: 1px;
}

.lv-home-footer-bottom {
	margin-top: 27px;
	padding-top: 15px;
	font-size: 9px;
}

/* ---------- Back to top ---------- */

.lv-back-to-top {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border-color: #d7bd65;
	box-shadow: 0 10px 28px rgba(10,35,66,.13);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.lv-home-hero {
		padding-top: 52px;
	}

	.lv-global-search {
		grid-template-columns: 1fr;
	}

	.lv-home-date {
		min-width: 0;
	}

	.lv-home-footer-grid {
		grid-template-columns: 1fr 1.4fr;
		gap: 32px;
	}

	.lv-home-footer-legal {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	.lv-home-header-inner,
	.lv-home-hero-inner,
	.lv-home-section,
	.lv-home-footer {
		width: min(100% - 28px, 1220px);
	}

	.lv-home-header-inner {
		min-height: 66px;
	}

	.lv-home-logo-image {
		max-width: 205px;
		max-height: 44px;
	}

	.lv-home-header-link {
		display: none;
	}

	.lv-home-hero {
		padding: 42px 0 31px;
	}

	.lv-home-hero h1 {
		font-size: clamp(34px, 10vw, 46px);
	}

	.lv-home-intro {
		font-size: 13px;
	}

	.lv-global-search {
		margin-top: 24px;
	}

	.lv-global-search-box {
		grid-template-columns: 38px minmax(0,1fr);
		min-height: 56px;
		overflow: visible;
	}

	.lv-global-search-box input[type="search"] {
		height: 54px;
		font-size: 13px;
	}

	.lv-global-search-box button {
		grid-column: 1 / -1;
		width: 100%;
		height: 44px;
		margin: 8px 0 0;
	}

	.lv-search-hint {
		display: none;
	}

	.lv-capability-strip {
		gap: 7px 0;
	}

	.lv-capability-strip span {
		padding: 0 10px;
	}

	.lv-index-tabs {
		gap: 20px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.lv-index-tabs::-webkit-scrollbar {
		display: none;
	}

	.lv-index-tab {
		flex: 0 0 auto;
	}

	.lv-home-footer-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.lv-home-footer-legal {
		grid-column: auto;
	}

	.lv-home-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}
}


/* ============================================================
   LAW VIVECHANA — DATE HERO V1
   Homepage visual redesign
   Compatible with existing home.php

   Scope:
   - Prominent date selector
   - Minimal premium homepage
   - Responsive mobile layout

   DOES NOT CHANGE:
   - Search logic
   - Date query parameter
   - Timeline engine
   - Connected Viewer
   - Legal database / QA
   ============================================================ */


/* ------------------------------------------------------------
   1. HOMEPAGE HERO
   ------------------------------------------------------------ */

body.lv-research-home .lv-home-hero {
    position: relative;
    padding: 80px 0 65px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(212, 175, 55, 0.075),
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );

    border-bottom: 1px solid #e5eaf0;
}

body.lv-research-home .lv-home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    text-align: center;
}

body.lv-research-home .lv-home-kicker {
    color: #977523;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.6;
    text-transform: uppercase;
}

body.lv-research-home .lv-home-hero h1 {
    max-width: 850px;
    margin: 17px auto 0;
    color: #0a2342;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(37px, 4.8vw, 64px);
    line-height: 1.11;
    font-weight: 700;
    letter-spacing: -0.035em;
}

body.lv-research-home .lv-home-hero h1 span {
    color: #94701d;
}

body.lv-research-home .lv-home-intro {
    max-width: 650px;
    margin: 22px auto 0;
    color: #657386;
    font-size: 15px;
    line-height: 1.8;
}


/* ------------------------------------------------------------
   2. DATE HERO + SEARCH LAYOUT

   Existing PHP structure:
   form.lv-global-search
     div.lv-global-search-box
     label.lv-home-date

   We use CSS ordering to show the date FIRST.
   No PHP changes required.
   ------------------------------------------------------------ */

body.lv-research-home .lv-global-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;

    width: min(100%, 790px);
    max-width: 790px;
    margin: 42px auto 0;
}


/* ------------------------------------------------------------
   3. PROMINENT DATE SELECTOR
   ------------------------------------------------------------ */

body.lv-research-home .lv-home-date {
    grid-row: 1;

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;

    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px 27px;

    text-align: left;

    background: #ffffff;
    border: 2px solid #cfa946;
    border-radius: 17px;

    box-shadow:
        0 0 0 5px rgba(212, 175, 55, 0.09),
        0 15px 40px rgba(10, 35, 66, 0.085);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* Date Hero heading */

body.lv-research-home .lv-home-date > span {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 12px;

    color: #0a2342;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.015em;
    line-height: 1.5;

    text-transform: none;
}


/* Calendar icon */

body.lv-research-home .lv-home-date > span::before {
    content: "◷";

    display: inline-grid;
    place-items: center;

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    background: #f8f2e2;
    border-radius: 9px;

    color: #96711d;
    font-size: 24px;
    line-height: 1;
}


/* Existing date input */

body.lv-research-home
.lv-home-date input[type="date"] {
    display: block;

    width: 100%;
    min-width: 0;
    height: 53px;
    min-height: 53px;

    box-sizing: border-box;

    margin: 0;
    padding: 10px 16px;

    background: #f7f9fc;

    border: 1px solid #dce3ec;
    border-radius: 10px;

    outline: none;

    color: #0a2342;
    font-family: inherit;
    font-size: 17px;
    font-weight: 750;

    color-scheme: light;
    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


/* Calendar picker icon */

body.lv-research-home
.lv-home-date input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.85;
    cursor: pointer;
}


/* Hover */

body.lv-research-home .lv-home-date:hover {
    border-color: #bb9027;

    box-shadow:
        0 0 0 5px rgba(212, 175, 55, 0.13),
        0 17px 42px rgba(10, 35, 66, 0.10);
}


/* Focus */

body.lv-research-home .lv-home-date:focus-within {
    border-color: #af8220;

    box-shadow:
        0 0 0 6px rgba(212, 175, 55, 0.19),
        0 18px 43px rgba(10, 35, 66, 0.11);
}

body.lv-research-home
.lv-home-date input[type="date"]:focus {
    border-color: #ba902c;
    background: #ffffff;
}


/* One-line guide below the date field */

body.lv-research-home .lv-home-date::after {
    content: "Choose a date to explore the law as it stood then.";

    display: block;
    margin-top: 13px;

    color: #66758a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
}


/* ------------------------------------------------------------
   4. SEARCH BAR — SECOND ROW
   ------------------------------------------------------------ */

body.lv-research-home .lv-global-search-box {
    grid-row: 2;

    display: grid;
    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto;

    align-items: center;

    width: 100%;
    min-width: 0;
    min-height: 65px;

    background: #ffffff;
    border: 1px solid #d8e0e9;
    border-radius: 13px;

    box-shadow:
        0 10px 30px rgba(10, 35, 66, 0.07);

    overflow: hidden;
}

body.lv-research-home .lv-global-search-icon {
    color: #94701d;
    font-size: 24px;
    text-align: center;
}

body.lv-research-home
.lv-global-search-box input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 62px;

    padding: 0 10px;

    color: #172536;
    background: transparent;

    border: 0;
    outline: 0;
    box-shadow: none;

    font-family: inherit;
    font-size: 14px;
}

body.lv-research-home
.lv-global-search-box input[type="search"]::placeholder {
    color: #8a96a6;
    opacity: 1;
}

body.lv-research-home
.lv-global-search-box button {
    height: 46px;
    min-height: 46px;

    margin: 0 9px 0 0;
    padding: 0 25px;

    background: #0a2342;
    color: #ffffff;

    border: 0;
    border-radius: 9px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

body.lv-research-home
.lv-global-search-box button:hover {
    background: #123b68;
}

body.lv-research-home
.lv-global-search-box button:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 2px;
}


/* ------------------------------------------------------------
   5. SEARCH EXAMPLES & FEATURE STRIP
   ------------------------------------------------------------ */

body.lv-research-home .lv-search-hint {
    margin-top: 18px;
    justify-content: center;
}

body.lv-research-home .lv-capability-strip {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;
    gap: 8px;

    margin-top: 26px;
}

body.lv-research-home .lv-capability-strip span {
    padding: 7px 12px;

    background: #ffffff;
    border: 1px solid #e7eaf0;
    border-radius: 999px;

    color: #526278;
    font-size: 10px;
    font-weight: 700;
}


/* ------------------------------------------------------------
   6. RESPONSIVE — TABLET
   ------------------------------------------------------------ */

@media (max-width: 900px) {

    body.lv-research-home .lv-home-hero {
        padding: 62px 0 48px;
    }

    body.lv-research-home .lv-global-search {
        width: 100%;
        max-width: 720px;
        gap: 17px;
    }

    body.lv-research-home .lv-home-date {
        padding: 20px 22px;
    }

    body.lv-research-home .lv-home-hero h1 {
        font-size: clamp(34px, 5.5vw, 53px);
    }
}


/* ------------------------------------------------------------
   7. RESPONSIVE — MOBILE
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    body.lv-research-home .lv-home-hero {
        padding: 45px 0 38px;
    }

    body.lv-research-home .lv-home-hero-inner {
        width: calc(100% - 32px);
    }

    body.lv-research-home .lv-home-kicker {
        font-size: 9px;
        letter-spacing: 0.09em;
    }

    body.lv-research-home .lv-home-hero h1 {
        max-width: 100%;
        margin-top: 15px;

        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.17;
    }

    body.lv-research-home .lv-home-intro {
        margin-top: 17px;
        font-size: 13px;
        line-height: 1.7;
    }

    body.lv-research-home .lv-global-search {
        width: 100%;
        margin-top: 28px;
        gap: 16px;
    }

    body.lv-research-home .lv-home-date {
        padding: 18px 16px;
        border-radius: 14px;
    }

    body.lv-research-home .lv-home-date > span {
        font-size: 13px;
    }

    body.lv-research-home
    .lv-home-date input[type="date"] {
        width: 100%;
        height: 50px;
        min-height: 50px;

        font-size: 16px;
    }

    body.lv-research-home .lv-home-date::after {
        margin-top: 11px;
        font-size: 11px;
    }

    body.lv-research-home .lv-global-search-box {
        grid-template-columns:
            34px
            minmax(0, 1fr);

        min-height: 60px;
        border-radius: 12px;
    }

    body.lv-research-home
    .lv-global-search-box input[type="search"] {
        height: 58px;
        font-size: 13px;
    }

    body.lv-research-home
    .lv-global-search-box button {
        grid-column: 1 / -1;

        width: calc(100% - 16px);
        height: 43px;

        margin: 0 8px 8px;
    }

    body.lv-research-home .lv-search-hint {
        margin-top: 16px;
        gap: 7px;
    }

    body.lv-research-home .lv-capability-strip {
        margin-top: 22px;
        gap: 7px;
    }

    body.lv-research-home .lv-capability-strip span {
        padding: 6px 9px;
        font-size: 9px;
    }
}


/* ------------------------------------------------------------
   8. ACCESSIBILITY
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    body.lv-research-home .lv-home-date,
    body.lv-research-home
    .lv-global-search-box button {
        transition: none;
    }
}


/* ============================================================
   END — DATE HERO V1
   ============================================================ */
