/*
Theme Name: Holy Shrines Child
Theme URI: https://holyshrines.in/
Description: Lightweight, accessible GeneratePress child theme for Holy Shrines.
Author: Holy Shrines
Template: generatepress
Version: 1.0.0
Text Domain: holyshrines-child
*/

:root {
	--hs-bg: #FAF8F5;
	--hs-surface: #ffffff;
	--hs-surface-alt: #F4EFEB;
	--hs-text: #1E293B;
	--hs-text-body: #334155;
	--hs-text-muted: #475569;
	--hs-border: #E8E2D8;
	--hs-border-subtle: #F0EAE1;
	--hs-border-gold: #D6C8B2;
	--hs-gold-hairline: rgba(197, 168, 105, 0.4);
	--hs-accent: #B83A1B;
	--hs-accent-hover: #962F16;
	--hs-accent-soft: #FDF3F0;
	--hs-shadow-sm: 0 1px 3px rgba(30, 41, 59, 0.04), 0 2px 6px rgba(30, 41, 59, 0.02);
	--hs-shadow-md: 0 4px 14px rgba(30, 41, 59, 0.05), 0 1px 3px rgba(30, 41, 59, 0.03);
	--hs-shadow-hover: 0 8px 24px rgba(30, 41, 59, 0.08), 0 2px 6px rgba(30, 41, 59, 0.04);
	--hs-max-width: 1140px;
	--hs-reading-width: 720px;
	--hs-sidebar-width: 320px;

	--hs-font-serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
	--hs-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* 4-Faith Logo-Matched Color System (WCAG AA Certified) */
	--hs-faith-hinduism: #C8371E;
	--hs-faith-hinduism-bg: rgba(200, 55, 30, 0.08);
	--hs-faith-hinduism-pill: rgba(200, 55, 30, 0.14);
	--hs-faith-hinduism-border: #C8371E;

	--hs-faith-buddhism: #36599C;
	--hs-faith-buddhism-bg: rgba(54, 89, 156, 0.08);
	--hs-faith-buddhism-pill: rgba(54, 89, 156, 0.14);
	--hs-faith-buddhism-border: #36599C;

	--hs-faith-jainism: #5B7A2C;
	--hs-faith-jainism-bg: rgba(91, 122, 44, 0.08);
	--hs-faith-jainism-pill: rgba(91, 122, 44, 0.14);
	--hs-faith-jainism-border: #5B7A2C;

	--hs-faith-sikhism: #9E6408;
	--hs-faith-sikhism-bg: rgba(158, 100, 8, 0.08);
	--hs-faith-sikhism-pill: rgba(158, 100, 8, 0.14);
	--hs-faith-sikhism-border: #B8781A;

	/* Default 4-Faith Tokens (Editorial Vermilion Fallback) */
	--hs-faith-accent: #C8371E;
	--hs-faith-tint: rgba(200, 55, 30, 0.08);
	--hs-faith-pill: rgba(200, 55, 30, 0.14);
}

/* 4-Faith Logo-derived Color Tokens */
body.faith-hinduism,
.hs-article-faith-hinduism {
	--hs-faith-accent: var(--hs-faith-hinduism);
	--hs-faith-tint: var(--hs-faith-hinduism-bg);
	--hs-faith-pill: var(--hs-faith-hinduism-pill);
	--hs-accent: #C8371E;
	--hs-accent-hover: #A62B16;
}

body.faith-buddhism,
.hs-article-faith-buddhism {
	--hs-faith-accent: var(--hs-faith-buddhism);
	--hs-faith-tint: var(--hs-faith-buddhism-bg);
	--hs-faith-pill: var(--hs-faith-buddhism-pill);
	--hs-accent: #36599C;
	--hs-accent-hover: #294478;
}

body.faith-jainism,
.hs-article-faith-jainism {
	--hs-faith-accent: var(--hs-faith-jainism);
	--hs-faith-tint: var(--hs-faith-jainism-bg);
	--hs-faith-pill: var(--hs-faith-jainism-pill);
	--hs-accent: #5B7A2C;
	--hs-accent-hover: #465E22;
}

body.faith-sikhism,
.hs-article-faith-sikhism {
	--hs-faith-accent: var(--hs-faith-sikhism);
	--hs-faith-tint: var(--hs-faith-sikhism-bg);
	--hs-faith-pill: var(--hs-faith-sikhism-pill);
	--hs-accent: #9E6408;
	--hs-accent-hover: #805105;
}

/* 3px Top Viewport Accent Stripe */
body::before {
	content: "";
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 99999;
	background: var(--hs-faith-accent);
}
body:not(.faith-hinduism):not(.faith-buddhism):not(.faith-jainism):not(.faith-sikhism)::before {
	background: linear-gradient(to right, #C8371E 25%, #36599C 25% 50%, #5B7A2C 50% 75%, #9E6408 75%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 100%;
	background-color: var(--hs-bg);
	color: var(--hs-text-body);
	overflow-x: hidden;
	max-width: 100%;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--hs-bg);
	color: var(--hs-text-body);
	font-family: var(--hs-font-sans);
	font-size: 1.125rem; /* 18px */
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	color: var(--hs-text);
	font-family: var(--hs-font-serif);
	font-weight: 700;
	line-height: 1.25;
	margin: 2.25rem 0 0.875rem;
	letter-spacing: -0.015em;
	overflow-wrap: anywhere;
	word-break: normal;
}

h1 {
	font-size: 2.25rem;
	margin-top: 0;
	letter-spacing: -0.02em;
}

h2 {
	font-size: 1.625rem;
	letter-spacing: -0.015em;
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1.5rem;
	overflow-wrap: anywhere;
	word-break: normal;
}

a {
	color: var(--hs-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

a:hover,
a:focus {
	color: var(--hs-accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--hs-accent);
	outline-offset: 2px;
}

/* Responsive Media Overrides (Fixes 390px overflow from inline widths) */
img,
figure,
figure.wp-caption,
.wp-caption,
iframe,
table,
video,
embed,
object {
	max-width: 100% !important;
	box-sizing: border-box;
}

img {
	height: auto;
	display: block;
}

.wp-caption {
	width: auto !important;
	margin: 1.5rem auto;
}

.wp-caption img {
	max-width: 100% !important;
	height: auto;
	margin: 0 auto;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: var(--hs-text-muted);
	text-align: center;
	margin-top: 0.5rem;
}

/* Accessibility Skip Link */
.hs-skip-link {
	position: absolute;
	left: -9999px;
	top: 0.5rem;
	z-index: 9999;
	background: var(--hs-accent);
	color: #ffffff;
	padding: 0.625rem 1rem;
	text-decoration: none;
	font-weight: 600;
	border-radius: 4px;
}

.hs-skip-link:focus {
	left: 0.5rem;
	color: #ffffff;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Layout Containers */
.hs-container {
	max-width: var(--hs-max-width);
	width: 100%;
	margin: 0 auto;
	padding: 0 1.25rem;
	box-sizing: border-box;
}

.hs-reading-container {
	max-width: var(--hs-reading-width);
	width: 100%;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

.hs-main {
	padding: 2.25rem 1.25rem 3.5rem;
}

/* Header */
.hs-header {
	background-color: var(--hs-surface);
	border-bottom: 1px solid var(--hs-border);
	padding: 1rem 0;
	position: relative;
	z-index: 100;
}

.hs-header-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.hs-header-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 1rem 1.5rem;
}

.hs-brand-wrap {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.hs-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--hs-text);
	flex-shrink: 0;
}

.hs-header-caption {
	display: inline-block;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--hs-text-muted);
	font-weight: 500;
	max-width: 280px;
	border-left: 2px solid var(--hs-border);
	padding-left: 0.85rem;
	letter-spacing: -0.01em;
}

.hs-mobile-tagline {
	display: none;
}

.hs-brand-logo {
	height: 44px;
	width: auto;
}

.hs-brand-title {
	font-family: var(--hs-font-serif);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--hs-text);
	line-height: 1.1;
}

.hs-brand-tagline {
	display: block;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
	font-weight: 400;
	margin-top: 0.15rem;
}

/* Desktop Navigation */
.hs-nav-bar {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-left: auto;
}

.hs-nav-list {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hs-nav-list a {
	color: var(--hs-text);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	padding: 0.35rem 0;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	transition: color 0.15s ease;
}

.hs-nav-list a:hover,
.hs-nav-list a:focus {
	color: var(--hs-accent);
}

.hs-nav-item.hs-has-dropdown {
	position: relative;
}

.hs-dropdown-toggle .hs-caret {
	font-size: 0.7rem;
	transition: transform 0.2s ease;
	display: inline-block;
}

.hs-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border-gold);
	border-radius: 8px;
	padding: 0.5rem 0;
	margin: 0.35rem 0 0;
	list-style: none;
	box-shadow: 0 10px 25px rgba(30, 41, 59, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 1000;
}

.hs-nav-item.hs-has-dropdown:hover .hs-dropdown-menu,
.hs-nav-item.hs-has-dropdown:focus-within .hs-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hs-nav-item.hs-has-dropdown:hover .hs-caret {
	transform: rotate(180deg);
}

.hs-dropdown-menu li {
	margin: 0;
	padding: 0;
}

.hs-dropdown-menu li a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.15rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--hs-text);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.hs-dropdown-menu li a svg {
	width: 15px;
	height: 15px;
	color: var(--hs-text-muted);
}

.hs-dropdown-menu li a:hover,
.hs-dropdown-menu li a:focus {
	background-color: var(--hs-surface-alt);
	color: var(--hs-accent);
}

.hs-dropdown-menu li a:hover svg {
	color: var(--hs-accent);
}

.hs-nav-link.hs-nav-support {
	color: var(--hs-accent);
	font-weight: 700;
}

/* Header Search Form */
.hs-header-search {
	display: flex;
	align-items: center;
	position: relative;
}

.hs-search-input {
	font-family: inherit;
	font-size: 0.9375rem;
	padding: 0.45rem 2.25rem 0.45rem 0.75rem;
	border: 1px solid var(--hs-border);
	border-radius: 4px;
	background: var(--hs-bg);
	color: var(--hs-text);
	width: 170px;
	transition: width 0.2s ease, border-color 0.2s ease;
}

.hs-search-input:focus {
	width: 220px;
	border-color: var(--hs-accent);
	outline: none;
}

.hs-search-btn {
	position: absolute;
	right: 0.35rem;
	background: none;
	border: none;
	padding: 0.25rem;
	cursor: pointer;
	color: var(--hs-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hs-search-btn:hover {
	color: var(--hs-accent);
}

.hs-search-btn span {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* Mobile Navigation (<details> element, no JS needed) */
.hs-mobile-actions {
	display: none;
}

.hs-mobile-menu {
	display: none;
}

.hs-mobile-summary {
	list-style: none;
	cursor: pointer;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--hs-border);
	border-radius: 4px;
	background: var(--hs-surface);
	color: var(--hs-text);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
}

.hs-mobile-summary::-webkit-details-marker {
	display: none;
}

@media (max-width: 900px) {
	.hs-header {
		padding: 0.5rem 0 0.4rem;
	}
	.hs-desktop-nav {
		display: none !important;
	}
	.hs-header-caption.hs-desktop-only {
		display: none !important;
	}
	.hs-header-inner {
		display: flex;
		flex-direction: column;
		gap: 0.25rem;
		position: relative;
	}
	.hs-header-top-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		gap: 0.5rem;
	}
	.hs-brand-wrap {
		display: flex;
		align-items: center;
		gap: 0;
		flex: 0 0 auto;
	}
	.hs-brand {
		flex-shrink: 0;
	}
	.hs-brand-logo {
		height: 34px;
		width: auto;
	}
	.hs-mobile-actions {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		flex-shrink: 0;
		margin-left: auto;
	}
	.hs-mobile-search-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		border: 1px solid var(--hs-border);
		border-radius: 6px;
		background: var(--hs-surface);
		color: var(--hs-text);
		text-decoration: none;
		transition: background 0.2s, color 0.2s, border-color 0.2s;
	}
	.hs-mobile-search-btn:hover {
		background: var(--hs-surface-alt);
		color: var(--hs-accent);
		border-color: var(--hs-accent);
		text-decoration: none;
	}
	.hs-mobile-search-btn svg {
		width: 18px;
		height: 18px;
	}
	.hs-mobile-menu {
		display: block;
		flex-shrink: 0;
		width: auto;
	}
	.hs-mobile-summary {
		padding: 0.4rem 0.75rem;
		font-size: 0.875rem;
		min-height: 38px;
		gap: 0.4rem;
		border-radius: 6px;
	}
	.hs-mobile-tagline {
		display: block;
		width: 100%;
		font-size: 12px;
		line-height: 1.35;
		color: var(--hs-text-muted);
		padding: 2px 0 0;
		margin: 0;
		text-align: left;
		letter-spacing: -0.01em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		border-left: none;
	}
	.hs-mobile-panel {
		position: absolute;
		top: calc(100% + 0.5rem);
		left: 0;
		right: 0;
		width: 100%;
		z-index: 1000;
		background: var(--hs-surface);
		border: 1px solid var(--hs-border-gold);
		border-radius: 8px;
		padding: 1.25rem;
		box-shadow: 0 10px 30px rgba(30, 41, 59, 0.15);
		margin-top: 0;
		max-height: 80vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-sizing: border-box;
	}
	.hs-mobile-search-wrap {
		margin-bottom: 1rem;
		padding-bottom: 0.75rem;
		border-bottom: 1px solid var(--hs-border-subtle);
	}
	.hs-mobile-search-wrap .hs-header-search {
		width: 100%;
		display: flex;
		position: relative;
	}
	.hs-mobile-search-wrap .hs-search-input {
		width: 100%;
		flex: 1;
		font-size: 1rem;
		padding: 0.6rem 2.5rem 0.6rem 0.75rem;
		border-radius: 6px;
		border: 1px solid var(--hs-border-gold);
	}
	.hs-mobile-search-wrap .hs-search-btn {
		position: absolute;
		right: 0.5rem;
		top: 50%;
		transform: translateY(-50%);
		padding: 0.4rem;
	}

	/* Mobile Menu Sections */
	.hs-mobile-section {
		margin-bottom: 1rem;
		padding-bottom: 0.85rem;
		border-bottom: 1px solid var(--hs-border-subtle);
	}
	.hs-mobile-section:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	.hs-mobile-section-title {
		font-size: 0.75rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: var(--hs-accent);
		margin-bottom: 0.45rem;
		display: flex;
		align-items: center;
		gap: 0.35rem;
	}
	.hs-mobile-section-title svg {
		width: 14px;
		height: 14px;
	}
	.hs-mobile-link-list {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 0.2rem;
	}
	.hs-mobile-link-list li {
		margin: 0;
		padding: 0;
	}
	.hs-mobile-link-list li a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 44px;
		padding: 0.55rem 0.75rem;
		font-size: 0.95rem;
		font-weight: 600;
		color: var(--hs-text);
		text-decoration: none;
		border-radius: 6px;
		transition: background-color 0.15s ease, color 0.15s ease;
	}
	.hs-mobile-link-list li a:hover,
	.hs-mobile-link-list li a:focus {
		background-color: var(--hs-surface-alt);
		color: var(--hs-accent);
		text-decoration: none;
	}
	.hs-mobile-item-label {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
	}
	.hs-faith-dot {
		display: inline-block;
		width: 9px;
		height: 9px;
		border-radius: 50%;
		flex-shrink: 0;
	}
	.hs-dot-hinduism { background-color: var(--hs-faith-hinduism); }
	.hs-dot-buddhism { background-color: var(--hs-faith-buddhism); }
	.hs-dot-jainism  { background-color: var(--hs-faith-jainism); }
	.hs-dot-sikhism  { background-color: var(--hs-faith-sikhism); }

	.hs-link-arrow {
		font-size: 0.85rem;
		color: var(--hs-text-muted);
	}
	.hs-link-badge {
		font-size: 0.7rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		background: var(--hs-surface-alt);
		border: 1px solid var(--hs-border);
		color: var(--hs-accent);
		padding: 0.15rem 0.5rem;
		border-radius: 4px;
	}
	.hs-mobile-link-highlight {
		background-color: var(--hs-accent-soft) !important;
		color: var(--hs-accent) !important;
		border: 1px solid rgba(184, 58, 27, 0.2);
	}
	.hs-link-heart {
		color: var(--hs-accent);
		font-size: 1rem;
	}
}

/* Breadcrumbs */
.hs-breadcrumbs {
	font-size: 0.9375rem;
	color: var(--hs-text-muted);
	margin-bottom: 1.25rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
	word-break: normal;
}

.hs-breadcrumbs a {
	color: var(--hs-text-muted);
	text-decoration: underline;
}

.hs-breadcrumbs a:hover {
	color: var(--hs-accent);
}

.hs-bc-sep {
	margin: 0 0.4rem;
	color: var(--hs-text-muted);
}

/* Single Post Header & Featured Image */
.hs-post-header {
	margin-bottom: 1.75rem;
}

.hs-post-title {
	margin: 0 0 0.5rem;
	font-family: var(--hs-font-serif);
	font-size: 2.35rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--hs-text);
	overflow-wrap: anywhere;
	word-break: normal;
}

.hs-post-subtitle {
	font-size: 1.1875rem;
	color: var(--hs-text-muted);
	margin: 0.5rem 0 0;
	font-weight: 400;
	line-height: 1.55;
	overflow-wrap: anywhere;
	word-break: normal;
}

.hs-featured-figure {
	margin: 0 0 2rem;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--hs-shadow-sm);
}

.hs-featured-figure img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	margin: 0 auto;
}

/* Key Facts Box (One unified grid including River, no separate box, no extra indent) */
.hs-key-facts {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border-gold);
	border-left: 4px solid var(--hs-faith-accent);
	border-radius: 8px;
	box-shadow: var(--hs-shadow-sm);
	padding: 1.5rem 1.75rem;
	margin: 0 0 2.25rem;
	box-sizing: border-box;
	width: 100%;
}

.hs-key-facts-title {
	font-family: var(--hs-font-serif);
	font-size: 1.1875rem;
	font-weight: 700;
	margin: 0 0 1.15rem;
	color: var(--hs-text);
	letter-spacing: -0.01em;
}

.hs-key-facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1.15rem 1.75rem;
	margin: 0;
	padding: 0;
}

@media (max-width: 600px) {
	.hs-key-facts {
		padding: 1.25rem;
	}
	.hs-key-facts-grid {
		grid-template-columns: 1fr;
		gap: 0.85rem;
	}
}

.hs-fact-item {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
	word-break: normal;
}

.hs-fact-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hs-text-muted);
	margin-bottom: 0.2rem;
}

.hs-fact-value {
	margin: 0;
	color: var(--hs-text);
	font-weight: 600;
	font-size: 1.0625rem;
}

.hs-fact-value a {
	color: var(--hs-accent);
}

/* Table of Contents (PHP only, no JS) */
.hs-toc {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 8px;
	box-shadow: var(--hs-shadow-sm);
	padding: 1.35rem 1.5rem;
	margin: 0 0 2.25rem;
	box-sizing: border-box;
	width: 100%;
}

.hs-toc-title {
	font-family: var(--hs-font-serif);
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	color: var(--hs-text);
}

.hs-toc-list {
	margin: 0;
	padding-left: 1.25rem;
	font-size: 1rem;
	line-height: 1.65;
}

.hs-toc-list li {
	margin-bottom: 0.4rem;
}

.hs-toc-list li.hs-toc-h3 {
	margin-left: 1rem;
}

.hs-toc-list a {
	color: var(--hs-text);
	text-decoration: underline;
}

.hs-toc-list a:hover {
	color: var(--hs-accent);
}

/* Entry Content & Legacy Post Classes */
.entry-content {
	font-size: 1.125rem; /* 18px */
	line-height: 1.8;
	color: var(--hs-text-body);
	overflow-wrap: anywhere;
	word-break: normal;
}

.entry-content > div {
	margin-bottom: 1.35rem;
}

.entry-content p {
	margin: 0 0 1.5rem;
}

.entry-content h2,
.shrine-heading {
	font-family: var(--hs-font-serif);
	font-size: 1.625rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin-top: 2.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--hs-border-subtle);
	color: var(--hs-text);
	overflow-wrap: anywhere;
	word-break: normal;
}

.entry-content h3,
.shrine-sub-heading {
	font-family: var(--hs-font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin-top: 2rem;
	margin-bottom: 0.65rem;
	border-bottom: none;
	color: var(--hs-text);
	overflow-wrap: anywhere;
	word-break: normal;
}

/* Override low-contrast #808080 inline spans in post content */
.entry-content span[style*="color: #808080"],
.entry-content span[style*="color:#808080"],
.entry-content h3 span[style*="808080"] {
	color: var(--hs-text-muted) !important;
}

/* Hide browser-extension & editor junk spans/divs */
.ms-editor-squiggler,
.mce_SELRES_start,
.magnify {
	display: none !important;
}

/* Lead Intro Box (.intro-text) */
.intro-text,
.hs-intro-wrapper .intro-text {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border-gold);
	border-left: 4px solid var(--hs-faith-accent);
	border-radius: 8px;
	box-shadow: var(--hs-shadow-sm);
	padding: 1.35rem 1.5rem;
	margin: 0 0 2rem;
	font-size: 1.15rem;
	line-height: 1.75;
	color: var(--hs-text);
	box-sizing: border-box;
	width: 100%;
}

/* Alert Box (.alert .alert-info) */
.alert {
	padding: 0.875rem 1.25rem;
	margin: 1.5rem 0 1rem;
	border: 1px solid var(--hs-border);
	border-radius: 6px;
	font-size: 0.95rem;
	line-height: 1.5;
	box-sizing: border-box;
}

.alert-info {
	background-color: var(--hs-surface-alt);
	border-color: var(--hs-border);
	color: var(--hs-text);
}

/* Responsive Map Wrapper (.map-responsive) */
.map-responsive {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
	margin: 1rem 0 1.75rem;
	border: 1px solid var(--hs-border);
	border-radius: 6px;
	background-color: var(--hs-surface-alt);
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.map-responsive iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
	border: 0;
}

/* Standard WP Content Image Classes */
.size-full,
.wp-image-12,
.alignnone {
	max-width: 100%;
	height: auto;
	margin: 1.5rem auto;
	border-radius: 6px;
}

.size-thumbnail {
	max-width: 150px;
	height: auto;
}

.size-medium {
	max-width: 300px;
	height: auto;
}

.thumb,
.thumbinner {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border);
	padding: 0.5rem;
	border-radius: 6px;
	margin: 1rem 0;
	max-width: 100%;
	box-sizing: border-box;
}

.thumbcaption {
	font-size: 0.875rem;
	color: var(--hs-text-muted);
	margin-top: 0.4rem;
}

.highlight {
	background-color: var(--hs-accent-soft);
	padding: 0.1rem 0.35rem;
	border-radius: 3px;
}

/* Single-Shrine Share Bar (WhatsApp, Facebook, X, Copy Link - Zero Third-Party Scripts) */
.hs-share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.65rem;
	padding: 1.15rem 0;
	margin: 1.75rem 0 2.5rem;
	border-top: 1px solid var(--hs-border);
	border-bottom: 1px solid var(--hs-border);
}

.hs-share-label {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--hs-text-muted);
	margin-right: 0.25rem;
	display: inline-flex;
	align-items: center;
}

.hs-share-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.4rem 0.95rem;
	border: 1px solid var(--hs-border);
	border-radius: 999px;
	background-color: var(--hs-surface);
	color: var(--hs-text);
	text-decoration: none;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.hs-share-link svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	transition: fill 0.2s ease, stroke 0.2s ease;
}

.hs-share-link:hover {
	transform: translateY(-1px);
	text-decoration: none;
	box-shadow: var(--hs-shadow-sm);
}

/* WhatsApp Hover */
.hs-share-whatsapp:hover,
.hs-share-whatsapp:focus {
	background-color: #25D366;
	border-color: #25D366;
	color: #ffffff;
}
.hs-share-whatsapp:hover svg,
.hs-share-whatsapp:focus svg {
	fill: #ffffff;
}

/* Facebook Hover */
.hs-share-facebook:hover,
.hs-share-facebook:focus {
	background-color: #1877F2;
	border-color: #1877F2;
	color: #ffffff;
}
.hs-share-facebook:hover svg,
.hs-share-facebook:focus svg {
	fill: #ffffff;
}

/* X / Twitter Hover */
.hs-share-x:hover,
.hs-share-x:focus {
	background-color: #0f1419;
	border-color: #0f1419;
	color: #ffffff;
}
.hs-share-x:hover svg,
.hs-share-x:focus svg {
	fill: #ffffff;
}

/* Copy Link Hover & Copied State */
.hs-share-copy:hover,
.hs-share-copy:focus {
	background-color: var(--hs-accent-soft);
	border-color: var(--hs-accent);
	color: var(--hs-accent);
}
.hs-share-copy.is-copied {
	background-color: var(--hs-accent);
	border-color: var(--hs-accent);
	color: #ffffff;
}
.hs-share-copy.is-copied svg {
	stroke: #ffffff;
}

@media (max-width: 600px) {
	.hs-share-bar {
		gap: 0.5rem;
	}
	.hs-share-label {
		width: 100%;
		margin-bottom: 0.15rem;
	}
	.hs-share-link {
		padding: 0.35rem 0.8rem;
		font-size: 0.8125rem;
	}
}

/* Card Grids */
.hs-section {
	margin: 3rem 0;
}

.hs-section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--hs-border);
}

.hs-section-title {
	margin: 0;
	font-size: 1.5rem;
}

.hs-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

@media (max-width: 992px) {
	.hs-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.hs-card-grid {
		grid-template-columns: 1fr;
	}
}

.hs-card {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--hs-shadow-sm);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.hs-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hs-shadow-hover);
	border-color: var(--hs-border-gold);
}

.hs-card-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background-color: var(--hs-surface-alt);
	overflow: hidden;
}

.hs-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.hs-card:hover .hs-card-thumb img {
	transform: scale(1.03);
}

.hs-card-thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--hs-surface-alt) 0%, #efebe4 100%);
	border-bottom: 1px solid var(--hs-border-subtle);
}

.hs-card-placeholder-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	color: var(--hs-text-muted);
	opacity: 0.7;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hs-card:hover .hs-card-placeholder-inner {
	opacity: 0.95;
	transform: scale(1.05);
}

.hs-card-placeholder-inner .hs-placeholder-icon svg {
	width: 36px;
	height: 36px;
	stroke: var(--hs-border-gold);
	stroke-width: 1.5;
}

.hs-card-placeholder-inner .hs-placeholder-mark {
	font-family: var(--hs-font-serif);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hs-text-muted);
	font-weight: 600;
}

.hs-card-body {
	padding: 1rem 1.15rem 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hs-card-meta {
	font-size: 0.8125rem;
	color: var(--hs-accent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.hs-card-title {
	font-family: var(--hs-font-serif);
	font-size: 1.1875rem;
	line-height: 1.35;
	margin: 0;
}

.hs-card-title a {
	color: var(--hs-text);
	text-decoration: none;
}

.hs-card-title a:hover {
	color: var(--hs-accent);
	text-decoration: underline;
}

/* 4-Faith Card Accents & Meta */
.hs-card.hs-card-faith-hinduism {
	border-left: 3px solid var(--hs-faith-hinduism);
}
.hs-card.hs-card-faith-buddhism {
	border-left: 3px solid var(--hs-faith-buddhism);
}
.hs-card.hs-card-faith-jainism {
	border-left: 3px solid var(--hs-faith-jainism);
}
.hs-card.hs-card-faith-sikhism {
	border-left: 3px solid var(--hs-faith-sikhism-border);
}

.hs-card-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin-bottom: 0.45rem;
}

.hs-card-meta-row .hs-card-meta {
	margin: 0;
}

.hs-card-faith-badge {
	display: inline-flex;
	align-items: center;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	letter-spacing: 0.03em;
	line-height: 1.3;
}

/* 4-Faith Badges across Shrines, Cards, Archive & Hero */
.hs-faith-badge-hinduism,
.hs-card-faith-hinduism .hs-card-faith-badge,
body.faith-hinduism .hs-faith-kicker,
.hs-article-faith-hinduism .hs-faith-kicker {
	background-color: var(--hs-faith-hinduism-bg);
	color: var(--hs-faith-hinduism);
	border: 1px solid rgba(200, 55, 30, 0.25);
}

.hs-faith-badge-buddhism,
.hs-card-faith-buddhism .hs-card-faith-badge,
body.faith-buddhism .hs-faith-kicker,
.hs-article-faith-buddhism .hs-faith-kicker {
	background-color: var(--hs-faith-buddhism-bg);
	color: var(--hs-faith-buddhism);
	border: 1px solid rgba(54, 89, 156, 0.25);
}

.hs-faith-badge-jainism,
.hs-card-faith-jainism .hs-card-faith-badge,
body.faith-jainism .hs-faith-kicker,
.hs-article-faith-jainism .hs-faith-kicker {
	background-color: var(--hs-faith-jainism-bg);
	color: var(--hs-faith-jainism);
	border: 1px solid rgba(91, 122, 44, 0.25);
}

.hs-faith-badge-sikhism,
.hs-card-faith-sikhism .hs-card-faith-badge,
body.faith-sikhism .hs-faith-kicker,
.hs-article-faith-sikhism .hs-faith-kicker {
	background-color: var(--hs-faith-sikhism-bg);
	color: var(--hs-faith-sikhism);
	border: 1px solid rgba(158, 100, 8, 0.25);
}

/* Hero slide badges */
.hs-hero-badge-faith.hs-faith-badge-hinduism {
	background-color: #C8371E;
	color: #ffffff;
	border: none;
}
.hs-hero-badge-faith.hs-faith-badge-buddhism {
	background-color: #36599C;
	color: #ffffff;
	border: none;
}
.hs-hero-badge-faith.hs-faith-badge-jainism {
	background-color: #5B7A2C;
	color: #ffffff;
	border: none;
}
.hs-hero-badge-faith.hs-faith-badge-sikhism {
	background-color: #9E6408;
	color: #ffffff;
	border: none;
}

/* Homepage Specific Sections */
.hs-hero {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 8px;
	padding: 2.5rem 2rem;
	margin-bottom: 2.75rem;
	text-align: center;
	box-shadow: var(--hs-shadow-sm);
}

.hs-hero h1 {
	font-size: 2.375rem;
	margin: 0 0 0.75rem;
}

.hs-hero-lead {
	max-width: 680px;
	margin: 0 auto 1.5rem;
	color: var(--hs-text-muted);
	font-size: 1.125rem;
}

.hs-hero-search {
	max-width: 560px;
	margin: 0 auto;
	display: flex;
	gap: 0.5rem;
	position: relative;
	align-items: stretch;
}

.hs-hero-search .hs-search-input {
	flex: 1;
	width: auto;
	font-family: inherit;
	font-size: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--hs-border);
	border-radius: 4px;
	background-color: var(--hs-bg);
	color: var(--hs-text);
}

.hs-hero-search .hs-search-btn {
	position: static;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	background-color: var(--hs-accent);
	color: #ffffff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	flex-shrink: 0;
}

.hs-hero-search .hs-search-btn:hover {
	background-color: var(--hs-accent-hover);
	color: #ffffff;
}

.hs-hero-search .hs-search-btn span {
	position: static;
	clip: auto;
	height: auto;
	width: auto;
	overflow: visible;
	margin: 0;
}

.hs-hero-search .hs-search-btn svg {
	fill: currentColor;
	width: 18px;
	height: 18px;
}

/* Hero Showcase (Zero Plugins, 5-Slide) */
.hs-hero-showcase {
	position: relative;
	margin-bottom: 2.75rem;
}

.hs-hero-slider {
	position: relative;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
	background: #0f172a;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hs-hero-slides {
	position: relative;
	width: 100%;
	height: 460px;
}

@media (max-width: 768px) {
	.hs-hero-slides {
		height: 380px;
	}
}

.hs-hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	pointer-events: none;
}

.hs-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
}

.hs-hero-slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hs-hero-slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}

.hs-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.6) 45%, rgba(15, 23, 42, 0.92) 100%);
}

.hs-hero-slide-inner {
	position: relative;
	z-index: 3;
	padding: 2.5rem;
	max-width: 760px;
	color: #ffffff;
}

@media (max-width: 600px) {
	.hs-hero-slide-inner {
		padding: 1.5rem 1.25rem 2rem;
	}
}

.hs-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 0.65rem;
}

.hs-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.25rem 0.65rem;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hs-hero-badge-faith {
	background: var(--hs-accent);
	color: #ffffff;
}

.hs-hero-badge-loc {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	backdrop-filter: blur(4px);
}

.hs-hero-badge-loc svg {
	color: #ffffff;
	width: 14px;
	height: 14px;
}

.hs-hero-title {
	font-family: var(--hs-font-serif);
	font-size: clamp(1.75rem, 3.8vw, 2.6rem);
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
	margin: 0 0 1rem;
	padding-right: 16px;
	max-width: 100%;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hs-hero-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.hs-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: #ffffff;
	color: #1a1a1a;
	font-weight: 600;
	font-size: 0.9375rem;
	padding: 0.65rem 1.25rem;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hs-hero-btn:hover {
	background: var(--hs-accent);
	color: #ffffff;
	transform: translateY(-1px);
	text-decoration: none;
}

/* Hero Showcase Controls / Dots */
.hs-hero-nav {
	position: absolute;
	bottom: 10px;
	right: 12px;
	top: auto;
	left: auto;
	height: auto;
	width: auto;
	z-index: 5;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(4px);
}

.hs-hero-dot {
	width: 6px;
	height: 6px;
	min-width: 6px;
	min-height: 6px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
}

.hs-hero-dot span {
	display: none;
}

.hs-hero-dot:hover {
	background: rgba(255, 255, 255, 0.85);
}

.hs-hero-dot.is-active {
	width: 14px;
	border-radius: 999px;
	background: #ffffff;
}

/* Integrated Hero Search */
.hs-hero-search-bar {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-top: none;
	border-radius: 0 0 12px 12px;
	padding: 1.25rem 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.hs-hero-search-caption {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--hs-text-muted);
	margin-bottom: 0.65rem;
	text-align: center;
}

.hs-hero-search-form {
	max-width: 620px;
	margin: 0 auto;
	display: flex;
	gap: 0.5rem;
	position: relative;
	align-items: stretch;
}

.hs-hero-search-form .hs-search-input {
	flex: 1;
	border: 1.5px solid var(--hs-border);
	border-radius: 6px;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	background-color: var(--hs-bg);
	color: var(--hs-text);
	outline: none;
	transition: border-color 0.2s;
}

.hs-hero-search-form .hs-search-input:focus {
	border-color: var(--hs-accent);
}

.hs-hero-search-form .hs-search-btn {
	background: var(--hs-accent);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	font-size: 0.95rem;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s;
}

.hs-hero-search-form .hs-search-btn:hover {
	background: var(--hs-accent-hover);
}

.hs-hero-search-form .hs-search-btn span {
	position: static;
	clip: auto;
	height: auto;
	width: auto;
	overflow: visible;
	margin: 0;
}

.hs-hero-search-form .hs-search-btn svg {
	fill: currentColor;
	width: 18px;
	height: 18px;
}

@media (max-width: 600px) {
	.hs-hero-search-bar {
		padding: 1rem;
	}
	.hs-hero-search-form {
		flex-direction: column;
	}
	.hs-hero-search-form .hs-search-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 900px) {
	.hs-hero-slider {
		border-radius: 12px;
	}
	.hs-hero-slides {
		height: 240px !important;
		min-height: 220px;
	}
	.hs-hero-slide-inner {
		padding: 1.25rem 1rem !important;
	}
	.hs-hero-badges {
		margin-bottom: 0.35rem;
		gap: 0.35rem;
	}
	.hs-hero-badge {
		font-size: 0.72rem;
		padding: 0.18rem 0.45rem;
	}
	.hs-hero-title {
		font-size: clamp(1.35rem, 4.5vw, 1.5rem) !important;
		margin: 0 0 0.55rem;
		padding-right: 16px;
		max-width: 100%;
	}
	.hs-hero-btn {
		padding: 0.5rem 0.9rem !important;
		font-size: 0.85rem !important;
	}
	.hs-hero-nav {
		bottom: 10px;
		right: 12px;
		top: auto;
		left: auto;
		height: auto;
		width: auto;
	}
	.hs-hero-search-bar {
		display: none !important;
	}
}

/* 4-Faith Tabbed Major Portals */
.hs-major-portals-section {
	margin-bottom: 3.5rem;
}

.hs-portals-header-wrap {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
	position: relative;
}

.hs-major-portals-badge {
	display: inline-flex;
	align-items: center;
	position: relative;
	flex-shrink: 0;
}

.hs-major-portals-badge .hs-portal-badge-verified {
	position: static;
	bottom: auto;
	left: auto;
	width: fit-content;
	max-width: 100%;
	white-space: nowrap;
	overflow: visible;
	text-overflow: clip;
	box-shadow: none;
	padding: 0.25rem 0.65rem;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
}

.hs-section-subtitle {
	font-size: 0.95rem;
	color: var(--hs-text-muted);
	margin: 0.35rem 0 0;
	line-height: 1.5;
}

.hs-portal-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	border-bottom: 2px solid var(--hs-border);
	margin-bottom: 1.75rem;
	padding-bottom: 0.25rem;
}

.hs-portal-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 0.75rem 1.25rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: var(--hs-text-muted);
	cursor: pointer;
	border-radius: 6px 6px 0 0;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
	margin-bottom: -0.35rem;
}

.hs-portal-tab svg {
	width: 16px;
	height: 16px;
}

.hs-portal-tab:hover {
	color: var(--hs-accent);
	background-color: var(--hs-surface-alt);
}

.hs-portal-tab.is-active {
	color: var(--hs-accent);
	border-bottom-color: var(--hs-accent);
	background-color: var(--hs-accent-soft);
	font-weight: 700;
}

/* 4-Faith Portal Tabs Active & Hover Accents */
.hs-portal-tab-hinduism:hover {
	color: var(--hs-faith-hinduism);
}
.hs-portal-tab-hinduism.is-active {
	color: var(--hs-faith-hinduism);
	border-bottom-color: var(--hs-faith-hinduism);
	background-color: var(--hs-faith-hinduism-bg);
}

.hs-portal-tab-buddhism:hover {
	color: var(--hs-faith-buddhism);
}
.hs-portal-tab-buddhism.is-active {
	color: var(--hs-faith-buddhism);
	border-bottom-color: var(--hs-faith-buddhism);
	background-color: var(--hs-faith-buddhism-bg);
}

.hs-portal-tab-jainism:hover {
	color: var(--hs-faith-jainism);
}
.hs-portal-tab-jainism.is-active {
	color: var(--hs-faith-jainism);
	border-bottom-color: var(--hs-faith-jainism);
	background-color: var(--hs-faith-jainism-bg);
}

.hs-portal-tab-sikhism:hover {
	color: var(--hs-faith-sikhism);
}
.hs-portal-tab-sikhism.is-active {
	color: var(--hs-faith-sikhism);
	border-bottom-color: var(--hs-faith-sikhism);
	background-color: var(--hs-faith-sikhism-bg);
}

@media (max-width: 900px) {
	.hs-portal-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		gap: 0.5rem;
		padding-bottom: 0.5rem;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.hs-portal-tabs::-webkit-scrollbar {
		display: none;
	}
	.hs-portal-tab {
		flex-shrink: 0;
		padding: 0.65rem 1rem;
		font-size: 0.9375rem;
		min-height: 44px;
		white-space: nowrap;
		margin-bottom: -0.5rem;
	}
}

.hs-portal-panel {
	display: none !important;
	position: relative;
	overflow: hidden;
}

.hs-portal-panel.is-active {
	display: block !important;
	animation: hsFadeIn 0.3s ease;
}

.hs-portal-panel:not(.is-active) {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.hs-portal-panel:not(.is-active) * {
	display: none !important;
}

@keyframes hsFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

.hs-portal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

@media (max-width: 600px) {
	.hs-portal-grid {
		grid-template-columns: 1fr;
	}
}

.hs-portal-card {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--hs-shadow-sm);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.hs-portal-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hs-shadow-hover);
	border-color: var(--hs-border-gold);
}

.hs-portal-thumb-wrap {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--hs-surface-alt);
	overflow: hidden;
}

.hs-portal-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.hs-portal-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.hs-portal-card:hover .hs-portal-thumb-wrap img {
	transform: scale(1.03);
}

.hs-portal-no-thumb {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--hs-border) 0%, var(--hs-surface-alt) 100%);
}

.hs-portal-badge-verified {
	position: absolute;
	bottom: 0.6rem;
	left: 0.6rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: rgba(15, 23, 42, 0.88);
	color: #38bdf8;
	backdrop-filter: blur(4px);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.25rem 0.55rem;
	border-radius: 4px;
	letter-spacing: 0.02em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	z-index: 2;
	max-width: calc(100% - 1.2rem);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}

.hs-portal-badge-verified svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.hs-portal-badge-verified {
		font-size: 10px;
		padding: 0.18rem 0.4rem;
		gap: 0.25rem;
		bottom: 0.4rem;
		left: 0.4rem;
		max-width: calc(100% - 0.8rem);
	}
	.hs-portal-badge-verified svg {
		width: 12px;
		height: 12px;
	}
	.hs-major-portals-badge .hs-portal-badge-verified {
		position: static;
		bottom: auto;
		left: auto;
		width: fit-content;
		max-width: 100%;
		font-size: 0.72rem;
		padding: 0.22rem 0.6rem;
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
	}
}

.hs-portal-card-body {
	padding: 1.15rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hs-portal-card-location {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
	margin-bottom: 0.4rem;
}

.hs-portal-card-location svg {
	color: var(--hs-accent);
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.hs-portal-card-title {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 1rem;
	flex: 1;
}

.hs-portal-card-title a {
	color: var(--hs-text);
	text-decoration: none;
}

.hs-portal-card-title a:hover {
	color: var(--hs-accent);
	text-decoration: underline;
}

.hs-portal-card-actions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin-top: auto;
}

.hs-portal-card-actions .hs-btn {
	flex: 1;
	text-align: center;
	justify-content: center;
	padding: 0.45rem 0.65rem;
	font-size: 0.8125rem;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.hs-btn-guide {
	background: var(--hs-surface-alt);
	color: var(--hs-text);
	border: 1px solid var(--hs-border);
}

.hs-btn-guide:hover {
	background: var(--hs-border);
	color: var(--hs-text);
	text-decoration: none;
}

.hs-btn-official {
	background: var(--hs-accent);
	color: #ffffff;
	border: 1px solid var(--hs-accent);
}

.hs-btn-official:hover {
	background: var(--hs-accent-hover);
	border-color: var(--hs-accent-hover);
	color: #ffffff;
	text-decoration: none;
}

.hs-faith-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

@media (max-width: 600px) {
	.hs-faith-grid {
		grid-template-columns: 1fr;
	}
}

.hs-faith-card {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-top: 4px solid var(--hs-accent);
	border-radius: 8px;
	padding: 1.35rem 1.5rem;
	box-shadow: var(--hs-shadow-sm);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.hs-faith-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hs-shadow-hover);
	border-color: var(--hs-border-gold);
}

.hs-faith-card h3 {
	margin: 0 0 0.25rem;
	font-size: 1.35rem;
}

.hs-faith-card h3 a {
	color: var(--hs-text);
	text-decoration: none;
}

.hs-faith-card h3 a:hover {
	color: var(--hs-accent);
	text-decoration: underline;
}

.hs-faith-count {
	display: block;
	font-size: 0.875rem;
	color: var(--hs-text-muted);
	margin-bottom: 0.5rem;
}

.hs-faith-desc {
	font-size: 0.9375rem;
	color: var(--hs-text-muted);
	margin: 0 0 1rem;
	line-height: 1.5;
}

.hs-pill-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.hs-pill-list a {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	font-size: 0.875rem;
	background-color: var(--hs-bg);
	border: 1px solid var(--hs-border);
	border-radius: 4px;
	color: var(--hs-text);
	text-decoration: none;
}

.hs-pill-list a:hover {
	border-color: var(--hs-accent);
	color: var(--hs-accent);
	background-color: var(--hs-accent-soft);
}

.hs-chip-count {
	color: var(--hs-text-muted);
	font-size: 0.8125rem;
}

/* Browse Directories (5 cards in 1 row on desktop, no orphan) */
.hs-browse-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
}

@media (max-width: 992px) {
	.hs-browse-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.hs-browse-grid {
		grid-template-columns: 1fr;
	}
}

.hs-browse-box {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 6px;
	padding: 1.15rem 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hs-browse-box h3 {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
}

.hs-browse-box h3 a {
	color: var(--hs-text);
	text-decoration: none;
}

.hs-browse-box h3 a:hover {
	color: var(--hs-accent);
	text-decoration: underline;
}

.hs-browse-count {
	display: block;
	font-size: 0.875rem;
	color: var(--hs-text-muted);
	margin-bottom: 0.75rem;
}

.hs-browse-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-browse-link:hover {
	text-decoration: underline;
}

/* Pilgrimage Circuits (3x2 grid, 2x3 on tablet, 1x6 on mobile - Never an orphan card!) */
.hs-circuits-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

@media (max-width: 900px) {
	.hs-circuits-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.hs-circuits-grid {
		grid-template-columns: 1fr;
	}
}

.hs-circuit-card {
	background-color: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-left: 4px solid var(--hs-accent);
	border-radius: 8px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	box-shadow: var(--hs-shadow-sm);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.hs-circuit-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hs-shadow-hover);
	border-color: var(--hs-border-gold);
}

.hs-circuit-card h3 {
	margin: 0 0 0.25rem;
	font-size: 1.125rem;
}

.hs-circuit-card h3 a {
	color: var(--hs-text);
	text-decoration: none;
}

.hs-circuit-card h3 a:hover {
	color: var(--hs-accent);
	text-decoration: underline;
}

.hs-circuit-count {
	display: block;
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.hs-circuit-desc {
	font-size: 0.9375rem;
	color: var(--hs-text-muted);
	margin: 0 0 0.875rem;
	line-height: 1.5;
	flex: 1;
}

.hs-circuit-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-circuit-link:hover {
	text-decoration: underline;
}

/* Footer */
.hs-footer {
	background-color: var(--hs-surface);
	border-top: 1px solid var(--hs-border);
	padding: 3rem 0 2rem;
	margin-top: 3rem;
	font-size: 0.95rem;
}

.hs-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-bottom: 2.5rem;
}

@media (max-width: 600px) {
	.hs-footer-grid {
		grid-template-columns: 1fr;
	}
}

.hs-footer-col h3 {
	font-size: 1.0625rem;
	margin: 0 0 0.75rem;
	color: var(--hs-text);
}

.hs-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hs-footer-links li {
	margin-bottom: 0.4rem;
}

.hs-footer-links a {
	color: var(--hs-text-muted);
	text-decoration: none;
}

.hs-footer-links a:hover {
	color: var(--hs-accent);
	text-decoration: underline;
}

.hs-footer-highlight-link {
	color: var(--hs-accent) !important;
	font-weight: 700 !important;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.4rem;
}

.hs-footer-highlight-link:hover {
	color: var(--hs-accent-hover) !important;
	text-decoration: underline !important;
}

.hs-footer-bottom {
	padding-top: 1.5rem;
	border-top: 1px solid var(--hs-border);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: var(--hs-text-muted);
	font-size: 0.875rem;
}

.hs-footer-bottom-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hs-footer-bottom-nav a {
	color: var(--hs-text-muted);
	text-decoration: underline;
}

.hs-footer-bottom-nav a:hover {
	color: var(--hs-accent);
}

@media (max-width: 600px) {
	body {
		font-size: 1.0625rem;
	}
	.hs-post-title,
	.hs-hero h1 {
		font-size: 1.75rem;
	}
	.hs-hero {
		padding: 1.75rem 1.15rem;
	}
	.hs-hero-search {
		flex-direction: column;
	}
	.hs-hero-search .hs-search-btn {
		width: 100%;
		justify-content: center;
	}
}

/* FAQ Component (semantic <details>/<summary>, no JS) */
.hs-faq-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 2rem 0;
}

.hs-faq-item {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 6px;
	overflow: hidden;
}

.hs-faq-question {
	padding: 1.125rem 1.25rem;
	font-family: var(--hs-font-serif);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--hs-text);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

.hs-faq-question::-webkit-details-marker {
	display: none;
}

.hs-faq-question::after {
	content: "+";
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--hs-accent);
	transition: transform 0.2s ease;
	line-height: 1;
	margin-left: 1rem;
}

.hs-faq-item[open] > .hs-faq-question::after {
	content: "\2212";
}

.hs-faq-answer {
	padding: 0 1.25rem 1.25rem;
	font-size: 1.0625rem;
	color: var(--hs-text-muted);
	line-height: 1.7;
}

.hs-faq-answer p {
	margin: 0 0 0.75rem;
}

.hs-faq-answer p:last-child {
	margin-bottom: 0;
}

/* Forms & Feedback Alerts */
.hs-form-wrap {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 6px;
	padding: 1.75rem 1.5rem;
	margin: 2rem 0 3rem;
}

.hs-form-group {
	margin-bottom: 1.25rem;
}

.hs-form-label {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--hs-text);
	margin-bottom: 0.35rem;
}

.hs-form-label .required {
	color: var(--hs-accent);
}

.hs-form-input,
.hs-form-textarea,
.hs-form-select {
	width: 100%;
	max-width: 100%;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--hs-border);
	border-radius: 4px;
	background: #fff;
	font-family: inherit;
	font-size: 1rem;
	color: var(--hs-text);
	box-sizing: border-box;
}

.hs-form-input:focus,
.hs-form-textarea:focus,
.hs-form-select:focus {
	outline: none;
	border-color: var(--hs-accent);
	box-shadow: 0 0 0 2px rgba(139, 58, 30, 0.15);
}

.hs-form-submit {
	display: inline-block;
	background: var(--hs-accent);
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0.75rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease;
}

.hs-form-submit:hover {
	background: #732f17;
}

.hs-alert {
	padding: 1rem 1.25rem;
	border-radius: 6px;
	font-size: 1rem;
	line-height: 1.5;
	margin-bottom: 1.5rem;
}

.hs-alert-success {
	background: #e6f4ea;
	color: #137333;
	border: 1px solid #ceead6;
}

.hs-alert-error {
	background: #fce8e6;
	color: #c5221f;
	border: 1px solid #fad2cf;
}

.hs-hp-field {
	display: none !important;
}

/* ==========================================================================
   Minimalist Editorial Design System (BBC / Guardian / Atlas Obscura / Smarthistory)
   ========================================================================== */

/* Preheader & Faith Kicker Badge */
.hs-shrine-preheader {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}
.hs-faith-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: var(--hs-faith-pill);
	color: var(--hs-faith-accent);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.hs-faith-kicker svg {
	width: 14px;
	height: 14px;
}

/* Smarthistory Headings & Heritage Captions */
.hs-post-title {
	font-family: var(--hs-font-serif);
	font-size: 2.25rem;
	line-height: 1.25;
	color: var(--hs-text);
	margin: 0.5rem 0 0.5rem;
	letter-spacing: -0.01em;
}
.hs-post-subtitle {
	font-size: 1.1875rem;
	line-height: 1.5;
	color: var(--hs-text-muted);
	margin-bottom: 1.5rem;
}

.hs-featured-figure {
	margin: 0 0 1.75rem;
}
.hs-featured-figure img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
figcaption,
.wp-caption-text,
.hs-heritage-caption {
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--hs-text-muted);
	margin-top: 0.5rem;
	padding-left: 0.75rem;
	border-left: 2px solid var(--hs-faith-accent);
	font-style: normal;
}

/* 2-Column Desktop Grid Layout + <= 320px Sidebar */
.hs-shrine-article {
	max-width: 1140px;
	margin: 0 auto;
}
.hs-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2.5rem;
	align-items: start;
	margin-top: 1.5rem;
}
@media (max-width: 960px) {
	.hs-single-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.hs-single-content {
	min-width: 0;
	max-width: 760px;
}

.hs-single-sidebar {
	max-width: 320px;
	width: 100%;
}

.hs-sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

/* Module 1: Quick Facts & Verification Card */
.hs-sidebar-widget {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 8px;
	padding: 1.35rem;
	box-shadow: var(--hs-shadow-sm);
	box-sizing: border-box;
}
.hs-widget-title {
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--hs-text);
	margin: 0 0 1rem;
	letter-spacing: -0.01em;
	border-bottom: 1px solid var(--hs-border);
	padding-bottom: 0.5rem;
}

/* Tier Badges */
.hs-tier-box {
	margin-bottom: 1.25rem;
	padding: 0.75rem;
	background: var(--hs-surface-alt);
	border-radius: 4px;
	border: 1px solid var(--hs-border);
}
.hs-tier-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}
.hs-tier-official {
	color: #0d6832;
}
.hs-tier-community {
	color: var(--hs-faith-accent);
}
.hs-tier-verified-date {
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
	margin: 0 0 0.5rem;
}
.hs-official-link-wrap {
	margin: 0.5rem 0 0.25rem;
}
.hs-official-verified-date {
	font-size: 0.75rem;
	color: var(--hs-text-muted);
	margin: 0 0 0.5rem;
	line-height: 1.3;
}
.hs-tier-subtitle {
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
	margin: 0 0 0.5rem;
}
.hs-subtle-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hs-faith-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hs-subtle-report-link {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
}
.hs-subtle-report-link a {
	color: var(--hs-text-muted);
	text-decoration: underline;
}

/* Sidebar Facts DL */
.hs-sidebar-facts {
	margin: 0 0 1.25rem;
	padding: 0;
}
.hs-sidebar-fact-item {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--hs-border);
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.hs-sidebar-fact-item:last-child {
	border-bottom: none;
}
.hs-sidebar-fact-item dt {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--hs-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}
.hs-sidebar-fact-item dd {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--hs-text);
	font-weight: 500;
}
.hs-sidebar-fact-item dd a {
	color: var(--hs-faith-accent);
	text-decoration: none;
}
.hs-sidebar-fact-item dd a:hover {
	text-decoration: underline;
}

/* Button & Map Action */
.hs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1.25rem;
	border-radius: 4px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s ease;
	border: 1px solid transparent;
	box-sizing: border-box;
}
.hs-btn-primary {
	background: var(--hs-faith-accent);
	color: #fff !important;
	border-color: var(--hs-faith-accent);
}
.hs-btn-primary:hover {
	opacity: 0.92;
	color: #fff !important;
	text-decoration: none;
}
.hs-btn-outline {
	background: transparent;
	color: var(--hs-faith-accent) !important;
	border-color: var(--hs-border);
}
.hs-btn-outline:hover {
	background: var(--hs-faith-tint);
	text-decoration: none;
}
.hs-btn-sm {
	padding: 0.4rem 0.75rem;
	font-size: 0.8125rem;
}
.hs-btn-block {
	width: 100%;
}

/* Module 2: Patron UPI & Local Sponsor */
.hs-widget-patron {
	border-top: 3px solid var(--hs-faith-accent);
}
.hs-patron-badge {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hs-faith-accent);
	margin-bottom: 0.35rem;
}
.hs-patron-title {
	font-family: var(--hs-font-serif);
	font-size: 1.15rem;
	color: var(--hs-text);
	margin: 0 0 0.5rem;
}
.hs-patron-desc {
	font-size: 0.875rem;
	color: var(--hs-text-muted);
	line-height: 1.5;
	margin: 0 0 0.75rem;
}
.hs-patron-qr-wrap {
	text-align: center;
	margin: 0.75rem 0;
}
.hs-patron-qr-img {
	max-width: 160px;
	height: auto;
	background: #ffffff;
	padding: 8px;
	border-radius: 8px;
	border: 1px solid var(--hs-border);
	display: inline-block;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.hs-upi-box {
	background: var(--hs-surface-alt);
	border: 1px solid var(--hs-border);
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.8125rem;
	margin-bottom: 0.75rem;
}
.hs-upi-action-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}
.hs-upi-code {
	font-family: monospace;
	font-weight: 700;
	color: var(--hs-text);
	background: #fff;
	padding: 2px 6px;
	border-radius: 3px;
	border: 1px solid var(--hs-border);
	word-break: break-all;
	font-size: 0.8rem;
}
.hs-patron-support-link {
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	text-align: center;
}
.hs-local-sponsor-slot {
	border-top: 1px dashed var(--hs-border);
	padding-top: 0.75rem;
	margin-top: 0.5rem;
}
.hs-sponsor-kicker {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: var(--hs-text-muted);
	display: block;
	margin-bottom: 0.25rem;
}
.hs-sponsor-note {
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
	line-height: 1.4;
	margin: 0 0 0.35rem;
}

/* Module 3 & 4: CLS-Safe Ad Slot */
.hs-widget-ad-slot {
	min-height: 280px;
	padding: 0.75rem;
	background: var(--hs-surface-alt);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Circuit Navigation Banner */
.hs-circuit-banner {
	background: var(--hs-faith-tint);
	border: 1px solid var(--hs-border);
	border-left: 3px solid var(--hs-faith-accent);
	border-radius: 4px;
	padding: 0.75rem 1rem;
	margin-bottom: 1.25rem;
}
.hs-circuit-banner-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}
.hs-circuit-info {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	color: var(--hs-text);
}
.hs-circuit-icon {
	color: var(--hs-faith-accent);
	display: flex;
	align-items: center;
}
.hs-circuit-name {
	font-weight: 700;
	color: var(--hs-faith-accent);
	text-decoration: underline;
}
.hs-circuit-stop-badge {
	font-size: 0.8125rem;
	font-weight: 600;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 999px;
	padding: 0.15rem 0.55rem;
}
.hs-circuit-nav {
	display: flex;
	gap: 0.75rem;
}
.hs-circuit-nav-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hs-text);
	text-decoration: none;
	padding: 0.25rem 0.6rem;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 4px;
}
.hs-circuit-nav-link:hover {
	border-color: var(--hs-faith-accent);
	color: var(--hs-faith-accent);
}

/* Mobile-First Cooperative Google Maps Embed */
.hs-map-card {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 6px;
	overflow: hidden;
	margin: 1.75rem 0;
}
.hs-map-container {
	position: relative;
	width: 100%;
	background: #eee;
	touch-action: pan-x pan-y;
}
.hs-map-cooperative-hint {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	background: rgba(26, 26, 26, 0.85);
	color: #fff;
	padding: 0.3rem 0.65rem;
	border-radius: 4px;
	font-size: 0.75rem;
	pointer-events: none;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}
.hs-map-iframe {
	display: block;
	width: 100%;
	border: 0;
}
.hs-map-actions {
	padding: 0.875rem 1rem;
	background: var(--hs-surface-alt);
	border-top: 1px solid var(--hs-border);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}
.hs-btn-map-primary {
	min-height: 44px;
	background: var(--hs-faith-accent);
	color: #fff !important;
	padding: 0.6rem 1.25rem;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9375rem;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	text-decoration: none;
}
.hs-btn-map-copy {
	min-height: 44px;
	background: var(--hs-surface);
	color: var(--hs-text);
	border: 1px solid var(--hs-border);
	padding: 0.6rem 1rem;
	border-radius: 4px;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.hs-btn-map-copy:hover {
	border-color: var(--hs-faith-accent);
}

/* Inline Update Drawer */
.hs-devotee-updates-card {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-left: 3px solid var(--hs-faith-accent);
	border-radius: 6px;
	padding: 1.25rem;
	margin: 2rem 0;
}
.hs-devotee-header {
	margin-bottom: 1rem;
}
.hs-tier-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
	background: var(--hs-faith-tint);
	color: var(--hs-faith-accent);
	margin-bottom: 0.5rem;
}
.hs-devotee-title {
	font-family: var(--hs-font-serif);
	font-size: 1.35rem;
	color: var(--hs-text);
	margin: 0.25rem 0 0.5rem;
}
.hs-freshness-notice {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #854d0e;
	background: #fefce8;
	border: 1px solid #fef08a;
	padding: 0.6rem 0.875rem;
	border-radius: 4px;
	margin: 0.5rem 0;
}
.hs-update-drawer {
	border-top: 1px solid var(--hs-border);
	padding-top: 0.875rem;
}
.hs-drawer-toggle {
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--hs-faith-accent);
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	padding: 0.5rem 0;
}
.hs-drawer-toggle::-webkit-details-marker {
	display: none;
}
.hs-drawer-form {
	margin-top: 1rem;
	padding: 1rem;
	background: var(--hs-surface-alt);
	border: 1px solid var(--hs-border);
	border-radius: 4px;
}
.hs-form-row {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}
@media (max-width: 600px) {
	.hs-form-row {
		flex-direction: column;
		gap: 0;
	}
}
.hs-form-col {
	flex: 1;
	margin-bottom: 0.5rem;
}

/* Nearby Sacred Shrines Card Grid (with Distance Pill) */
.hs-nearby-section {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--hs-border);
}
.hs-nearby-card .hs-card-thumb {
	position: relative;
}
.hs-distance-badge {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: rgba(26, 26, 26, 0.88);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
	letter-spacing: 0.02em;
}




/* ==========================================================================
   Day 3 Circuit Hub Archives & Mobile Viewport Polish (360px - 412px)
   ========================================================================== */

/* Circuit Hub Header */
.hs-circuit-hub-header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--hs-border);
}
.hs-circuit-kicker-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}
.hs-circuit-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hs-faith-accent);
}
.hs-circuit-stops-count {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--hs-text-muted);
	padding: 0.15rem 0.5rem;
	background: var(--hs-surface-alt);
	border: 1px solid var(--hs-border);
	border-radius: 4px;
}
.hs-circuit-title {
	font-family: var(--hs-font-serif);
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--hs-text);
	line-height: 1.25;
	margin: 0.5rem 0 1rem;
	letter-spacing: -0.015em;
}

/* Route Overview Summary Bar */
.hs-circuit-overview-bar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	background: var(--hs-surface-alt);
	border: 1px solid var(--hs-border);
	border-left: 3px solid var(--hs-faith-accent);
	border-radius: 4px;
	margin: 1.25rem 0;
}
.hs-overview-item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.hs-overview-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hs-text-muted);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
.hs-overview-label svg {
	width: 14px;
	height: 14px;
}
.hs-overview-val {
	font-size: 0.9375rem;
	color: var(--hs-text);
	font-weight: 700;
}

/* 2-Paragraph Editorial Intro */
.hs-circuit-editorial-intro {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--hs-text-muted);
	max-width: 820px;
	margin-top: 1rem;
}
.hs-circuit-editorial-intro p {
	margin: 0 0 1rem;
}
.hs-circuit-editorial-intro p:last-child {
	margin-bottom: 0;
}

/* Pilgrimage Itinerary & Ordered Stop Cards */
.hs-circuit-stops-section {
	margin-bottom: 2.5rem;
}
.hs-circuit-stops-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 1.25rem;
}
.hs-circuit-stop-card {
	display: grid;
	grid-template-columns: 48px 1fr 140px;
	gap: 1.25rem;
	align-items: center;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 6px;
	padding: 1.25rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hs-circuit-stop-card:hover {
	border-color: var(--hs-faith-accent);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.hs-stop-number-badge {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--hs-faith-tint);
	border: 1.5px solid var(--hs-faith-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.125rem;
	color: var(--hs-faith-accent);
	flex-shrink: 0;
}
.hs-stop-details {
	min-width: 0;
}
.hs-stop-meta-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
}
.hs-stop-badge {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hs-faith-accent);
}
.hs-faith-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.5rem;
	border-radius: 3px;
	background: var(--hs-faith-pill);
	color: var(--hs-faith-accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.hs-district-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
}
.hs-tier-micro-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.15rem 0.45rem;
	border-radius: 3px;
}
.hs-tier-official-badge {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}
.hs-tier-community-badge {
	background: #f8fafc;
	color: #475569;
	border: 1px solid #cbd5e1;
}
.hs-stop-title {
	font-family: var(--hs-font-serif);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--hs-text);
	margin: 0.2rem 0 0.4rem;
	line-height: 1.35;
}
.hs-stop-title a {
	color: var(--hs-text);
	text-decoration: none;
}
.hs-stop-title a:hover {
	color: var(--hs-faith-accent);
	text-decoration: underline;
}
.hs-stop-significance {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--hs-text-muted);
	margin: 0 0 0.6rem;
}
.hs-stop-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.hs-shrine-curation-notice {
	font-size: 0.75rem;
	color: var(--hs-text-muted);
	font-style: italic;
}
.hs-stop-thumb {
	width: 140px;
	height: 94px;
	border-radius: 4px;
	overflow: hidden;
	background: var(--hs-surface-alt);
	flex-shrink: 0;
}
.hs-stop-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* FAQ Accordion Section */
.hs-circuit-faq-section {
	margin: 3rem 0;
	padding-top: 2rem;
	border-top: 1px solid var(--hs-border);
}
.hs-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1.25rem;
}
.hs-faq-item {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 6px;
	overflow: hidden;
	transition: border-color 0.15s ease;
}
.hs-faq-item[open] {
	border-color: var(--hs-faith-accent);
}
.hs-faq-question {
	font-family: var(--hs-font-serif);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--hs-text);
	padding: 1rem 1.25rem;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: var(--hs-surface);
}
.hs-faq-question::-webkit-details-marker {
	display: none;
}
.hs-faq-toggle-icon {
	font-family: system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--hs-faith-accent);
	transition: transform 0.2s ease;
	line-height: 1;
}
.hs-faq-item[open] .hs-faq-toggle-icon {
	transform: rotate(45deg);
}
.hs-faq-answer {
	padding: 0 1.25rem 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--hs-text-muted);
	border-top: 1px solid var(--hs-border);
	background: var(--hs-surface-alt);
}
.hs-faq-answer p {
	margin: 1rem 0 0;
}

/* Mobile Viewport (360px - 412px) Strict Rules & CLS Guards */
@media (max-width: 680px) {
	.hs-circuit-stop-card {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 1rem;
	}
	.hs-stop-number-badge {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}
	.hs-stop-thumb {
		width: 100%;
		height: 180px;
		order: -1;
	}
	.hs-circuit-title {
		font-size: 1.75rem;
	}
	.hs-circuit-overview-bar {
		grid-template-columns: 1fr;
	}
	.hs-map-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.hs-btn-map-primary,
	.hs-btn-map-copy {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 412px) {
	.hs-single-layout,
	.hs-single-content,
	.hs-single-sidebar {
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box;
	}
	.hs-card-grid {
		grid-template-columns: 1fr;
	}
	.hs-stop-meta-top {
		font-size: 0.75rem;
	}
	.hs-stop-title {
		font-size: 1.15rem;
	}
}

/* Support Page Styles */
.hs-support-wrapper {
	max-width: 1040px;
	margin: 0 auto;
}

.hs-support-header {
	margin-bottom: 2rem;
}

.hs-support-layout {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2.5rem;
	align-items: start;
}

.hs-support-left .hs-support-lead {
	font-size: 1.0625rem;
	color: var(--hs-text-body);
	line-height: 1.7;
	margin-bottom: 2rem;
}

.hs-support-section-heading {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 1.25rem;
	color: var(--hs-text);
}

.hs-support-pillars-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hs-support-pillar-card {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 8px;
	padding: 1.15rem 1.25rem;
}

.hs-support-pillar-card .hs-pillar-icon {
	color: var(--hs-accent);
	flex-shrink: 0;
	margin-top: 0.15rem;
}

.hs-support-pillar-card .hs-pillar-icon svg {
	width: 22px;
	height: 22px;
}

.hs-support-pillar-card h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: var(--hs-text);
}

.hs-support-pillar-card p {
	font-size: 0.875rem;
	color: var(--hs-text-muted);
	margin: 0;
	line-height: 1.5;
}

.hs-support-partner-box {
	margin-top: 2rem;
	padding: 1.25rem 1.5rem;
	background: var(--hs-surface-alt);
	border: 1px solid var(--hs-border);
	border-radius: 8px;
}

.hs-support-partner-box h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0 0 0.4rem;
	color: var(--hs-text);
}

.hs-support-partner-box p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--hs-text-muted);
	line-height: 1.55;
}

/* Right Column: Donation Card */
.hs-support-card {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: 12px;
	padding: 2rem 1.75rem;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
	position: sticky;
	top: 1.5rem;
}

.hs-support-card-header {
	margin-bottom: 1.25rem;
}

.hs-support-card-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0.75rem 0 0.35rem;
	color: var(--hs-text);
}

.hs-support-card-subtitle {
	font-size: 0.875rem;
	color: var(--hs-text-muted);
	margin: 0;
}

.hs-support-qr-box {
	background: #ffffff;
	padding: 1.25rem;
	border-radius: 8px;
	border: 1px dashed var(--hs-border);
	display: inline-block;
	margin-bottom: 1.25rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hs-support-qr-img {
	width: 240px;
	height: auto;
	max-width: 100%;
	display: block;
	margin: 0 auto 0.75rem;
	border-radius: 4px;
}

.hs-support-qr-hint {
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
}

.hs-support-upi-details {
	background: var(--hs-surface-alt);
	padding: 1rem 1.25rem;
	border-radius: 8px;
	border: 1px solid var(--hs-border);
}

.hs-upi-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	font-size: 0.95rem;
	flex-wrap: wrap;
}

.hs-upi-code {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	padding: 0.25rem 0.65rem;
	border-radius: 4px;
	font-weight: 700;
	color: var(--hs-accent);
	font-family: monospace;
	font-size: 0.95rem;
}

.hs-copy-btn {
	font-size: 0.75rem;
	padding: 0.25rem 0.6rem;
	cursor: pointer;
}

.hs-upi-subtext {
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	color: var(--hs-text-muted);
}

@media (max-width: 820px) {
	.hs-support-layout {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}
	.hs-support-card {
		position: static;
		max-width: 480px;
		margin: 0 auto;
		padding: 1.5rem 1.25rem;
	}
	.hs-support-qr-img {
		width: 200px;
	}
}

/* Directory Hub Layout (/search-by/) */
.hs-directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
}

.hs-directory-card {
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-top: 4px solid var(--hs-accent);
	border-radius: 8px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	box-shadow: var(--hs-shadow-sm);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.hs-directory-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hs-shadow-hover);
	border-color: var(--hs-border-gold);
}

.hs-directory-title {
	font-family: var(--hs-font-serif);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 0.4rem;
	line-height: 1.3;
}

.hs-directory-title a {
	color: var(--hs-text);
	text-decoration: none;
}

.hs-directory-title a:hover {
	color: var(--hs-accent);
	text-decoration: underline;
}

.hs-directory-count {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--hs-accent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.75rem;
}

.hs-directory-desc {
	margin: 0;
	font-size: 0.95rem;
	color: var(--hs-text-body);
	line-height: 1.6;
}

/* Hub Dedicated Prominent Search Form (/search-by/) */
.hs-hub-search-wrap {
	width: 100%;
	max-width: 760px;
	margin: 1.25rem 0 2.25rem;
}

.hs-hub-search-form {
	display: flex;
	align-items: stretch;
	gap: 0.65rem;
	width: 100%;
}

.hs-hub-search-input-wrap {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
}

.hs-hub-search-icon {
	position: absolute;
	left: 1.15rem;
	display: flex;
	align-items: center;
	color: var(--hs-text-muted);
	pointer-events: none;
}

.hs-hub-search-icon svg {
	width: 20px;
	height: 20px;
}

.hs-hub-search-input {
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	padding: 0.5rem 1rem 0.5rem 2.85rem !important;
	font-family: inherit;
	font-size: 1.05rem !important;
	color: var(--hs-text) !important;
	background-color: #ffffff !important;
	border: 1.5px solid var(--hs-border-gold) !important;
	border-radius: 8px !important;
	box-shadow: 0 1px 3px rgba(30, 41, 59, 0.05);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.hs-hub-search-input:focus {
	border-color: var(--hs-accent) !important;
	box-shadow: 0 0 0 3px rgba(184, 58, 27, 0.15) !important;
}

.hs-hub-search-btn {
	height: 48px;
	min-height: 48px;
	padding: 0 1.65rem;
	background-color: var(--hs-accent);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(184, 58, 27, 0.25);
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.hs-hub-search-btn:hover {
	background-color: var(--hs-accent-hover);
	transform: translateY(-1px);
}

.hs-hub-search-btn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
}

@media (max-width: 600px) {
	.hs-hub-search-form {
		flex-direction: column;
		gap: 0.65rem;
	}
	.hs-hub-search-btn {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   Editorial Term Introduction (Archive & Circuit Hubs)
   ========================================================================== */
.hs-term-editorial-intro {
	margin: 0.75rem 0 2rem;
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--hs-text-body);
	max-width: 920px;
}

.hs-term-editorial-intro::after {
	content: "";
	display: table;
	clear: both;
}

.hs-term-editorial-intro .hs-term-description {
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--hs-text-body);
}

.hs-term-editorial-intro .hs-term-description p {
	margin-bottom: 1rem;
}

.hs-term-editorial-intro .hs-term-description p:last-child {
	margin-bottom: 0;
}

.hs-term-visual img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
	object-fit: cover;
}

/* Floated Left Visual for Desktop (> 768px) */
@media (min-width: 769px) {
	.hs-term-visual--float {
		float: left;
		width: 260px;
		max-width: 36%;
		margin: 4px 24px 14px 0;
		border-radius: 10px;
		border: 1px solid var(--hs-border-gold);
		background: #ffffff;
		padding: 6px;
		box-shadow: 0 4px 16px rgba(30, 25, 21, 0.06);
	}

	.hs-term-visual--wide {
		float: none;
		width: 100%;
		max-height: 280px;
		margin: 0 0 18px;
		border-radius: 10px;
		border: 1px solid var(--hs-border-gold);
		background: #ffffff;
		padding: 6px;
		overflow: hidden;
		box-shadow: 0 4px 16px rgba(30, 25, 21, 0.06);
	}

	.hs-term-visual--wide img {
		max-height: 268px;
		width: 100%;
		object-fit: cover;
	}
}

/* Mobile Stack (<= 768px) */
@media (max-width: 768px) {
	.hs-term-visual,
	.hs-term-visual--float,
	.hs-term-visual--wide {
		float: none;
		width: 100%;
		max-width: 320px;
		margin: 0 auto 16px;
		display: block;
		border-radius: 10px;
		border: 1px solid var(--hs-border-gold);
		background: #ffffff;
		padding: 6px;
		box-shadow: 0 2px 10px rgba(30, 25, 21, 0.04);
	}
}




