/**
 * Mee Marathi — logo palette only: brand red #b30000 + white + black.
 * Lightweight: borders over shadows, minimal variables, 18px reading size.
 */
:root {
	color-scheme: only light;
	--R: #b30000;
	--R-dark: #8a0000;
	--R-soft: rgba(179, 0, 0, 0.07);
	--K: #151515;
	--K-muted: rgba(21, 21, 21, 0.55);
	--K-border: rgba(0, 0, 0, 0.1);
	--W: #ffffff;
	--surface: #fbfbfb;
	--elev: rgba(255, 255, 255, 0.98);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
	--radius: 10px;
	--lh: 1.82;
	--lh-t: 1.28;
	--max-read: 43rem;
	--gutter: clamp(1rem, 4vw, 1.75rem);
	--tap: 2.75rem;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
	font-family: "Noto Sans Devanagari", "Mukta", system-ui, sans-serif;
	font-size: max(18px, 1.125rem);
	line-height: var(--lh);
	color: var(--K);
	background: var(--surface);
}

h1,
h2,
h3,
h4,
.entry-title {
	font-family: "Mukta", "Noto Sans Devanagari", sans-serif;
	font-weight: 600;
	color: var(--K);
	line-height: var(--lh-t);
}

h1,
.entry-title,
.page-header h1 {
	font-size: clamp(1.5rem, 4vw, 2.05rem);
}

h2 {
	font-size: clamp(1.3rem, 3vw, 1.7rem);
	margin: 1.6em 0 0.6em;
}

h3 {
	font-size: clamp(1.15rem, 2.4vw, 1.35rem);
	margin: 1.4em 0 0.45em;
}

h4 {
	font-size: clamp(1.05rem, 2vw, 1.15rem);
}

.site.grid-container,
.one-container .site-content,
.separate-containers .site-main {
	padding-left: max(var(--gutter), env(safe-area-inset-left));
	padding-right: max(var(--gutter), env(safe-area-inset-right));
	padding-bottom: clamp(1.25rem, 3vw, 2rem);
	box-sizing: border-box;
}

.single .site-main .inside-article,
.page .site-main .inside-article {
	max-width: min(100%, var(--max-read));
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

/* लेख तपशील व सामान्य पृष्ठ: मुख्य कॉलम पूर्ण रुंदीने (sidebar जागा टिकते) */
.single .site-main article.meem-mag-detail-article .inside-article,
.page .site-main article.meem-detail-page .inside-article {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

.entry-content p,
.entry-content li,
.block-library-classic__editor {
	font-size: max(18px, 1.125rem);
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.3em;
}

.entry-content li {
	margin-bottom: 0.45em;
}

.entry-meta,
.post-navigation,
.comments-area,
.wp-block-post-date,
.wp-block-post-author {
	font-size: 1rem;
	color: var(--K-muted);
	line-height: 1.55;
}

/* Header: white + thin red line (logo frame) */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--W);
	border-bottom: 1px solid var(--K-border);
	box-shadow: 0 1px 0 0 rgba(179, 0, 0, 0.15);
}

.site-header .inside-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: max(0.55rem, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) max(0.55rem, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
	box-sizing: border-box;
}

.site-header .inside-header .site-branding-container,
.site-header .inside-header .site-branding-text {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.wp-custom-logo .custom-logo-link,
.site-logo .custom-logo-link {
	display: inline-block;
	line-height: 0;
	margin-left: auto;
	margin-right: auto;
}

.custom-logo,
.site-logo img {
	max-height: 50px;
	width: auto;
	height: auto;
}

@media (max-width: 768px) {
	.custom-logo,
	.site-logo img {
		max-height: 42px;
	}
}

.main-navigation {
	width: 100%;
}

/* Laptop / desktop: span header row; inner .inside-navigation stays flex (GeneratePress) */
@media (min-width: 769px) {
	.site-header .inside-header .main-navigation {
		width: 100%;
		max-width: 100%;
		flex: 0 0 auto;
	}
}

.main-navigation .main-nav ul li a {
	color: var(--K);
	font-weight: 600;
	font-size: max(18px, 1.125rem);
	padding: 0.48em 0.58em;
	min-height: var(--tap);
	display: inline-flex;
	align-items: center;
}

@media (max-width: 768px) {
	.main-navigation.toggled .main-nav ul li a {
		width: 100%;
		padding: 0.7rem 0.9rem;
		min-height: var(--tap);
	}
}

.main-navigation .menu-toggle {
	min-height: var(--tap);
	min-width: var(--tap);
	padding: 0 0.65rem;
	font-size: max(17px, 1.0625rem);
	color: var(--K);
	border-color: var(--K-border);
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
	color: var(--R);
}

a {
	color: var(--R);
	text-underline-offset: 2px;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a:hover,
a:focus {
	color: var(--R-dark);
}

.entry-title a {
	color: var(--K);
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--R);
}

/* CTA — red on white text pattern */
a.button,
.wp-block-button__link,
button[type="submit"]:not(.components-button) {
	background: var(--R);
	color: var(--W) !important;
	border: 1px solid var(--R);
	border-radius: 6px;
	font-size: max(16px, 1rem);
	font-weight: 600;
	padding: 0.55em 1em;
	min-height: var(--tap);
	line-height: 1.25;
	box-shadow: none;
}

a.button:hover,
.wp-block-button__link:hover,
button[type="submit"]:not(.components-button):hover {
	background: var(--R-dark);
	border-color: var(--R-dark);
	color: var(--W) !important;
}

/* Cards: subtle lift, no heavy shadows (fast + clean) */
.inside-article {
	background: var(--elev);
	border: 1px solid var(--K-border);
	border-radius: var(--radius);
	padding: clamp(1rem, 3vw, 1.65rem);
	box-shadow: var(--shadow-sm);
}

body.home article.type-post:hover .inside-article,
body.archive:not(.woocommerce) article.type-post:hover .inside-article,
body.search:not(.woocommerce) article.type-post:hover .inside-article {
	border-color: rgba(179, 0, 0, 0.22);
}

.entry-content img,
.entry-content video,
.entry-content iframe {
	max-width: 100%;
	height: auto;
}

.entry-content .wp-block-image,
.entry-content .wp-block-embed {
	margin-left: 0;
	margin-right: 0;
}

.wp-block-table,
.entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	font-size: max(16px, 0.98rem);
	border-color: var(--K-border);
}

/* Footer base — dark stripe overrides at end of file */
footer.site-info.site-info {
	padding: 0;
}

a:focus-visible {
	outline: 2px solid var(--R);
	outline-offset: 2px;
}

.widget {
	font-size: max(16px, 1rem);
	line-height: 1.6;
	color: var(--K);
}

.widget a {
	color: var(--R);
}

/* Submenus — white panel, black text, red hover */
.main-navigation .main-nav ul ul {
	background: var(--W);
	border: 1px solid var(--K-border);
	border-radius: 6px;
	padding: 0.25rem 0;
	min-width: 14rem;
	box-shadow: none;
}

.main-navigation .main-nav ul ul li a {
	color: var(--K);
	font-weight: 600;
	font-size: max(17px, 1.0625rem);
}

.main-navigation .main-nav ul ul li a:hover {
	background: var(--R-soft);
	color: var(--R);
}

/* ul alignment consolidated in “मराठी विचार” nav block below — keep wrap for long menus */
@media (min-width: 769px) {
	.main-navigation .main-nav > ul {
		flex-wrap: wrap;
	}
}

.main-navigation .dropdown-menu-toggle {
	min-width: 2.5rem;
	min-height: 2.5rem;
	color: var(--K);
}

.page-header,
.archive .page-header,
.taxonomy-description {
	font-size: max(16px, 1rem);
	line-height: 1.7;
	color: var(--K);
}

.taxonomy-description {
	margin-top: 0.65rem;
	max-width: var(--max-read);
}

.archive .page-title,
.search .page-title {
	color: var(--K);
	font-size: clamp(1.35rem, 3.2vw, 1.75rem);
}

.entry-content > p:first-of-type {
	font-size: max(18px, 1.125rem);
}

.entry-content > p + p {
	margin-top: 1em;
}

.entry-content blockquote,
.wp-block-quote {
	border-left: 4px solid var(--R);
	padding: 0.65rem 0 0.65rem 1.1rem;
	margin: 1.2em 0;
	background: var(--R-soft);
	font-size: max(16px, 1rem);
	color: var(--K);
}

.entry-content pre,
.entry-content code {
	font-size: max(14px, 0.9rem);
	line-height: 1.6;
	color: var(--K);
	background: rgba(0, 0, 0, 0.04);
	border: 1px solid var(--K-border);
}

/* Pagination & post nav — black/red only */
.paging-navigation .page-numbers,
.post-navigation a {
	color: var(--R);
}

.paging-navigation .page-numbers.current,
.post-navigation .post-title {
	color: var(--K);
}

/*
 * ─── Blog homepage / archive layout (magazine-inspired, similar readability to Blogger Vinita) ───
 */

/* Skip link visible on keyboard focus */
.skip-link.screen-reader-text {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	word-wrap: normal;
}

.skip-link.screen-reader-text:focus {
	position: fixed;
	left: 0.5rem;
	top: 0.5rem;
	z-index: 100000;
	clip-path: unset;
	overflow: visible;
	width: auto;
	height: auto;
	padding: 0.65rem 1rem;
	margin: 0;
	background: var(--K);
	color: var(--W) !important;
	font-size: max(14px, 0.9375rem);
	font-weight: 600;
	line-height: 1.35;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	outline-offset: 2px;
}

/* Dates & meta slightly cleaner Latin UI */
.footer-meta,
.entry-meta time,
.footer-meta time {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: max(15px, 0.9375rem);
	font-weight: 500;
	color: var(--K-muted);
}

/* Category pill above title */
.meem-entry-kicker {
	margin: 0 0 0.35rem;
	line-height: 1.35;
}

a.meem-cat-chip {
	display: inline-block;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: max(13px, 0.8125rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--R);
	border: 1px solid var(--K-border);
	background: var(--W);
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
}

a.meem-cat-chip:hover,
a.meem-cat-chip:focus {
	background: var(--R-soft);
	border-color: rgba(179, 0, 0, 0.45);
	color: var(--R-dark);
}

.meem-cat-muted {
	color: var(--K-muted);
	font-weight: 600;
}

.meem-cat-count {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.8125rem;
	color: var(--K-muted);
}

/* Archive post cards: image left, text right (when thumbnail exists) */
article.type-post .inside-article:has(.post-image) {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem 1.25rem;
	align-items: start;
}

@media (min-width: 769px) {
	article.type-post .inside-article:has(.post-image) {
		grid-template-columns: minmax(200px, 34%) 1fr;
		grid-template-areas:
			"image header"
			"image summary";
	}

	article.type-post .inside-article:has(.post-image) .post-image {
		grid-area: image;
		margin: 0;
	}

	article.type-post .inside-article:has(.post-image) .entry-header {
		grid-area: header;
		margin-bottom: 0;
	}

	article.type-post .inside-article:has(.post-image) .entry-summary {
		grid-area: summary;
		margin-top: 0;
	}
}

.post-image {
	margin-top: 0.25rem;
	margin-bottom: 0.5rem;
}

.post-image a {
	display: block;
	line-height: 0;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--K-border);
	background: rgba(0, 0, 0, 0.02);
}

.post-image img {
	width: 100%;
	height: auto;
	max-height: 240px;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.post-image img {
		max-height: 200px;
	}
}

/* Excerpt + read more (Blogger-style emphasis) */
.entry-summary {
	font-size: max(17px, 1.065rem);
	line-height: 1.82;
	margin-top: 0.55rem;
}

.entry-summary .read-more,
a.read-more {
	font-family: "DM Sans", system-ui, sans-serif;
	font-weight: 700;
	font-size: max(15px, 0.9375rem);
	text-decoration: none;
	margin-left: 0.15em;
}

.entry-summary .read-more:hover,
a.read-more:hover {
	text-decoration: underline;
}

/* Brighter blog index content width */
body.blog article.type-post .inside-article,
body.archive:not(.woocommerce) article.type-post .inside-article,
body.search:not(.woocommerce) article.type-post .inside-article {
	padding: clamp(1rem, 2.8vw, 1.85rem);
}

body.blog article.type-post .entry-title,
body.archive:not(.woocommerce) article.type-post .entry-title,
body.search:not(.woocommerce) article.type-post .entry-title,
body.blog article.type-post .entry-title a,
body.archive:not(.woocommerce) article.type-post .entry-title a,
body.search:not(.woocommerce) article.type-post .entry-title a {
	font-size: clamp(1.4rem, 3.8vw, 1.82rem);
	font-weight: 700;
	line-height: 1.28;
	margin-top: 0.15rem;
}

/* Sidebar widgets (recent posts strip, search) — closer to Blogger Vinita sidebar */
.inside-right-sidebar .widget-title,
.inside-left-sidebar .widget-title {
	font-size: clamp(1.05rem, 2.2vw, 1.2rem);
	font-weight: 700;
	margin-bottom: 0.85rem;
	padding-bottom: 0.45rem;
	border-bottom: 2px solid var(--R-soft);
	color: var(--K);
	text-transform: none;
	letter-spacing: 0;
}

.widget_recent_entries ul,
.widget_recent_entries ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget_recent_entries ul li {
	border-bottom: 1px solid var(--K-border);
	padding: 0.55rem 0;
	line-height: 1.48;
	font-size: max(15px, 0.935rem);
	margin: 0;
}

.widget_recent_entries ul li:first-child {
	padding-top: 0;
}

.widget_recent_entries ul li:last-child {
	border-bottom: none;
}

.widget_recent_entries a {
	display: inline;
	text-decoration: none;
	color: var(--K);
	font-weight: 600;
}

.widget_recent_entries a:hover {
	color: var(--R);
	text-decoration: underline;
}

.widget_search .search-field,
.widget_search input[type="search"] {
	border-radius: 8px;
	border: 1px solid var(--K-border);
	padding: 0.55rem 0.75rem;
	font-size: max(16px, 1rem);
	width: 100%;
	box-sizing: border-box;
}

.widget_search .search-submit,
.widget_search input[type="submit"] {
	margin-top: 0.5rem;
	border-radius: 8px;
}

/* Site title when no logo */
.main-title a {
	font-weight: 700;
	font-size: clamp(1.25rem, 3.2vw, 1.55rem);
	letter-spacing: -0.02em;
}

/* Pagination — simple numbered row */
.paging-navigation {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--K-border);
}

.paging-navigation .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0 0.5rem;
	margin: 0 0.15rem 0.35rem 0;
	border: 1px solid var(--K-border);
	border-radius: 6px;
	font-family: "DM Sans", system-ui, sans-serif;
	font-weight: 600;
	font-size: 0.9375rem;
	background: var(--W);
}

.paging-navigation .page-numbers.current {
	background: var(--R);
	color: var(--W) !important;
	border-color: var(--R);
}

.paging-navigation .page-numbers:hover {
	border-color: var(--R);
}

/* Spacing between stacked posts on blog */
body.blog .site-main > article.type-post,
body.archive:not(.woocommerce) .site-main > article.type-post,
body.search:not(.woocommerce) .site-main > article.type-post {
	margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

body.category.archive:not(.woocommerce) .site-main > article.type-post {
	margin-bottom: 0;
}

/*
 * —— “मराठी विचार” magazine layout (reference mockup) ——
 */

/* लोगो असताना केवळ लोगो दाखवा — साइट टायटल/टॅगलाइन टेक्स्ट लपवा (wp-custom-logo हा body वर असतो) */
body.wp-custom-logo .site-title,
body.wp-custom-logo .site-description,
body.wp-custom-logo .site-branding-container .site-title,
body.wp-custom-logo .site-branding-container .site-description {
	display: none !important;
}

body.wp-custom-logo .custom-logo-link,
body.wp-custom-logo .site-logo .custom-logo-link {
	display: inline-block !important;
}

/* टायटलचे टायपॉग्रफी — फक्त लोगो नसल्यास */
body:not(.wp-custom-logo) .main-title .site-title,
body:not(.wp-custom-logo) .main-title .site-title a {
	font-family: "Noto Serif Devanagari", "Noto Sans Devanagari", serif;
	font-weight: 700;
	font-size: clamp(1.55rem, 4.2vw, 2rem);
	color: var(--K);
	text-decoration: none;
	letter-spacing: 0.02em;
}

.site-header .inside-header {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.15rem;
}

.inside-header .site-branding-container,
.inside-header .site-branding-text {
	justify-content: center;
	text-align: center;
	flex: none;
	width: 100%;
}

/* Do not use inline-block on .main-nav — it breaks .inside-navigation flex (GP). */
@media (min-width: 769px) {
	.inside-header .main-navigation .inside-navigation {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		column-gap: 0.25rem;
		row-gap: 0.35rem;
		width: 100%;
	}

	.inside-header .main-navigation .main-nav {
		display: flex;
		justify-content: center;
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
		max-width: 100%;
	}

	.main-navigation .main-nav > ul {
		justify-content: center;
		flex-wrap: wrap;
		row-gap: 0.35rem;
		column-gap: 0.08rem;
	}
}

/* Laptop: keep readable size while leaving room for many items */
@media (min-width: 769px) and (max-width: 1280px) {
	.site-header .inside-header .main-navigation .main-nav ul li a {
		padding-left: 0.4em;
		padding-right: 0.4em;
		font-size: max(17px, 1.0625rem);
	}
}

@media (max-width: 768px) {
	.main-navigation .main-nav > ul > li > a {
		justify-content: center;
	}
}

/* Navigation default red accent (mockup): */
.main-navigation .main-nav ul li a {
	color: var(--R);
	font-weight: 600;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
	color: var(--R-dark);
}

/* Full-width banner placeholders — replace with AdSense container */
.meem-ad-banner {
	width: min(1070px, 100%);
	margin-left: auto;
	margin-right: auto;
	background: #f1f1f1;
	border: 1px dashed rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	box-sizing: border-box;
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.meem-ad-top {
	max-width: 100%;
	margin-top: 0;
	margin-bottom: 1rem;
}

/* Leaderboard sits above header — gutter + gap before logo / sticky masthead */
.meem-ad-before-masthead {
	width: min(1070px, 100%);
	margin-top: max(0.35rem, env(safe-area-inset-top));
	margin-bottom: clamp(0.7rem, 2.2vw, 1.15rem);
	padding-left: max(var(--gutter), env(safe-area-inset-left));
	padding-right: max(var(--gutter), env(safe-area-inset-right));
	box-sizing: border-box;
}

/* Extra air between leaderboard strip and logo row when top slot is present */
body:has(.meem-ad-before-masthead) .site-header .inside-header {
	padding-top: max(0.65rem, env(safe-area-inset-top));
}

.meem-ad-inner {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(0, 0, 0, 0.42);
}

/* Space between header stripe and banner */
.site-header + * {
	margin-top: 0;
}

/* Full-width shell (no boxed side gutters from max-width caps) */
body:not(.full-width-content) #page {
	max-width: none;
	width: 100%;
}

body .site.grid-container.container,
.site-header .inside-header.grid-container,
.inside-top-bar.grid-container,
.inside-site-info.grid-container {
	max-width: none !important;
	width: 100%;
	box-sizing: border-box;
}

body .grid-container {
	max-width: none !important;
}

/* “ताज्या पोस्ट” heading */
.meem-tazya-wrap {
	margin-bottom: clamp(1rem, 3vw, 1.35rem);
	border-bottom: 2px solid rgba(179, 0, 0, 0.14);
	padding-bottom: 0.55rem;
}

.meem-tazya-posts,
.meem-tazya-wrap .page-title {
	font-size: clamp(1.2rem, 3vw, 1.55rem);
	color: var(--R);
	font-family: "Noto Serif Devanagari", serif;
	margin: 0;
}

/* List posts: bullet before headline */
body.home:not(.elementor-page) article .entry-title a::before,
body.archive:not(.woocommerce) article .entry-title a::before {
	content: "";
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--R);
	border-radius: 999px;
	margin-inline-end: 0.55rem;
	vertical-align: 0.2em;
}

/* Read more aligns like mock (“पुढे वाचा” right-ish) */
body.home .entry-summary p,
body.archive .entry-summary p,
body.search .entry-summary p {
	position: relative;
	padding-bottom: 0.15rem;
}

body.home .entry-summary .read-more,
body.archive .entry-summary .read-more,
body.search .entry-summary .read-more {
	float: inline-end;
	clear: inline-end;
	margin-inline-start: 0.85rem;
	text-align: right;
}

body.home .entry-summary::after,
body.archive .entry-summary::after,
body.search .entry-summary::after {
	content: "";
	display: table;
	clear: both;
}

/* Sidebar supplemental blocks */
.meem-sidebar-stack {
	margin-bottom: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.meem-ad-sidebar-tall {
	min-height: 160px;
}

.meem-widget {
	background: var(--elev);
	border: 1px solid var(--K-border);
	border-radius: var(--radius);
	padding: clamp(0.85rem, 2.5vw, 1.1rem);
	box-shadow: var(--shadow-sm);
}

.meem-widget-title {
	margin: 0 0 0.55rem;
	font-weight: 700;
	font-family: "Noto Serif Devanagari", serif;
	font-size: 1.06rem;
	color: var(--K);
	padding-bottom: 0.35rem;
	border-bottom: 2px solid var(--R-soft);
}

.meem-widget-text,
.meem-widget-text a {
	font-size: max(15px, 0.935rem);
}

.meem-muted {
	color: var(--K-muted);
	margin: 0;
	font-size: max(14px, 0.92rem);
}

.meem-cat-shortlist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.meem-cat-shortlist li {
	margin: 0.35rem 0;
	line-height: 1.45;
	border-bottom: 1px solid var(--K-border);
	padding-bottom: 0.35rem;
}

.meem-cat-shortlist li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.meem-cat-shortlist a {
	font-weight: 600;
	text-decoration: none;
}

.meem-cat-shortlist a:hover {
	text-decoration: underline;
}

.meem-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.meem-soc-dot {
	display: inline-block;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 50%;
	background: var(--R-soft);
	border: 1px solid rgba(179, 0, 0, 0.28);
	vertical-align: middle;
}

.meem-soc:hover .meem-soc-dot {
	background: rgba(179, 0, 0, 0.18);
}

/* Dark footer stripe (GeneratePress footer.site-info) */
footer.site-info.site-info {
	background: #2f2f2f !important;
	color: #f2f2f2;
	border-top: none;
	box-shadow: none;
}

.site-info.footer-bar-active {
	border-top: none !important;
}

.inside-site-info .copyright-bar {
	justify-content: center;
	text-align: center;
	flex-wrap: wrap;
	column-gap: 0.35rem;
	row-gap: 0.25rem;
	color: #e8e8e8;
	line-height: 1.65;
	padding: 1rem max(var(--gutter), env(safe-area-inset-right)) 1rem max(var(--gutter), env(safe-area-inset-left));
	box-sizing: border-box;
	width: 100%;
}

.inside-site-info .copyright-bar a {
	color: #ffb3b3;
	text-decoration: none;
}

.inside-site-info .copyright-bar a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.inside-site-info .meem-https-note {
	display: inline-block;
	margin-inline-start: 0.35rem;
	padding: 0.08rem 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	vertical-align: 0.1em;
	color: #0d3d16;
	background: linear-gradient(#d7fbe0, #b8efc8);
	border: 1px solid #6fcf8a;
	border-radius: 5px;
}

/* ——— AdSense-style slots (replace inner HTML when approved) ——— */
aside.meem-ad-slot {
	box-sizing: border-box;
	max-width: 100%;
	width: min(728px, 100%);
	background: linear-gradient(#f9f9f9, #ededed);
	border: 1px dashed rgba(0, 0, 0, 0.22);
	border-radius: 10px;
	margin: 0 auto 1.1rem;
	padding: clamp(0.45rem, 2vw, 1rem);
	text-align: center;
}

aside.meem-ad-slot .meem-ad-slot-label {
	display: block;
	font-family: "DM Sans", system-ui, sans-serif;
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.38);
	word-break: break-word;
	line-height: 1.35;
}

.home aside.meem-ad-infeed,
.archive aside.meem-ad-infeed,
.search aside.meem-ad-infeed {
	width: min(728px, 100%);
	clear: both;
}

aside.meem-ad-slot.meem-ad-skyscraper {
	width: 100%;
	max-width: 200px;
	margin-left: auto;
	margin-right: auto;
}

aside.meem-ad-slot.meem-ad-top,
aside.meem-ad-slot.meem-ad-top-leaderboard {
	max-width: min(980px, 100%);
	width: calc(100% - 2 * var(--gutter));
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}

.meem-after-loop-slot {
	margin-bottom: 1.5rem;
}

/* Privacy callout above extra skyscrapers (reviewer-visible) */
.meem-privacy-highlight {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem;
	border-radius: 10px;
	border: 1px solid rgba(179, 0, 0, 0.28);
	background: rgba(179, 0, 0, 0.05);
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}

.meem-privacy-highlight .meem-privacy-title {
	margin: 0;
	font-family: "Noto Serif Devanagari", serif;
	font-size: 1.07rem;
}

.meem-privacy-highlight .meem-privacy-title a {
	color: var(--R-dark);
	text-decoration: none;
}

.meem-privacy-highlight .meem-privacy-lead {
	margin: 0;
	font-size: max(13px, 0.855rem);
	color: var(--K-muted);
	line-height: 1.55;
}

.meem-legal-mini {
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0;
}

.meem-legal-mini li {
	margin: 0.35rem 0;
	line-height: 1.45;
}

.meem-legal-mini a {
	font-weight: 600;
	text-decoration: none;
}

.meem-legal-mini a:hover {
	text-decoration: underline;
}

.meem-footer-sep {
	color: rgba(255, 255, 255, 0.38);
	font-weight: 400;
}

.inside-site-info .meem-footer-meta {
	font-weight: 600;
}

@media (max-width: 768px) {
	aside.meem-ad-slot.meem-ad-skyscraper {
		max-width: 100%;
		min-height: 120px !important;
	}

	body.meem-clean-review .site-header .inside-header,
	body.meem-ads-layout .site-header .inside-header {
		align-items: center;
	}

	.inside-site-info .copyright-bar {
		font-size: max(14px, 0.9rem);
	}
}

/*
 * ─── लेख तपशील (mockup-aligned, lightweight) ───
 */
.meem-mag-detail-article .entry-header {
	margin-bottom: 0;
	text-align: start;
	padding-bottom: 0;
}

.single .meem-mag-detail-article .entry-title,
.single .meem-mag-detail-article .entry-title a {
	font-size: clamp(1.55rem, 4.8vw, 2.35rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--K);
}

.meem-detail-category-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.5rem;
	margin: 0.35rem 0 0;
}

.meem-detail-chip {
	display: inline-flex;
	align-items: center;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: max(12px, 0.78rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.28rem 0.62rem;
	border-radius: 6px;
	text-decoration: none;
	border-width: 1px;
	border-style: solid;
	color: var(--K);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.meem-detail-chip:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.meem-detail-chip--tone-0 {
	background: rgba(0, 128, 128, 0.09);
	border-color: rgba(0, 122, 122, 0.35);
}
.meem-detail-chip--tone-1 {
	background: rgba(204, 85, 0, 0.08);
	border-color: rgba(200, 80, 0, 0.32);
}
.meem-detail-chip--tone-2 {
	background: rgba(55, 70, 150, 0.08);
	border-color: rgba(55, 70, 150, 0.28);
}
.meem-detail-chip--tone-3 {
	background: rgba(40, 120, 65, 0.08);
	border-color: rgba(35, 110, 60, 0.3);
}
.meem-detail-chip--tone-4 {
	background: rgba(120, 75, 45, 0.08);
	border-color: rgba(110, 70, 40, 0.28);
}

.meem-detail-rule {
	height: 2px;
	margin: clamp(0.85rem, 2.5vw, 1.2rem) 0 clamp(1rem, 2.8vw, 1.35rem);
	max-width: 5.5rem;
	background: linear-gradient(90deg, var(--R), transparent);
	border-radius: 2px;
}

.meem-mag-detail-article .entry-meta {
	margin-top: 0.15rem;
	margin-bottom: 0;
	line-height: 1.55;
}

.meem-mag-detail-article .featured-image.page-header-image-single {
	max-width: 100%;
	padding: 0;
	margin: 0 0 clamp(1rem, 3vw, 1.65rem);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--K-border);
	background: rgba(0, 0, 0, 0.02);
}

.meem-mag-detail-article .featured-image.page-header-image-single img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.single .meem-mag-detail-article .entry-content > p:first-of-type {
	font-size: max(17px, 1.07rem);
	color: rgba(21, 21, 21, 0.9);
	line-height: 1.92;
	margin-top: 0;
}

.meem-detail-footnote {
	font-size: max(14px, 0.895rem);
	color: var(--K-muted);
	line-height: 1.62;
	padding: clamp(1rem, 3vw, 1.35rem);
	margin-top: 1.25rem !important;
	margin-bottom: 0;
	border-inline-start: 3px solid var(--R-soft);
	background: rgba(179, 0, 0, 0.03);
	border-radius: 0 8px 8px 0;
}

/* Single post: breadcrumbs, प्रकाशित label, author, related */
.meem-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.35rem;
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	font-size: max(13px, 0.82rem);
	color: var(--K-muted);
}

.meem-breadcrumbs__item:not(:first-child)::before {
	content: "›";
	margin-right: 0.45rem;
	opacity: 0.55;
	font-weight: 700;
}

.meem-breadcrumbs__item a {
	color: var(--R);
	text-decoration: none;
	font-weight: 600;
}

.meem-breadcrumbs__item a:hover {
	text-decoration: underline;
	color: var(--R-dark);
}

.meem-breadcrumbs__item--current {
	color: var(--K);
	font-weight: 600;
	max-width: 100%;
	line-height: 1.35;
}

.meem-meta-label {
	font-weight: 700;
	color: var(--K-muted);
}

.meem-editor-thumb-hint {
	font-size: max(13px, 0.83rem);
	color: var(--K-muted);
	margin: 0 0 clamp(0.85rem, 2vw, 1.1rem);
	padding: 0.55rem 0.75rem;
	background: rgba(179, 0, 0, 0.06);
	border-radius: 8px;
	border: 1px dashed rgba(179, 0, 0, 0.25);
}

.meem-editor-thumb-hint__label {
	font-weight: 700;
	color: var(--R-dark);
}

.meem-author-box {
	margin-top: clamp(1.25rem, 3vw, 1.75rem);
	padding: clamp(1rem, 2.5vw, 1.35rem);
	border: 1px solid var(--K-border);
	border-radius: var(--radius);
	background: var(--W);
	box-shadow: var(--shadow-sm);
}

.meem-author-box__inner {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	flex-wrap: wrap;
}

.meem-author-box__avatar-wrap {
	flex-shrink: 0;
}

.meem-author-box__avatar {
	border-radius: 50%;
	border: 2px solid var(--R-soft);
}

.meem-author-box__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}

.meem-author-box__name {
	color: var(--R);
	text-decoration: none;
	font-weight: 700;
}

.meem-author-box__name:hover {
	text-decoration: underline;
	color: var(--R-dark);
}

.meem-author-box__bio {
	font-size: max(15px, 0.94rem);
	line-height: 1.72;
	color: var(--K);
	margin: 0;
}

.meem-author-box__bio p:last-child {
	margin-bottom: 0;
}

.meem-related-posts {
	margin-top: clamp(1.35rem, 3vw, 1.85rem);
	padding-top: clamp(1rem, 2.5vw, 1.35rem);
	border-top: 1px solid var(--K-border);
}

.meem-related-posts__heading {
	font-size: clamp(1.05rem, 2.5vw, 1.25rem);
	margin: 0 0 0.65rem;
	color: var(--R);
	font-family: "Noto Serif Devanagari", serif;
}

.meem-related-posts__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.meem-related-posts__link {
	font-weight: 600;
	color: var(--K);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.meem-related-posts__link:hover {
	color: var(--R);
	border-bottom-color: rgba(179, 0, 0, 0.35);
}

@media (max-width: 768px) {
	.meem-detail-chip {
		font-size: 0.715rem;
	}
}

/* Sidebar: playful category chips like mock */
.meem-pop-chip-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0.42rem;
}

.meem-pop-chip {
	display: inline-flex;
	flex: 0 1 calc(50% - 0.25rem);
	min-width: 8.75rem;
	min-height: var(--tap);
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.42rem 0.55rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: max(13px, 0.835rem);
	text-decoration: none;
	border-width: 1px;
	border-style: solid;
	color: var(--K);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.meem-pop-chip span {
	line-height: 1.35;
	display: inline-block;
}

.meem-pop-chip:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	text-decoration: none;
	color: var(--K);
}

.meem-pop-chip--tone-0 {
	background: rgba(0, 128, 128, 0.1);
	border-color: rgba(0, 128, 128, 0.28);
}

.meem-pop-chip--tone-1 {
	background: rgba(231, 97, 60, 0.1);
	border-color: rgba(220, 90, 55, 0.28);
}

.meem-pop-chip--tone-2 {
	background: rgba(74, 90, 178, 0.1);
	border-color: rgba(65, 80, 170, 0.28);
}

.meem-pop-chip--tone-3 {
	background: rgba(45, 125, 70, 0.1);
	border-color: rgba(40, 115, 65, 0.28);
}

.meem-widget-contact-cards .meem-contact-rows {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.meem-contact-line {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--K);
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--K-border);
	border-radius: var(--radius);
	background: rgba(179, 0, 0, 0.03);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.meem-contact-line:hover {
	border-color: rgba(179, 0, 0, 0.35);
	background: var(--R-soft);
	color: var(--R-dark);
}

.meem-contact-ico-msg {
	flex-shrink: 0;
	display: inline-block;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1px solid rgba(179, 0, 0, 0.3);
	position: relative;
	background: rgba(179, 0, 0, 0.06);
	box-sizing: border-box;
}

.meem-contact-ico-msg::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -60%);
	width: 0.75rem;
	height: 0.35rem;
	border: 2px solid var(--R);
	border-block-start-width: 0;
	border-radius: 0 0 5px 5px;
	opacity: 0.85;
}

.meem-widget-contact-cards .meem-contact-hint {
	margin: 0;
}

/*
 * ─── श्रेणी सूची (category archive) — ३-स्तंभ कार्ड ग्रिड, तंत्रज्ञान mock जवळपास ───
 */
body.category.archive:not(.woocommerce) .site-main {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(0.95rem, 2.5vw, 1.2rem);
	align-items: stretch;
}

@media (min-width: 768px) {
	body.category.archive:not(.woocommerce) .site-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1120px) {
	body.category.archive:not(.woocommerce) .site-main {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

body.category.archive:not(.woocommerce) .site-main > .page-header,
body.category.archive:not(.woocommerce) .site-main > nav.paging-navigation {
	grid-column: 1 / -1;
}

body.category.archive:not(.woocommerce) .taxonomy-description {
	grid-column: 1 / -1;
	max-width: 52rem;
}

body.category.archive:not(.woocommerce) .site-main > .no-results {
	grid-column: 1 / -1;
}

/* शीर्षक धडी */
body.category.archive .page-header {
	margin-bottom: clamp(0.85rem, 2.5vw, 1.45rem);
	padding-bottom: clamp(0.65rem, 2vw, 0.95rem);
	border-bottom: 2px solid rgba(179, 0, 0, 0.13);
	max-width: none;
}

body.category.archive .page-header .page-title {
	font-size: clamp(1.7rem, 4.6vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.16;
	margin: 0;
	color: var(--K);
}

body.category.archive .taxonomy-description {
	font-size: max(17px, 1.06rem);
	line-height: 1.75;
	margin-top: 0.6rem;
	margin-bottom: 0;
}

body.category.archive .site-main > article.type-post {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

/* आडवी सूची डिझाइन रद्द करून उभे कार्ड */
body.category.archive article.type-post .inside-article,
body.category.archive article.type-post .inside-article:has(.post-image) {
	display: flex;
	flex-direction: column;
	grid-template-columns: unset;
	grid-template-areas: unset;
	gap: 0.58rem;
	flex: 1 1 auto;
	min-height: 100%;
}

@media (min-width: 769px) {
	body.category.archive article.type-post .inside-article:has(.post-image) {
		grid-template-columns: unset;
		grid-template-areas: unset;
	}
}

body.category.archive article.type-post .inside-article:has(.post-image) .post-image,
body.category.archive article.type-post .inside-article:has(.post-image) .entry-header,
body.category.archive article.type-post .inside-article:has(.post-image) .entry-summary {
	grid-area: unset;
}

body.category.archive article.type-post .post-image {
	order: -1;
	margin-top: 0;
	margin-bottom: 0;
}

body.category.archive article.type-post .inside-article {
	padding: clamp(0.8rem, 2vw, 1.15rem);
	box-shadow: var(--shadow-sm);
}

body.category.archive article.type-post .post-image img {
	max-height: clamp(150px, 22vw, 200px);
	object-fit: cover;
}

body.category.archive article .entry-title a::before {
	display: none !important;
	content: none !important;
}

body.category.archive article.type-post .entry-title,
body.category.archive article.type-post .entry-title a {
	font-size: clamp(1.05rem, 2.2vw, 1.32rem);
	font-weight: 700;
	line-height: 1.28;
	margin-top: 0.1rem;
}

body.category.archive article.type-post .entry-header {
	align-self: stretch;
	margin-bottom: 0;
}

body.category.archive article.type-post .entry-meta {
	margin-top: 0.35rem;
	margin-bottom: 0;
	font-size: max(13px, 0.88rem);
}

body.category.archive article.type-post .posted-on {
	display: block;
}

body.category.archive article.type-post .posted-on time {
	display: inline-flex;
	align-items: center;
	gap: 0;
}

body.category.archive article.type-post .posted-on time::before {
	content: "";
	width: 13px;
	height: 13px;
	margin-inline-end: 0.35rem;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6l4 3'/%3E%3C/svg%3E")
		center/contain no-repeat;
	opacity: 0.9;
}

/* मजकूर + पुढे वाचा कार्डच्या तळाशी */
body.category.archive article.type-post .entry-summary {
	margin-top: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	font-size: max(14px, 0.92rem);
	line-height: 1.68;
}

body.category.archive article.type-post .entry-summary p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin-bottom: 0.5rem !important;
}

body.category.archive article.type-post .entry-summary::after {
	display: none !important;
}

body.category.archive article.type-post .entry-summary .read-more,
body.category.archive article.type-post .entry-summary a.read-more {
	float: none;
	clear: none;
	margin-inline-start: 0;
	margin-top: auto;
	color: var(--R);
	font-weight: 700;
}

body.category.archive .paging-navigation {
	margin-top: clamp(0.5rem, 2vw, 1rem);
	padding-top: 1.35rem;
	justify-content: center;
}

::selection {
	background: rgba(179, 0, 0, 0.14);
	color: var(--K);
}
