/**
 * WOWBlog Base Reset & Marathi-First Typography
 */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--wb-bg);
	color: var(--wb-text);
	font-family: var(--wb-font-body);
	font-size: 1rem;
	line-height: 1.75;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

img, picture, video, svg {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--wb-ease), background-color var(--wb-ease), border-color var(--wb-ease);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--wb-accent);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--wb-font-heading);
	color: var(--wb-text);
	font-weight: 700;
	line-height: 1.38;
	margin: 0 0 0.65em;
	/* Never apply negative letter-spacing on Devanagari script so shirorekha stays intact */
	letter-spacing: 0;
}

p {
	margin: 0 0 1.25em;
}

button, input, select, textarea {
	font: inherit;
	color: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wb-skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	clip: auto;
	z-index: 10000;
	background: var(--wb-text);
	color: var(--wb-surface);
	padding: 10px 18px;
	border-radius: var(--wb-radius-pill);
	font-weight: 600;
}

.wb-container {
	width: 100%;
	max-width: var(--wb-container);
	margin: 0 auto;
	padding: 0 24px;
}

.wb-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* WordPress Alignment Helpers */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 24px auto; text-align: center; }

@media (max-width: 640px) {
	.wb-container {
		padding: 0 16px;
	}
	.alignleft, .alignright {
		float: none;
		margin: 16px auto;
	}
}
