/* Yugasakshi design tokens and global presentation */
:root {
	--ygs-accent: #7a2f2f;
	--ygs-ink: #1e2528;
	--ygs-muted: #5d686d;
	--ygs-border: #dfe4e6;
	--ygs-surface: #ffffff;
	--ygs-surface-muted: #f5f2ec;
	--ygs-max: 1180px;
	--ygs-reading: 760px;
	--ygs-radius: 14px;
	--ygs-shadow: 0 12px 34px rgba(28, 35, 38, 0.08);
	--ygs-font-sans: "Noto Sans Kannada", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ygs-font-serif: "Noto Serif Kannada", "Noto Serif", Georgia, serif;
}

html {
	scroll-behavior: smooth;
}

body.ygs-child-theme {
	color: var(--ygs-ink);
	font-family: var(--ygs-font-sans);
	font-size: 17px;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
}

body.ygs-child-theme a {
	text-underline-offset: 0.18em;
}

body.ygs-child-theme a:focus-visible,
body.ygs-child-theme button:focus-visible,
body.ygs-child-theme input:focus-visible,
body.ygs-child-theme textarea:focus-visible,
body.ygs-child-theme select:focus-visible {
	outline: 3px solid var(--ygs-accent);
	outline-offset: 3px;
}

.ygs-shell {
	box-sizing: border-box;
	width: min(100% - 2rem, var(--ygs-max));
	margin-inline: auto;
}

.ygs-section {
	padding-block: clamp(3rem, 6vw, 6rem);
}

.ygs-section--muted {
	background: var(--ygs-surface-muted);
}

.ygs-eyebrow {
	margin: 0 0 0.65rem;
	color: var(--ygs-accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ygs-section-heading {
	max-width: 760px;
	margin-bottom: 2rem;
}

.ygs-section-heading h2,
.ygs-page-header h1,
.ygs-single__title {
	font-family: var(--ygs-font-serif);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.28;
}

.ygs-section-heading h2,
.ygs-page-header h1 {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 3rem);
}

.ygs-section-heading--split {
	display: flex;
	max-width: none;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
}

.ygs-archive-shell,
.ygs-single-shell {
	padding-block: clamp(2rem, 5vw, 5rem);
}

.ygs-page-header {
	margin-bottom: 2.5rem;
}

.ygs-archive-description {
	max-width: var(--ygs-reading);
	color: var(--ygs-muted);
}

@media (max-width: 680px) {
	body.ygs-child-theme {
		font-size: 16px;
	}

	.ygs-section-heading--split {
		align-items: start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
