/* =============================================
   Temple Legends — Dharma Sevaks
   Public Stylesheet v1.0.0
   Palette: Crimson #7b2d00 · Gold #c8922a · Cream #fdf6ec · Maroon #4a1a00
   ============================================= */

/* ── Reset / base ── */
.ttl-wrap *,
.ttl-single-page *,
.ttl-archive-page * {
	box-sizing: border-box;
}

/* =============================================
   ARCHIVE HERO
   ============================================= */
.ttl-archive-hero {
	background: linear-gradient(135deg, #4a1a00 0%, #7b2d00 60%, #9e3d00 100%);
	padding: 64px 24px 56px;
	text-align: center;
	border-bottom: 4px solid #c8922a;
}
.ttl-archive-hero-inner {
	max-width: 680px;
	margin: 0 auto;
}
.ttl-om-mark {
	font-size: 48px;
	color: #c8922a;
	line-height: 1;
	margin-bottom: 12px;
	font-family: serif;
}
.ttl-archive-title {
	font-size: clamp(28px, 5vw, 52px);
	font-family: 'Georgia', 'Times New Roman', serif;
	font-weight: 700;
	color: #fdf6ec;
	margin: 0 0 12px;
	letter-spacing: 0.03em;
}
.ttl-archive-tagline {
	font-size: 16px;
	color: #e0c08a;
	margin: 0;
	font-style: italic;
	letter-spacing: 0.04em;
}
.ttl-archive-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 60px;
}

/* =============================================
   FILTER BAR
   ============================================= */
.ttl-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 36px;
}
.ttl-filter-btn {
	background: #fff;
	border: 1.5px solid #d4b896;
	color: #4a1a00;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 100px;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
	letter-spacing: 0.02em;
	font-family: inherit;
}
.ttl-filter-btn:hover {
	background: #fdf0e0;
	border-color: #c8922a;
	color: #7b2d00;
}
.ttl-filter-btn.ttl-active {
	background: #7b2d00;
	border-color: #7b2d00;
	color: #fdf6ec;
}
.ttl-filter-btn.ttl-active:hover {
	background: #9e3d00;
	border-color: #9e3d00;
}

/* =============================================
   GRID
   ============================================= */
.ttl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

/* =============================================
   CARD
   ============================================= */
.ttl-card {
	background: #fff;
	border: 1px solid #e8d5b7;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, transform 0.2s;
}
.ttl-card:hover {
	box-shadow: 0 6px 24px rgba(74, 26, 0, 0.12);
	transform: translateY(-2px);
}

/* Photo */
.ttl-card-photo {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: #f5ede0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ttl-card-photo .ttl-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ttl-photo-placeholder {
	font-size: 56px;
	opacity: 0.3;
}

/* Card body */
.ttl-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

/* Badge */
.ttl-badge {
	display: inline-block;
	background: #fdf0e0;
	border: 1px solid #e8c87a;
	color: #7b2d00;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 3px 10px;
	border-radius: 100px;
	width: fit-content;
}

/* Name */
.ttl-card-name {
	font-size: 17px;
	font-family: 'Georgia', serif;
	font-weight: 700;
	color: #2d1200;
	margin: 0;
	line-height: 1.3;
}

/* Role */
.ttl-card-role {
	font-size: 13px;
	color: #7b2d00;
	margin: 0;
	font-weight: 600;
}

/* Meta DL */
.ttl-card-meta,
.ttl-single-meta {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ttl-meta-row {
	display: flex;
	gap: 6px;
	align-items: baseline;
	font-size: 13px;
}
.ttl-meta-row dt {
	color: #a07040;
	font-weight: 600;
	white-space: nowrap;
	min-width: 52px;
}
.ttl-meta-row dd {
	margin: 0;
	color: #3c2010;
}

/* View link */
.ttl-view-link {
	display: inline-block;
	margin-top: auto;
	padding-top: 12px;
	color: #c8922a;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.02em;
	border-top: 1px solid #f0e0cc;
	width: 100%;
}
.ttl-view-link:hover {
	color: #7b2d00;
}

/* No results */
.ttl-no-results {
	color: #999;
	font-style: italic;
	padding: 40px 0;
	grid-column: 1 / -1;
}

/* Loading indicator */
.ttl-loading {
	text-align: center;
	padding: 24px;
	color: #c8922a;
	font-style: italic;
}

/* =============================================
   SINGLE PROFILE PAGE
   ============================================= */
.ttl-single-page {
	min-height: 60vh;
}

/* Hero strip */
.ttl-single-hero {
	background: linear-gradient(135deg, #4a1a00 0%, #7b2d00 100%);
	border-bottom: 4px solid #c8922a;
	padding: 48px 24px;
}
.ttl-single-hero-inner {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

/* Profile photo */
.ttl-single-photo-wrap {
	flex-shrink: 0;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid #c8922a;
	background: #5c2000;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ttl-single-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ttl-single-photo-placeholder {
	font-size: 72px;
	opacity: 0.4;
}

/* Hero text */
.ttl-single-hero-content {
	flex: 1;
	min-width: 0;
	padding-top: 4px;
}
.ttl-single-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.ttl-single-name {
	font-size: clamp(22px, 3.5vw, 36px);
	font-family: 'Georgia', serif;
	font-weight: 700;
	color: #fdf6ec;
	margin: 0 0 6px;
	line-height: 1.2;
}
.ttl-single-role {
	font-size: 15px;
	color: #e0c08a;
	font-weight: 600;
	margin: 0 0 16px;
}
.ttl-single-meta {
	margin: 0;
}
.ttl-single-meta .ttl-meta-row dt {
	color: #c8922a;
	min-width: 120px;
}
.ttl-single-meta .ttl-meta-row dd {
	color: #fdf0e0;
}

/* Bio section */
.ttl-single-bio-wrap {
	max-width: 900px;
	margin: 0 auto;
	padding: 48px 24px;
}
.ttl-bio-heading {
	font-size: 18px;
	font-family: 'Georgia', serif;
	color: #7b2d00;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0dcc0;
}
.ttl-bio-content {
	font-size: 16px;
	line-height: 1.8;
	color: #2d1800;
}
.ttl-bio-content p {
	margin: 0 0 1.2em;
}

/* Back link */
.ttl-single-back-wrap {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px 48px;
	border-top: 1px solid #f0dcc0;
	padding-top: 24px;
}
.ttl-back-link {
	color: #c8922a;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	letter-spacing: 0.02em;
}
.ttl-back-link:hover {
	color: #7b2d00;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
	.ttl-single-hero-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 24px;
	}
	.ttl-single-photo-wrap {
		width: 140px;
		height: 140px;
	}
	.ttl-single-badges {
		justify-content: center;
	}
	.ttl-single-meta .ttl-meta-row {
		justify-content: center;
	}
	.ttl-filter-bar {
		gap: 6px;
	}
	.ttl-filter-btn {
		font-size: 12px;
		padding: 6px 12px;
	}
}
