/* ==========================================================================
   Reference pages stylesheet
   Mirrors the visual system of https://jaikhyapaparampara.com/ (sister site):
   - palette, typography and link treatments come from that site's styles.css
   - header / navigation / footer chrome is copied from its site-chrome.liquid
   Used by every page on this site except the interactive landing page.
   ========================================================================== */

:root {
	--primary-color: #8b2635;
	--primary-dark: #4a0e17;
	--primary-light: #a23d4a;
	--secondary-color: #c9a962;
	--accent-color: #e8c468;
	--accent-bright: #f4e4c1;
	--dark-bg: #0d0506;
	--light-bg: #1f0b11;
	--card-bg: #180a0f;
	--card-bg-gradient: linear-gradient(135deg, #180a0f 0%, #241015 50%, #1f0b11 100%);
	--text-dark: #f0dcc8;
	--text-light: #fff8f0;
	--text-gold: #e8c468;
	--link-color: var(--accent-color);
	--link-hover-color: var(--accent-bright);
	--link-underline-color: var(--border-gold);
	--border-color: rgba(139, 38, 53, 0.5);
	--border-gold: rgba(232, 196, 104, 0.4);
	--shadow: rgba(0, 0, 0, 0.85);
	--shadow-colored: rgba(74, 14, 23, 0.7);
	--overlay-color: rgba(24, 10, 15, 0.96);
	--gold-gradient: linear-gradient(135deg, #b8935a 0%, #c9a962 25%, #e8c468 50%, #f4e4c1 60%, #e8c468 75%, #c9a962 90%, #b8935a 100%);
	--maroon-gradient: linear-gradient(135deg, #4a0e17 0%, #6b1825 25%, #8b2635 50%, #a23d4a 75%, #8b2635 100%);
	--temple-gradient: radial-gradient(ellipse at top, #2d0f18 0%, #1f0b11 45%, #0d0506 100%);
	--panel-gradient: linear-gradient(145deg, rgba(45, 15, 24, 0.58) 0%, rgba(17, 6, 9, 0.96) 100%);
	--card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
}

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

html {
	height: auto;
	min-height: 100vh;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: "Crimson Text", Georgia, "Times New Roman", Times, serif;
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--text-dark);
	background-color: var(--light-bg);
	/* Subtle temple floor texture, same as the sister site. */
	background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
	background-size: 40px 40px;
	overflow-x: hidden;
}

main {
	flex: 1;
	width: 100%;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--accent-bright);
	font-family: "Philosopher", sans-serif;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: clamp(2.2rem, 4vw, 3.3rem);
	letter-spacing: 0.01em;
}

h2 {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

h3 {
	font-size: 1.18rem;
}

p {
	margin: 0 0 1rem;
}

img {
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   Shared site chrome — header, menu, footer.
   Copied from the sister site's site-chrome.liquid so both sites match.
   -------------------------------------------------------------------------- */

.skip-link {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2000;
	transform: translateY(-130%);
	background: var(--accent-color);
	color: #1f0b11;
	padding: 0.7rem 1.1rem;
	font-family: "Philosopher", sans-serif;
	font-weight: 700;
	text-decoration: none;
	border-radius: 0 0 10px 0;
	transition: transform 0.2s ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1100;
	background: linear-gradient(135deg, rgba(13, 5, 6, 0.98), rgba(31, 11, 17, 0.98));
	border-bottom: 1px solid var(--border-gold);
	box-shadow: 0 4px 25px var(--shadow-colored);
}

.site-shell {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.site-header-inner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 64px;
}

.site-logo {
	font-family: "Philosopher", sans-serif;
	color: var(--accent-color);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
}

.site-logo:hover,
.site-logo:focus-visible {
	color: var(--accent-bright);
}

.site-header-actions {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	order: 3;
}

.site-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	border: 0;
	background: transparent;
	color: var(--text-light);
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease;
}

.site-icon-btn:hover,
.site-icon-btn:focus-visible {
	color: var(--accent-color);
	background: rgba(232, 196, 104, 0.08);
}

.site-icon-btn svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	display: block;
}

.site-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 0;
}

.site-nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--accent-color);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-menu {
	order: 2;
	margin-left: auto;
}

.site-menu-list {
	display: flex;
	align-items: center;
	gap: 1.05rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-menu-list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--text-light);
	font-size: 0.98rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}

.site-menu-list a:hover,
.site-menu-list a:focus-visible {
	color: var(--accent-color);
}

.site-menu-list a[aria-current="page"] {
	color: var(--accent-color);
	border-bottom-color: var(--accent-color);
}

.site-menu-start,
.site-menu-more {
	display: none;
}

.site-menu-more span {
	display: block;
	font-family: "Philosopher", sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-color);
	opacity: 0.75;
	margin-bottom: 0.35rem;
}

.site-menu-more a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-right: 1.2rem;
	color: var(--text-light);
	text-decoration: none;
	font-weight: 600;
}

.site-menu-more a:hover {
	color: var(--accent-color);
}

.site-footer {
	background: linear-gradient(135deg, #0d0506 0%, #1f0b11 50%, #0d0506 100%);
	border-top: 1.5px solid var(--border-gold);
	box-shadow: 0 -4px 25px var(--shadow-colored);
	padding: 2.4rem 0 2.8rem;
	text-align: center;
	margin-top: 4rem;
}

.site-footer-inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	align-items: center;
}

.site-footer-blessing {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--accent-color);
	margin: 0 0 0.25rem;
}

.site-footer-desc {
	font-size: 1rem;
	font-style: italic;
	color: var(--text-dark);
	margin: 0 0 0.6rem;
	max-width: 620px;
}

.site-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 0.9rem;
	margin: 0.35rem 0 0.6rem;
	max-width: 780px;
}

.site-footer-links a {
	color: var(--text-dark);
	font-size: 0.9rem;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding: 0.2rem 0;
}

.site-footer-links a:hover {
	color: var(--accent-color);
	border-bottom-color: var(--border-gold);
}

.site-footer-meta {
	font-size: 0.85rem;
	color: var(--text-dark);
	opacity: 0.85;
	margin: 0;
}

.site-footer-meta a {
	color: var(--accent-color);
	text-decoration: none;
	border-bottom: 1px solid var(--border-gold);
}

.site-footer-version {
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	color: var(--text-dark);
	opacity: 0.62;
	margin: 0;
}

@media (max-width: 1150px) and (min-width: 901px) {
	.site-menu-list {
		flex-wrap: wrap;
		gap: 0.4rem 0.9rem;
		justify-content: flex-end;
	}

	.site-menu-list a {
		font-size: 0.92rem;
	}
}

@media (max-width: 900px) {
	.site-header-inner {
		min-height: 58px;
		gap: 0.25rem;
	}

	.site-logo {
		font-size: 1.02rem;
		margin-right: auto;
	}

	.site-nav-toggle {
		display: flex;
	}

	.site-menu {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		margin-left: 0;
		background: #15090d;
		border-bottom: 1px solid var(--border-gold);
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
		max-height: calc(100dvh - 58px);
		overflow-y: auto;
		padding: 0.35rem 0 0.9rem;
	}

	.site-menu.is-open {
		display: block;
	}

	.site-menu-list {
		display: block;
		padding: 0 1rem;
	}

	.site-menu-list a {
		display: flex;
		width: 100%;
		padding: 0.85rem 0.25rem;
		min-height: 48px;
		border-bottom: 1px solid rgba(232, 196, 104, 0.12);
		font-size: 1rem;
	}

	.site-menu-list li:last-child a {
		border-bottom: 0;
	}

	.site-menu-start {
		display: block;
	}

	.site-menu-more {
		display: block;
		padding: 0.7rem 1.25rem 0;
		margin-top: 0.35rem;
		border-top: 1px solid rgba(232, 196, 104, 0.18);
	}

	body.site-nav-open {
		overflow: hidden;
	}
}

@media (min-width: 901px) {
	.site-menu-start {
		display: none;
	}
}

@media (max-width: 380px) {
	.site-logo {
		font-size: 0.92rem;
	}
}

/* --------------------------------------------------------------------------
   Reference page layout
   -------------------------------------------------------------------------- */

.reference-main {
	padding: 2.4rem 0 0.5rem;
}

.reference-shell {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1rem;
}

main a {
	color: var(--link-color);
	text-decoration: underline;
	text-decoration-color: var(--link-underline-color);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

main a:hover,
main a:focus-visible {
	color: var(--link-hover-color);
	text-decoration-color: currentColor;
}

main a:focus-visible {
	outline: 2px solid var(--accent-color);
	outline-offset: 0.2em;
	border-radius: 2px;
}

.breadcrumbs {
	margin: 0 0 1.5rem;
	color: var(--text-dark);
	opacity: 0.85;
	font-size: 0.98rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.breadcrumbs li + li::before {
	content: "›";
	color: var(--accent-color);
	opacity: 0.7;
}

.breadcrumbs a {
	color: var(--text-dark);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.breadcrumbs a:hover {
	color: var(--accent-color);
	border-bottom-color: var(--border-gold);
}

.breadcrumbs [aria-current="page"] {
	color: var(--accent-color);
}

.page-kicker,
.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--border-gold);
	border-radius: 999px;
	background: rgba(232, 196, 104, 0.08);
	color: var(--accent-color);
	font-family: "Philosopher", sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.reference-shell h1 {
	max-width: 950px;
	margin: 0 0 1rem;
}

.intro {
	max-width: 860px;
	margin: 0;
	color: var(--text-dark);
	font-size: 1.15rem;
	opacity: 0.92;
}

.hero-panel,
.landing-intro,
.landing-section,
.source-notes,
.range-summary,
.name-summary {
	position: relative;
}

.hero-panel,
.landing-section,
.source-notes,
.range-summary {
	margin: 0 0 1.7rem;
	padding: 1.5rem 1.4rem;
	border: 1px solid var(--border-gold);
	border-radius: 22px;
	background: var(--panel-gradient);
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.landing-section h2,
.source-notes h2,
.range-summary h2 {
	margin: 0 0 0.8rem;
}

.landing-section p:last-child,
.source-notes p:last-child,
.hero-panel p:last-child {
	margin-bottom: 0;
}

.landing-section ul,
.landing-section ol,
.source-notes ul,
.source-notes ol {
	margin: 0.75rem 0 1rem;
	padding-left: 1.25rem;
}

.landing-section li + li,
.source-notes li + li {
	margin-top: 0.4rem;
}

.page-nav {
	margin: 1.2rem 0 0;
}

.page-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 46px;
	padding: 0.7rem 1.15rem;
	border: 1px solid var(--border-gold);
	border-radius: 999px;
	background: transparent;
	color: var(--accent-color);
	font-family: "Philosopher", sans-serif;
	font-size: 0.96rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-nav a:hover {
	transform: translateY(-2px);
	border-color: var(--accent-color);
	background: rgba(232, 196, 104, 0.12);
	color: var(--accent-bright);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
	text-decoration: none;
}

/* Hub ranges */

.ranges-panel {
	margin: 0 0 1.8rem;
}

.section-heading {
	margin-bottom: 1rem;
}

.section-title {
	margin: 0 0 0.6rem;
}

.range-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: range-card;
}

.range-list li {
	position: relative;
	padding: 1.3rem;
	border: 1px solid rgba(232, 196, 104, 0.24);
	border-radius: 18px;
	background: var(--card-gradient);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.range-list li:hover {
	transform: translateY(-4px);
	border-color: var(--accent-color);
	background: linear-gradient(145deg, rgba(232, 196, 104, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.range-list li::before {
	counter-increment: range-card;
	content: counter(range-card, decimal-leading-zero);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	margin-bottom: 0.8rem;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	background: rgba(232, 196, 104, 0.13);
	color: var(--accent-bright);
	font-family: "Philosopher", sans-serif;
	font-size: 0.86rem;
}

.range-list a {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--accent-bright);
	font-family: "Philosopher", sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.range-list a:hover {
	color: var(--accent-color);
}

.range-list div {
	color: var(--text-dark);
	opacity: 0.85;
}

.range-summary {
	padding: 1.2rem 1.3rem;
}

/* Name / meaning entries */

.entries-stack {
	display: grid;
	gap: 1.2rem;
}

.entry {
	position: relative;
	padding: 1.5rem 1.4rem;
	border: 1px solid rgba(232, 196, 104, 0.24);
	border-radius: 20px;
	background: var(--panel-gradient);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.entry::before {
	content: "";
	position: absolute;
	top: 0;
	left: 1.4rem;
	right: 1.4rem;
	height: 0;
}

.entry:target {
	border-color: var(--accent-color);
	box-shadow: 0 0 0 4px rgba(232, 196, 104, 0.14), 0 18px 45px rgba(0, 0, 0, 0.18);
}

.entry h2 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.entry h3 {
	margin: 1.2rem 0 0.55rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(232, 196, 104, 0.18);
	color: var(--accent-color);
	font-size: 1.02rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.entry p {
	color: var(--text-dark);
	opacity: 0.94;
}

.entry p strong,
.intro strong,
.range-summary strong,
.hero-panel strong {
	color: var(--accent-bright);
}

.entry h2 a {
	color: var(--accent-bright);
	text-decoration: none;
}

.entry h2 a:hover {
	color: var(--accent-color);
	text-decoration: underline;
	text-decoration-color: var(--border-gold);
}

.entry-meta {
	margin: 1.2rem 0 0 !important;
	padding-top: 0.9rem;
	border-top: 1px solid rgba(232, 196, 104, 0.16);
	color: var(--text-dark) !important;
	font-size: 0.95rem;
	opacity: 0.82;
}

/* Name page specifics */

.name-header {
	margin: 0 0 1.6rem;
}

.name-header h1 {
	margin: 0 0 0.5rem;
}

.name-sanskrit {
	margin: 0.35rem 0 0.15rem;
	color: var(--accent-color);
	font-family: "Noto Sans Devanagari", "Nirmala UI", "Crimson Text", serif;
	font-size: clamp(1.35rem, 2.8vw, 1.75rem);
	line-height: 1.5;
}

.name-iast {
	margin: 0;
	color: var(--text-dark);
	font-size: 1.08rem;
	font-style: italic;
	opacity: 0.88;
}

.name-summary {
	padding: 1.5rem 1.4rem;
	border: 1px solid var(--border-gold);
	border-radius: 22px;
	background: var(--panel-gradient);
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
	margin: 0 0 1.7rem;
}

.spelling-block {
	margin-top: 1.2rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(232, 196, 104, 0.18);
}

.spelling-block h3 {
	margin: 0 0 0.6rem;
	color: var(--accent-bright);
	font-size: 1.1rem;
	text-transform: none;
	letter-spacing: 0;
	border-top: 0;
	padding-top: 0;
}

.spelling-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spelling-list li {
	padding: 0.32rem 0.72rem;
	border: 1px solid rgba(232, 196, 104, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-dark);
	font-size: 0.86rem;
}

.spelling-source {
	flex-basis: 100%;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 0.2rem 0 0 !important;
	color: var(--text-dark) !important;
	font-size: 0.92rem !important;
}

.spelling-source span {
	color: var(--accent-bright);
	letter-spacing: 0.04em;
}

.spelling-note {
	margin: 0.8rem 0 0;
	color: var(--text-dark);
	font-size: 0.95rem;
	opacity: 0.85;
}

.name-pagination {
	margin: 2rem 0 0;
}

/* Tables (108 names, 1008 ranges, directories) */

.names-table {
	width: 100%;
	margin: 1rem 0 0;
	border-collapse: collapse;
	font-size: 1.02rem;
}

.names-table caption {
	margin-bottom: 0.7rem;
	color: var(--text-dark);
	font-size: 0.92rem;
	opacity: 0.82;
	text-align: left;
}

.names-table th {
	padding: 0.65rem 0.6rem;
	border-bottom: 1px solid var(--border-gold);
	color: var(--accent-color);
	font-family: "Philosopher", sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: left;
	text-transform: uppercase;
}

.names-table td {
	padding: 0.65rem 0.6rem;
	border-bottom: 1px solid rgba(232, 196, 104, 0.12);
	color: var(--text-dark);
	vertical-align: top;
}

.names-table tbody tr:hover td {
	background: rgba(232, 196, 104, 0.04);
}

.names-table td:first-child {
	width: 4.4rem;
	color: var(--accent-color);
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.names-table td:nth-child(2) {
	color: var(--accent-bright);
	font-family: "Philosopher", sans-serif;
	font-weight: 700;
	white-space: nowrap;
}

.names-table td:nth-child(2) a {
	color: var(--accent-bright);
	text-decoration: none;
}

.names-table td:nth-child(2) a:hover {
	color: var(--accent-color);
	text-decoration: underline;
	text-decoration-color: var(--border-gold);
}

/* Download cards */

.download-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
	margin-top: 1.1rem;
}

.download-card {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.3rem;
	border: 1px solid rgba(232, 196, 104, 0.24);
	border-radius: 18px;
	background: var(--card-gradient);
}

.download-card h3 {
	margin: 0;
	color: var(--accent-bright);
	font-size: 1.22rem;
}

.download-card p {
	margin: 0;
	color: var(--text-dark);
	opacity: 0.88;
}

.download-card .page-nav {
	margin-top: 0.4rem;
}

.download-card .page-nav a {
	min-height: 44px;
	padding: 0.6rem 1rem;
	font-size: 0.92rem;
}

/* FAQ */

.faq-list {
	display: grid;
	gap: 0.9rem;
	margin-top: 1rem;
}

.faq-item {
	padding: 1.15rem 1.25rem;
	border: 1px solid rgba(232, 196, 104, 0.22);
	border-radius: 18px;
	background: rgba(24, 9, 14, 0.72);
}

.faq-item h3 {
	margin: 0 0 0.4rem;
	color: var(--accent-bright);
	font-size: 1.1rem;
}

.faq-item p {
	margin: 0;
	color: var(--text-dark);
	opacity: 0.9;
}

/* Chanted names / callouts / figures */

.chanted-names {
	margin: 1rem 0 0;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--border-gold);
	border-radius: 18px;
	background: rgba(34, 12, 18, 0.78);
	color: var(--accent-bright);
	font-family: "Philosopher", sans-serif;
	font-size: 1.08rem;
	line-height: 1.9;
}

.chanted-names .dev,
.dev {
	color: var(--accent-color);
	font-family: "Noto Sans Devanagari", "Nirmala UI", "Crimson Text", serif;
}

.callout {
	margin: 1.1rem 0 0;
	padding: 0.95rem 1.1rem;
	border-left: 3px solid var(--accent-color);
	border-radius: 0 14px 14px 0;
	background: rgba(29, 10, 15, 0.68);
	color: var(--text-dark);
	font-size: 1.02rem;
}

.page-figure {
	margin: 0 0 1.6rem;
}

.page-figure img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border: 1px solid var(--border-gold);
	border-radius: 18px;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.page-figure figcaption {
	margin-top: 0.55rem;
	color: var(--text-dark);
	font-size: 0.9rem;
	opacity: 0.8;
	text-align: center;
}

/* Small print / misc */

.landing-section code,
.source-notes code {
	padding: 0.1rem 0.35rem;
	border: 1px solid rgba(232, 196, 104, 0.2);
	border-radius: 6px;
	background: rgba(232, 196, 104, 0.06);
	color: var(--accent-bright);
	font-size: 0.92em;
}

@media (max-width: 720px) {
	body {
		font-size: 1.08rem;
	}

	.reference-main {
		padding-top: 1.6rem;
	}

	.hero-panel,
	.landing-section,
	.source-notes,
	.range-summary,
	.name-summary,
	.entry {
		padding-left: 1.05rem;
		padding-right: 1.05rem;
	}

	.page-nav a {
		width: 100%;
		justify-content: center;
	}

	.page-figure img {
		max-height: 340px;
	}

	.names-table {
		font-size: 0.96rem;
	}

	.names-table td:nth-child(2) {
		white-space: normal;
	}

	.names-table th,
	.names-table td {
		padding: 0.55rem 0.4rem;
	}
}
