/* Marwadi Samaaj 2026 redesign.
   Loaded after the old theme styles. Gives the whole site its new look:
   header, footer, home page, and the old inner-page blocks. */

:root {
	--ms-maroon: #7a1424;
	--ms-maroon-dark: #4d0a16;
	--ms-gold: #e9a820;
	--ms-gold-soft: #fdf0cf;
	--ms-cream: #fffaf1;
	--ms-card: #ffffff;
	--ms-ink: #241714;
	--ms-muted: #6d5b52;
	--ms-line: #f0e2c9;
	--ms-radius: 16px;
	--ms-shadow: 0 6px 22px rgba(77, 10, 22, 0.08);
	--ms-shadow-lift: 0 14px 34px rgba(77, 10, 22, 0.16);
	--ms-font: "Poppins", "Noto Sans Devanagari", "Segoe UI", Roboto, Arial, sans-serif;
}

body {
	background: var(--ms-cream);
	background-image: none;
	color: var(--ms-ink);
	font-family: var(--ms-font);
	font-size: 15px;
	line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ms-font);
}

img {
	max-width: 100%;
	height: auto;
}

a:hover {
	color: var(--ms-maroon);
}

.active.boxed,
.boxed:not(.active) {
	width: auto;
	min-width: 0;
	max-width: none;
	background: var(--ms-cream) !important;
	box-shadow: none;
}

.wrapper {
	width: auto;
	max-width: 1240px;
	padding: 0 20px;
	box-sizing: border-box;
}

.content {
	background: var(--ms-cream);
	padding: 24px 0 8px;
	min-height: 0;
}

.ms-skip {
	position: absolute;
	left: -9999px;
}

.ms-skip:focus {
	left: 8px;
	top: 8px;
	z-index: 2000;
	background: #fff;
	padding: 8px 12px;
}

/* ---------- Header ---------- */

.ms-header {
	color: #fff;
}

.ms-brand {
	background: radial-gradient(circle at 12% 0%, #a51d33 0%, var(--ms-maroon) 38%, var(--ms-maroon-dark) 100%);
}

.ms-brand a {
	color: #fff;
}

.ms-brand .wrapper {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.ms-logo {
	flex: 0 0 auto;
}

.ms-logo img {
	display: block;
	width: 230px;
	height: auto;
}

/* Wide banner advertisement, shown inside pages (not in the header) */
.ms-banner-ad {
	margin: 0 auto 32px;
	text-align: center;
}

.ms-banner-ad-label {
	display: block;
	margin-bottom: 6px;
	color: var(--ms-muted);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ms-banner-ad img {
	width: auto;
	max-height: 110px;
	border-radius: 12px;
	box-shadow: var(--ms-shadow);
}

.ms-account {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 14px;
	font-weight: 500;
}

.ms-account a.ms-account-cta {
	background: var(--ms-gold);
	color: var(--ms-ink);
	font-weight: 600;
	padding: 5px 16px;
	border-radius: 999px;
}

.ms-search {
	flex: 1 1 auto;
	display: flex;
	max-width: 520px;
	margin: 0 auto;
	background: #fff;
	border-radius: 999px;
	padding: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.ms-search input[type=text] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 9px 12px 9px 20px;
	color: var(--ms-ink);
	font-size: 14px;
	outline: none;
}

.ms-search button {
	border: 0;
	background: var(--ms-maroon);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	padding: 9px 22px;
	border-radius: 999px;
	cursor: pointer;
}

/* Bandhani-style dotted border under the header */
.ms-header-border {
	height: 10px;
	background-color: var(--ms-gold);
	background-image: radial-gradient(circle, var(--ms-maroon) 2px, transparent 2.5px);
	background-size: 14px 10px;
	background-position: center;
}

.ms-nav {
	background: #fff;
	box-shadow: 0 4px 18px rgba(77, 10, 22, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.ms-nav-toggle {
	display: none;
}

.ms-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-menu li {
	position: relative;
	list-style: none;
}

.ms-menu > li > a {
	display: block;
	padding: 15px 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ms-ink);
	text-decoration: none;
	border-bottom: 3px solid transparent;
}

.ms-menu > li > a:hover,
.ms-menu > li > a:focus {
	color: var(--ms-maroon);
	border-bottom-color: var(--ms-gold);
}

.ms-menu > li.ms-menu-cta > a {
	background: var(--ms-gold);
	color: var(--ms-ink);
	border-radius: 999px;
	padding: 7px 16px;
	margin: 0 4px;
	border-bottom: 0;
}

.ms-menu > li.ms-menu-cta > a:hover {
	background: var(--ms-maroon);
	color: #fff;
}

.ms-menu ul {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 230px;
	margin: 0;
	padding: 8px;
	background: #fff;
	border-radius: 0 0 var(--ms-radius) var(--ms-radius);
	box-shadow: var(--ms-shadow-lift);
}

.ms-menu ul a {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	color: var(--ms-ink);
	font-size: 14px;
}

.ms-menu ul a:hover {
	background: var(--ms-gold-soft);
	color: var(--ms-maroon);
}

.ms-menu li:hover > ul,
.ms-menu li:focus-within > ul {
	display: block;
}

.ms-sub-toggle {
	display: none;
}

.ms-has-sub > a::after {
	content: " \25BE";
	font-size: 11px;
}

.secondary-menu .wrapper ul {
	margin: 0;
}

/* ---------- "Go to" strip ---------- */

.ms-goto {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
}

.ms-goto-title {
	flex: 0 0 auto;
	background: var(--ms-maroon);
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	padding: 6px 14px;
	border-radius: 999px;
}

.ms-goto ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 4px 0;
	overflow-x: auto;
	white-space: nowrap;
	list-style: none;
	scrollbar-width: thin;
}

.ms-goto li {
	list-style: none;
}

.ms-goto li a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--ms-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ms-ink);
	background: #fff;
}

.ms-goto li a:hover {
	border-color: var(--ms-gold);
	background: var(--ms-gold-soft);
	color: var(--ms-maroon);
}

/* ---------- Buttons ---------- */

.ms-btn,
input.ms-btn {
	display: inline-block;
	background: var(--ms-maroon);
	color: #fff !important;
	border: 0;
	padding: 11px 22px;
	border-radius: 999px;
	font-family: var(--ms-font);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.ms-btn:hover {
	background: var(--ms-maroon-dark);
	transform: translateY(-1px);
	box-shadow: var(--ms-shadow);
}

.ms-btn-gold,
input.ms-btn-gold {
	background: var(--ms-gold);
	color: var(--ms-ink) !important;
}

.ms-btn-gold:hover {
	background: #f6bd42;
}

/* ---------- Home page ---------- */

.ms-eyebrow {
	margin: 0 0 2px;
	color: #b7791f;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ms-section {
	margin-bottom: 52px;
}

.ms-section-head {
	position: relative;
	text-align: center;
	margin-bottom: 26px;
}

.ms-section-head h2 {
	display: inline-block;
	margin: 0;
	padding-bottom: 12px;
	font-size: 30px;
	font-weight: 700;
	color: var(--ms-maroon);
	text-transform: none;
	background: linear-gradient(var(--ms-gold), var(--ms-gold)) no-repeat center bottom / 64px 4px;
}

.ms-section-head-light h2 {
	color: #fff;
}

.ms-section-head-light .ms-eyebrow {
	color: var(--ms-gold);
}

.ms-more {
	position: absolute;
	right: 0;
	bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ms-maroon);
}

/* Slider with advertisements */

.ms-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 20px;
	margin-bottom: 22px;
}

.ms-hero-slider .carousel {
	border-radius: var(--ms-radius);
	overflow: hidden;
	box-shadow: var(--ms-shadow);
	height: 100%;
	background: var(--ms-maroon-dark);
}

.ms-hero-slider .carousel-inner,
.ms-hero-slider .item,
.ms-hero-slider .item a {
	height: 100%;
}

.ms-hero-slider .item a {
	display: block;
}

.ms-hero-slider .carousel-inner > .item > a > img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100% !important;
	min-height: 300px;
	object-fit: cover;
}

/* The old theme fixes slides at 337px; let them follow the layout */
.ms-hero-slider .carousel-inner > .item.active,
.ms-hero-slider .carousel-inner > .item.next.left,
.ms-hero-slider .carousel-inner > .item.prev.right {
	height: 100% !important;
}

.ms-hero-slider .carousel {
	margin-bottom: 0 !important;
}

.ms-hero-ads {
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	box-shadow: var(--ms-shadow);
	padding: 14px;
}

.ms-hero-ads-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #b7791f;
}

.ms-hero-ads-head a {
	background: var(--ms-gold);
	color: var(--ms-ink);
	letter-spacing: 0;
	text-transform: none;
	padding: 4px 14px;
	border-radius: 999px;
}

.ms-hero-ads-head a:hover {
	background: var(--ms-maroon);
	color: #fff;
}

.ms-hero-ads-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ms-ad {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ms-cream);
	border: 1px solid var(--ms-line);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.15s, box-shadow 0.15s;
}

.ms-ad:hover {
	transform: translateY(-3px);
	box-shadow: var(--ms-shadow-lift);
}

.ms-ad img {
	display: block;
	width: 100%;
	height: auto;
}

.ms-hero-ads-grid .ms-ad {
	aspect-ratio: 1 / 1;
}

.ms-hero-ads-grid .ms-ad img {
	height: 100%;
	object-fit: contain;
}

/* Main sections */

.ms-quick {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 26px;
}

.ms-quick-card {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	box-shadow: var(--ms-shadow);
	padding: 18px 20px;
	color: var(--ms-ink);
	transition: transform 0.15s, box-shadow 0.15s;
}

.ms-quick-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ms-shadow-lift);
	color: var(--ms-ink);
	text-decoration: none;
}

.ms-quick-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 8px;
	border-radius: 14px;
	background: var(--ms-gold-soft);
	font-size: 24px;
}

.ms-quick-card strong {
	font-size: 16px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-quick-card span:last-child {
	font-size: 13px;
	color: var(--ms-muted);
}

/* Welcome */

.ms-welcome {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 36px;
	align-items: center;
	background: linear-gradient(120deg, var(--ms-gold-soft), #fff 70%);
	border: 1px solid var(--ms-line);
	border-radius: 24px;
	padding: 32px;
	margin-bottom: 52px;
}

.ms-welcome-img img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: var(--ms-shadow-lift);
}

.ms-welcome-text h1 {
	margin: 0 0 12px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ms-maroon);
}

.ms-welcome-text .ms-eyebrow {
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
}

.ms-welcome-text p {
	color: var(--ms-muted);
	font-size: 16px;
	margin-bottom: 20px;
}

.ms-welcome-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Topics */

.ms-topics {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-topics li {
	list-style: none;
}

.ms-topics a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	box-shadow: var(--ms-shadow);
	font-weight: 600;
	color: var(--ms-ink);
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.ms-topics a:hover {
	transform: translateY(-3px);
	box-shadow: var(--ms-shadow-lift);
	border-color: var(--ms-gold);
	color: var(--ms-maroon);
	text-decoration: none;
}

.ms-topic-icon {
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ms-gold-soft);
	font-size: 22px;
}

/* News cards */

.ms-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.ms-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	box-shadow: var(--ms-shadow);
	overflow: hidden;
	transition: transform 0.15s, box-shadow 0.15s;
}

.ms-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ms-shadow-lift);
}

.ms-card-img {
	display: block;
	background: var(--ms-line);
}

.ms-card-img img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ms-card h3 {
	margin: 16px 18px 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.ms-card h3 a {
	color: var(--ms-ink);
}

.ms-card h3 a:hover {
	color: var(--ms-maroon);
	text-decoration: none;
}

.ms-card p {
	margin: 0 18px 12px;
	font-size: 14px;
	color: var(--ms-muted);
}

.ms-card-link {
	margin: auto 18px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ms-maroon);
}

/* Apps band */

.ms-band {
	margin: 0 0 52px;
	padding: 48px 0;
}

.ms-apps-band {
	background: radial-gradient(circle at 85% 10%, #a51d33 0%, var(--ms-maroon) 40%, var(--ms-maroon-dark) 100%);
	color: #fff;
}

.ms-apps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
}

.ms-app {
	display: flex;
	gap: 20px;
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 20px;
	padding: 24px;
}

.ms-app img {
	flex: 0 0 88px;
	width: 88px;
	height: 88px;
	border-radius: 22px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ms-app h3 {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 600;
	color: #fff;
}

.ms-app p {
	margin: 0 0 14px;
	color: #f6dfe2;
	font-size: 14px;
}

/* Gallery */

.ms-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
}

.ms-gallery-item {
	position: relative;
	display: block;
	border-radius: var(--ms-radius);
	overflow: hidden;
	box-shadow: var(--ms-shadow);
	background: var(--ms-maroon-dark);
}

.ms-gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.3s;
}

.ms-gallery-item:hover img {
	transform: scale(1.06);
}

.ms-gallery-item span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 34px 16px 12px;
	background: linear-gradient(transparent, rgba(36, 23, 20, 0.88));
	color: #fff;
	font-weight: 600;
}

/* Advertisers */

.ms-ads {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 16px;
	align-items: stretch;
}

.ms-ads .ms-ad {
	background: #fff;
	box-shadow: var(--ms-shadow);
}

.ms-advertise-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 22px;
	padding: 22px 26px;
	border: 2px dashed var(--ms-gold);
	border-radius: var(--ms-radius);
	background: var(--ms-gold-soft);
}

.ms-advertise-cta h3 {
	margin: 0 0 2px;
	font-size: 20px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-advertise-cta p {
	margin: 0;
	color: var(--ms-muted);
}

/* Subscribe */

.ms-subscribe {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 24px;
	align-items: center;
	background: var(--ms-ink);
	color: #fff;
	border-radius: 24px;
	padding: 32px;
}

.ms-subscribe h2 {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 700;
	color: var(--ms-gold);
}

.ms-subscribe p {
	margin: 0;
}

.ms-subscribe form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.ms-subscribe input[type=text],
.ms-subscribe input[type=email],
.ms-subscribe input[type=tel] {
	flex: 1 1 150px;
	min-width: 0;
	border: 0;
	border-radius: 999px;
	padding: 11px 16px;
	color: var(--ms-ink);
	font-size: 14px;
}

.ms-msg {
	margin-top: 8px !important;
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.16);
	font-weight: 600;
}

.ms-home .banner {
	height: auto !important;
	text-align: center;
}

.ms-home .banner img {
	border-radius: 10px;
}

.ms-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 32px;
	color: var(--ms-muted);
	font-size: 14px;
}

.ms-share a {
	padding: 6px 16px;
	border: 1px solid var(--ms-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ms-ink);
	font-weight: 600;
}

.ms-share a:hover {
	border-color: var(--ms-gold);
	color: var(--ms-maroon);
}

/* ---------- Footer ---------- */

.ms-footer {
	background: var(--ms-ink);
	color: #e9dfd2;
	padding-top: 44px;
	border-top: 6px solid var(--ms-gold);
}

.ms-footer a {
	color: #ffd08a;
}

.ms-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px;
	padding-bottom: 36px;
}

.ms-footer.footermain h2 {
	padding-top: 0;
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 600;
	color: var(--ms-gold) !important;
}

.ms-footer.footermain h2.ms-footer-apps-title {
	margin-top: 20px;
}

.ms-footer p,
.ms-footer address {
	margin: 0 0 10px;
	font-style: normal;
	line-height: 1.65;
	font-size: 14px;
}

.ms-footer-apps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-footer-apps li {
	list-style: none;
	margin-bottom: 6px;
}

.ms-footer #writecomment input[type=text],
.ms-footer #writecomment textarea {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-radius: 10px;
	padding: 10px 12px;
	color: var(--ms-ink);
	background: #fff;
}

.ms-footer #writecomment p {
	margin-bottom: 8px;
}

.ms-footer .g-recaptcha {
	margin-bottom: 10px;
	transform-origin: left top;
}

.ms-footer #writecomment p input[type=submit].ms-btn {
	background: var(--ms-gold);
	color: var(--ms-ink) !important;
	border-radius: 999px;
}

.ms-footer iframe {
	border-radius: var(--ms-radius);
}

.ms-footer-bottom {
	background: #170e0c;
	padding: 16px 0;
	font-size: 13px;
	text-align: center;
}

.ms-footer-bottom p {
	margin: 0;
}

.ms-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 20px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.ms-footer-links li {
	list-style: none;
}

/* ---------- Old inner-page blocks in the new look ---------- */

.main-content {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 32px;
}

.main-content .main-page {
	float: none;
	flex: 1 1 560px;
	min-width: 0;
	width: auto;
}

.main-content .main-sidebar {
	float: none;
	flex: 0 0 200px;
}

.main-content > .clear-float {
	display: none;
}

.double-block {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.double-block .content-block {
	float: none;
	margin: 0 !important;
}

.double-block .content-block.main {
	flex: 1 1 420px;
	width: auto;
	min-width: 0;
}

.double-block .content-block.left {
	flex: 0 0 220px;
	order: -1;
}

.main-page .content-block.main > .block {
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	box-shadow: var(--ms-shadow);
	overflow: hidden;
}

.main-page .content-block.main > .block:empty {
	display: none;
}

.main-page .block .block-title {
	background: linear-gradient(90deg, var(--ms-maroon), var(--ms-maroon-dark));
	padding: 12px 20px;
	margin-bottom: 0;
}

.main-page .block .block-title h2 {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.main-page .block .block-content {
	padding: 18px 20px;
}

.content-block.left > .block {
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	box-shadow: var(--ms-shadow);
	padding: 18px;
}

.content-block.left .list-title {
	font-family: var(--ms-font);
	font-size: 18px;
	color: var(--ms-maroon);
	border-bottom: 3px solid var(--ms-gold);
}

.content-block.left .article-list li a {
	color: var(--ms-ink);
	font-weight: 500;
}

.content-block.left .article-list li a:hover {
	color: var(--ms-maroon);
}

.content-block.left .widget,
.main-sidebar .widget {
	width: auto !important;
	height: auto !important;
	border-radius: 12px;
	overflow: hidden;
}

.content-block.left .widget img,
.main-sidebar .widget img {
	display: block;
	width: 100%;
	height: auto;
}

.main-page a.button,
.main-page .button,
.main-page input[type=submit].button {
	background: var(--ms-maroon);
	border-radius: 999px;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1100px) {

	.ms-quick {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.ms-hero {
		grid-template-columns: 1fr;
	}

	/* Advertisements first, as a row that scrolls sideways */
	.ms-hero-ads {
		order: -1;
		padding: 10px 12px;
	}

	.ms-hero-ads-head {
		margin-bottom: 8px;
	}

	.ms-hero-ads-grid {
		display: flex;
		gap: 10px;
		overflow-x: auto;
	}

	.ms-hero-ads-grid .ms-ad {
		flex: 0 0 104px;
		width: 104px;
		height: 104px;
	}

	.ms-hero-slider .carousel,
	.ms-hero-slider .carousel-inner,
	.ms-hero-slider .item,
	.ms-hero-slider .item a {
		height: auto;
	}

	.ms-hero-slider .carousel-inner > .item > a > img {
		height: auto !important;
		min-height: 0;
	}

	.ms-hero-slider .carousel-inner > .item.active,
	.ms-hero-slider .carousel-inner > .item.next.left,
	.ms-hero-slider .carousel-inner > .item.prev.right {
		height: auto !important;
	}

	.ms-welcome,
	.ms-subscribe {
		grid-template-columns: 1fr;
	}

	.ms-welcome {
		padding: 22px;
		gap: 20px;
	}

	.ms-nav-toggle {
		display: flex;
		align-items: center;
		gap: 12px;
		width: 100%;
		background: none;
		border: 0;
		color: var(--ms-maroon);
		font-family: var(--ms-font);
		font-size: 15px;
		font-weight: 600;
		padding: 13px 0;
		cursor: pointer;
	}

	.ms-nav-toggle-bars,
	.ms-nav-toggle-bars::before,
	.ms-nav-toggle-bars::after {
		display: block;
		width: 22px;
		height: 2px;
		background: var(--ms-maroon);
		content: "";
		position: relative;
	}

	.ms-nav-toggle-bars::before {
		position: absolute;
		top: -7px;
	}

	.ms-nav-toggle-bars::after {
		position: absolute;
		top: 7px;
	}

	.ms-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding-bottom: 12px;
	}

	.ms-menu.ms-open {
		display: flex;
	}

	.ms-menu > li > a {
		padding: 12px 4px;
		border-bottom: 0;
		border-top: 1px solid var(--ms-line);
	}

	.ms-menu > li.ms-menu-cta > a {
		margin: 8px 0;
		text-align: center;
	}

	.ms-has-sub > a {
		margin-right: 48px;
	}

	.ms-has-sub > a::after {
		content: "";
	}

	.ms-sub-toggle {
		display: block;
		position: absolute;
		right: 0;
		top: 1px;
		width: 44px;
		height: 46px;
		background: none;
		border: 0;
		color: var(--ms-maroon);
		cursor: pointer;
	}

	.ms-sub-toggle::before {
		content: "\25BE";
		font-size: 16px;
	}

	.ms-menu ul,
	.ms-menu li:hover > ul,
	.ms-menu li:focus-within > ul {
		display: none;
		position: static;
		box-shadow: none;
		background: var(--ms-cream);
		border-radius: 10px;
		margin-bottom: 8px;
	}

	.ms-menu li.ms-sub-open > ul {
		display: block;
	}

	.main-content .main-sidebar,
	.double-block .content-block.left {
		flex: 1 1 100%;
		width: 100%;
		order: 2;
	}

	.main-sidebar .widget,
	.content-block.left .widget {
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 560px) {
	.wrapper {
		padding: 0 14px;
	}

	.ms-brand .wrapper {
		flex-wrap: wrap;
		gap: 10px;
		padding-top: 10px;
		padding-bottom: 12px;
	}

	.ms-logo img {
		width: 170px;
	}

	.ms-brand .wrapper {
		justify-content: space-between;
	}

	.ms-account {
		font-size: 13px;
		gap: 10px;
	}

	.ms-search {
		flex: 1 1 100%;
		max-width: none;
		order: 3;
	}

	.ms-section {
		margin-bottom: 38px;
	}

	.ms-section-head h2 {
		font-size: 24px;
	}

	.ms-more {
		position: static;
		display: block;
		margin-top: 8px;
	}

	.ms-welcome-text h1 {
		font-size: 26px;
	}

	.ms-topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ms-topics a {
		padding: 10px;
		gap: 8px;
		font-size: 13px;
	}

	.ms-topic-icon {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
		font-size: 18px;
	}

	.ms-quick-card {
		padding: 14px;
	}

	.ms-app {
		flex-direction: column;
		align-items: flex-start;
	}

	.ms-band {
		padding: 34px 0;
	}

	.ms-subscribe {
		padding: 22px;
	}

	.ms-footer .g-recaptcha {
		transform: scale(0.86);
	}
}

/* ---------- Inner pages: main panel and side column ---------- */

.ms-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 28px;
	align-items: start;
	margin-bottom: 36px;
}

.ms-panel {
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: 20px;
	box-shadow: var(--ms-shadow);
	padding: 28px 32px 32px;
	margin-bottom: 24px;
}

.ms-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--ms-muted);
}

.ms-crumbs a {
	color: #b7791f;
	font-weight: 500;
}

.ms-panel-title {
	margin: 0 0 22px;
	padding-bottom: 14px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ms-maroon);
	background: linear-gradient(var(--ms-gold), var(--ms-gold)) no-repeat left bottom / 64px 4px;
}

.ms-sub-title {
	margin: 36px 0 16px;
	font-size: 22px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-panel .ms-share {
	justify-content: flex-start;
	margin-bottom: 20px;
}

.ms-lead-img {
	margin: 0 0 22px;
	text-align: center;
}

.ms-lead-img img {
	border-radius: var(--ms-radius);
	max-height: 460px;
	width: auto;
}

/* Text written in the admin editor */
.ms-prose {
	font-size: 16px;
	line-height: 1.8;
	color: var(--ms-ink);
	overflow-wrap: break-word;
}

.ms-prose p {
	margin: 0 0 16px;
}

.ms-prose h1,
.ms-prose h2,
.ms-prose h3,
.ms-prose h4 {
	margin: 26px 0 12px;
	line-height: 1.3;
	color: var(--ms-maroon);
}

.ms-prose h1 { font-size: 26px; }
.ms-prose h2 { font-size: 22px; }
.ms-prose h3 { font-size: 19px; }
.ms-prose h4 { font-size: 17px; }

.ms-prose ul,
.ms-prose ol {
	margin: 0 0 16px 24px;
	padding: 0;
}

.ms-prose ul li { list-style: disc; }
.ms-prose ol li { list-style: decimal; }

.ms-prose a {
	color: var(--ms-maroon);
	text-decoration: underline;
}

.ms-prose img {
	max-width: 100%;
	height: auto !important;
	border-radius: 10px;
}

.ms-prose table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	margin-bottom: 16px;
}

.ms-prose td,
.ms-prose th {
	padding: 8px 12px;
	border: 1px solid var(--ms-line);
	vertical-align: top;
}

.ms-prose iframe {
	max-width: 100%;
}

/* Lists of articles and news */
.ms-list-item {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--ms-line);
}

.ms-list-item:first-child {
	padding-top: 0;
}

.ms-list-item:last-child {
	border-bottom: 0;
}

.ms-list-img {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	background: var(--ms-gold-soft) url(../images/apps/marwari-vrat-tyohar.png) no-repeat center / 56px;
	aspect-ratio: 16 / 10;
}

.ms-list-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ms-list-item h2 {
	margin: 0 0 8px !important;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
}

.ms-list-item h2 a {
	color: var(--ms-ink);
}

.ms-list-item h2 a:hover {
	color: var(--ms-maroon);
	text-decoration: none;
}

.ms-list-item p {
	margin: 0 0 10px;
	color: var(--ms-muted);
}

.ms-list-item .ms-card-link {
	margin: 0;
}

.ms-cards-small {
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
}

.ms-cards-small .ms-card h3 {
	margin: 10px 12px 12px;
	font-size: 14px;
}

.ms-cards-small .ms-card-img {
	aspect-ratio: 16 / 10;
}

/* Page links */
.ms-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
}

.ms-pages a,
.ms-pages span {
	min-width: 40px;
	padding: 8px 14px;
	border: 1px solid var(--ms-line);
	border-radius: 999px;
	text-align: center;
	font-weight: 600;
	color: var(--ms-ink);
	background: #fff;
}

.ms-pages a:hover {
	border-color: var(--ms-gold);
	background: var(--ms-gold-soft);
	text-decoration: none;
}

.ms-pages .ms-pages-current {
	background: var(--ms-maroon);
	border-color: var(--ms-maroon);
	color: #fff;
}

.ms-pages .ms-pages-gap {
	border: 0;
	background: none;
	min-width: 0;
	padding: 8px 2px;
}

/* Messages */
.ms-notice {
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: 12px;
	border: 1px solid var(--ms-line);
	background: var(--ms-gold-soft);
	font-weight: 500;
}

.ms-notice-ok {
	background: #e8f6ec;
	border-color: #b5dfc1;
	color: #14532d;
}

.ms-notice-error {
	background: #fdecec;
	border-color: #f3b8b8;
	color: #7a1424;
}

/* Side column */
.ms-side-card {
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: 20px;
	box-shadow: var(--ms-shadow);
	padding: 20px;
	margin-bottom: 20px;
}

.ms-side-card h2 {
	margin: 0 0 14px !important;
	padding-bottom: 10px;
	font-size: 18px;
	font-weight: 600;
	color: var(--ms-maroon);
	border-bottom: 3px solid var(--ms-gold);
}

.ms-side-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-side-list li {
	list-style: none;
	border-bottom: 1px dashed var(--ms-line);
}

.ms-side-list li:last-child {
	border-bottom: 0;
}

.ms-side-list a {
	display: block;
	padding: 8px 4px;
	font-weight: 500;
	color: var(--ms-ink);
}

.ms-side-list a::before {
	content: "\203A";
	margin-right: 8px;
	color: var(--ms-gold);
	font-weight: 700;
}

.ms-side-list a:hover {
	color: var(--ms-maroon);
	text-decoration: none;
}

.ms-side-ads {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 14px;
}

.ms-btn-block {
	display: block;
	text-align: center;
}

.ms-side-apps a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	font-weight: 500;
	color: var(--ms-ink);
}

.ms-side-apps img {
	flex: 0 0 44px;
	border-radius: 11px;
}

.ms-page-main .banner {
	height: auto !important;
	text-align: center;
}

.ms-page-main .banner img {
	border-radius: 10px;
}

@media (max-width: 980px) {
	.ms-page {
		grid-template-columns: 1fr;
	}

	.ms-side-ads {
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	}
}

@media (max-width: 560px) {
	.ms-panel {
		padding: 20px 18px 24px;
		border-radius: 16px;
	}

	.ms-panel-title {
		font-size: 24px;
	}

	.ms-list-item {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ms-prose {
		font-size: 15px;
	}
}

/* ---------- Filters, directories, classifieds, details ---------- */

.ms-intro {
	margin: 0 0 18px;
	font-size: 16px;
	color: var(--ms-muted);
}

.ms-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	margin: 0 0 26px;
	padding: 18px;
	background: var(--ms-gold-soft);
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
}

.ms-filter label {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--ms-muted);
}

.ms-filter input[type=text],
.ms-filter select,
.ms-form input[type=text],
.ms-form input[type=email],
.ms-form input[type=tel],
.ms-form input[type=password],
.ms-form input[type=file],
.ms-form select,
.ms-form textarea {
	width: 100%;
	box-sizing: border-box;
	height: auto;
	padding: 10px 14px;
	border: 1px solid #dcc9a6;
	border-radius: 10px;
	background: #fff;
	color: var(--ms-ink);
	font-family: var(--ms-font);
	font-size: 15px;
	font-weight: 400;
}

.ms-filter input:focus,
.ms-filter select:focus,
.ms-form input:focus,
.ms-form select:focus,
.ms-form textarea:focus {
	outline: 2px solid var(--ms-gold);
	border-color: var(--ms-gold);
}

.ms-result-count {
	margin: 0 0 16px;
	font-weight: 600;
	color: var(--ms-muted);
}

.ms-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px !important;
	font-size: 13px;
	font-weight: 500;
	color: #b7791f;
}

.ms-tag {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--ms-gold);
	color: var(--ms-ink);
	font-size: 12px;
	font-weight: 600;
}

.ms-classified-premium {
	margin: 0 -14px;
	padding-left: 14px !important;
	padding-right: 14px;
	background: var(--ms-gold-soft);
	border-radius: 14px;
	border-bottom: 0;
}

.ms-chip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-chip-grid li {
	list-style: none;
}

.ms-chip-grid a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	height: 100%;
	padding: 10px 14px;
	border: 1px solid var(--ms-line);
	border-radius: 12px;
	background: #fff;
	font-weight: 500;
	color: var(--ms-ink);
}

.ms-chip-grid a:hover {
	border-color: var(--ms-gold);
	background: var(--ms-gold-soft);
	color: var(--ms-maroon);
	text-decoration: none;
}

.ms-chip-grid a span {
	min-width: 24px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--ms-maroon);
	color: #fff;
	font-size: 12px;
	text-align: center;
}

/* Directory cards (community, dharamshalas) */
.ms-dir {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.ms-dir-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	background: #fff;
	box-shadow: var(--ms-shadow);
	color: var(--ms-ink);
	transition: transform 0.15s, box-shadow 0.15s;
}

a.ms-dir-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ms-shadow-lift);
	color: var(--ms-ink);
	text-decoration: none;
}

.ms-dir-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 8px;
	border-radius: 14px;
	background: var(--ms-gold-soft);
	font-size: 22px;
}

.ms-dir-card strong {
	font-size: 17px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-dir-card span {
	font-size: 14px;
	color: var(--ms-muted);
}

.ms-dir-card em {
	margin-top: 8px;
	font-style: normal;
	font-size: 14px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-dir-phone {
	margin-top: 8px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-callout {
	margin-top: 28px;
	padding: 20px 24px;
	border: 2px dashed var(--ms-gold);
	border-radius: var(--ms-radius);
	background: var(--ms-gold-soft);
}

.ms-callout h3 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-callout p {
	margin: 0;
}

.ms-callout a {
	color: var(--ms-maroon);
	font-weight: 600;
}

/* People (office bearers, team) */
.ms-people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 18px;
	margin-bottom: 8px;
}

.ms-person {
	margin: 0;
	text-align: center;
}

.ms-person img,
.ms-person-blank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--ms-radius);
	background: var(--ms-gold-soft);
	font-size: 48px;
	box-shadow: var(--ms-shadow);
}

.ms-person figcaption {
	display: flex;
	flex-direction: column;
	margin-top: 10px;
}

.ms-person strong {
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-person span {
	font-size: 13px;
	color: var(--ms-muted);
}

/* Detail with facts */
.ms-detail {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 22px;
}

.ms-detail-img {
	flex: 0 1 320px;
	margin: 0;
}

.ms-detail-img img {
	border-radius: var(--ms-radius);
	box-shadow: var(--ms-shadow);
}

.ms-facts {
	flex: 1 1 260px;
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 8px 18px;
	align-content: start;
	margin: 0;
}

.ms-facts dt {
	font-weight: 600;
	color: var(--ms-muted);
}

.ms-facts dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.ms-facts a {
	color: var(--ms-maroon);
	font-weight: 600;
}

/* ---------- Media, downloads, store ---------- */

.ms-callout-top {
	margin: 0 0 22px;
}

.ms-files {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-files li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--ms-line);
	list-style: none;
}

.ms-files li:last-child {
	border-bottom: 0;
}

.ms-file-icon {
	flex: 0 0 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ms-gold-soft);
	font-size: 22px;
}

.ms-file-name {
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
}

.ms-file-name strong {
	font-size: 17px;
	font-weight: 600;
}

.ms-file-name span {
	font-size: 13px;
	color: var(--ms-muted);
}

.ms-card-img-tall img {
	aspect-ratio: 3 / 4;
}

.ms-card-img-square img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}

.ms-cards-store {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.ms-price {
	margin: 0 18px 10px !important;
	font-size: 18px !important;
	font-weight: 700;
	color: var(--ms-maroon) !important;
}

.ms-price-big {
	margin: 0 0 14px !important;
	font-size: 28px !important;
}

.ms-detail-side {
	flex: 1 1 280px;
	min-width: 0;
}

.ms-gallery-item small {
	font-weight: 400;
	opacity: 0.85;
}

.ms-video-item::after {
	content: "\25B6";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 52px;
	height: 52px;
	margin: -36px 0 0 -26px;
	border-radius: 50%;
	background: rgba(122, 20, 36, 0.9);
	color: #fff;
	font-size: 18px;
	line-height: 52px;
	text-align: center;
	text-indent: 4px;
}

.ms-video-item:not(:has(img)) {
	aspect-ratio: 4 / 3;
}

.ms-embed {
	position: relative;
	margin-bottom: 20px;
	border-radius: var(--ms-radius);
	overflow: hidden;
	background: #000;
	aspect-ratio: 16 / 9;
}

.ms-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ms-photos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 12px;
}

.ms-photos a {
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	background: var(--ms-gold-soft);
}

.ms-photos img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.3s;
}

.ms-photos a:hover img {
	transform: scale(1.06);
}

.ms-photos span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 22px 10px 8px;
	background: linear-gradient(transparent, rgba(36, 23, 20, 0.85));
	color: #fff;
	font-size: 13px;
}

.ms-lightbox {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 10, 8, 0.92);
}

.ms-lightbox[hidden] {
	display: none;
}

.ms-lightbox figure {
	margin: 0;
	max-width: 90vw;
	text-align: center;
}

.ms-lightbox img {
	max-width: 90vw;
	max-height: 82vh;
	border-radius: 8px;
}

.ms-lightbox figcaption {
	margin-top: 10px;
	color: #fff;
}

.ms-lightbox button {
	position: absolute;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.ms-lightbox-close { top: 16px; right: 16px; }
.ms-lightbox-prev { left: 16px; top: 50%; margin-top: -24px; }
.ms-lightbox-next { right: 16px; top: 50%; margin-top: -24px; }

.ms-songs {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	counter-reset: song;
}

.ms-songs li {
	list-style: none;
	border-bottom: 1px solid var(--ms-line);
}

.ms-songs a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 6px;
	font-size: 16px;
	font-weight: 500;
	color: var(--ms-ink);
}

.ms-songs a span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ms-maroon);
	color: #fff;
	font-size: 12px;
}

.ms-songs a:hover {
	color: var(--ms-maroon);
	text-decoration: none;
}

.ms-player {
	margin-bottom: 22px;
	padding: 24px;
	border-radius: var(--ms-radius);
	background: var(--ms-gold-soft);
	text-align: center;
}

.ms-player audio {
	width: 100%;
	max-width: 520px;
}

/* ---------- Forms and member pages ---------- */

.ms-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.ms-form-narrow {
	max-width: 440px;
}

.ms-form label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--ms-ink);
}

.ms-form textarea {
	resize: vertical;
}

.ms-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.ms-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

.ms-form-actions a,
.ms-form-note a {
	color: var(--ms-maroon);
	font-weight: 600;
}

.ms-form-note {
	margin: 0;
	color: var(--ms-muted);
}

.ms-field-msg {
	font-style: normal;
	font-weight: 500;
	color: #b3261e;
}

/* Hidden field that only spam programs fill in */
.ms-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.ms-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ms-line);
}

.ms-tabs a {
	padding: 8px 18px;
	border: 1px solid var(--ms-line);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	color: var(--ms-ink);
}

.ms-tabs a:hover {
	border-color: var(--ms-gold);
	background: var(--ms-gold-soft);
	text-decoration: none;
}

.ms-tabs a.ms-tab-current {
	background: var(--ms-maroon);
	border-color: var(--ms-maroon);
	color: #fff;
}

.ms-two {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 36px;
}

.ms-sub-title-first {
	margin-top: 0;
}

.ms-footer #writecomment input[type=email],
.ms-footer #writecomment input[type=tel] {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-radius: 10px;
	padding: 10px 12px;
	color: var(--ms-ink);
	background: #fff;
}
/* Pages written in the admin editor sometimes carry the old theme's own heading bar and box */
.ms-prose .block-title {
	display: none;
}

.ms-prose .block,
.ms-prose .block-content,
.ms-prose .wide-article {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

/* ---------- Home page photo album blocks ---------- */

.ms-albums {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
}

.ms-album {
	background: #fff;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	box-shadow: var(--ms-shadow);
	padding: 18px;
}

.ms-album-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--ms-gold);
}

.ms-album-head h3 {
	margin: 0;
	font-size: 19px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-album-head a {
	font-size: 14px;
	font-weight: 600;
	color: var(--ms-maroon);
	white-space: nowrap;
}

.ms-album-photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.ms-album-photos a {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	background: var(--ms-gold-soft);
}

.ms-album-photos img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.3s;
}

.ms-album-photos a:hover img {
	transform: scale(1.07);
}

.ms-songs small {
	font-weight: 400;
	color: var(--ms-muted);
}

/* The old theme removes the top margin of every h2; restore it for section headings inside pages */
.ms-sub-title {
	margin-top: 36px !important;
}

.ms-sub-title-first {
	margin-top: 0 !important;
}
/* Safety net for text written in the admin editor: nothing may be wider than its box */
.ms-prose {
	overflow-x: auto;
}

.ms-prose * {
	max-width: 100%;
	box-sizing: border-box;
}

.ms-prose div,
.ms-prose p,
.ms-prose span,
.ms-prose ul,
.ms-prose ol {
	width: auto !important;
	float: none !important;
	position: static !important;
}
/* Box inviting visitors to one of our apps, on the topics it matches */
.ms-app-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
	padding: 18px 22px;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	background: var(--ms-gold-soft);
}

.ms-app-box img {
	flex: 0 0 64px;
	border-radius: 16px;
}

.ms-app-box div {
	flex: 1 1 240px;
}

.ms-app-box strong {
	font-size: 17px;
	color: var(--ms-maroon);
}

.ms-app-box p {
	margin: 2px 0 0;
	color: var(--ms-muted);
}
/* ---------- Vrat katha sections and festival dates ---------- */

[lang=hi] {
	font-family: "Noto Sans Devanagari", var(--ms-font);
}

.ms-vrat-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 14px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.ms-vrat-tiles li {
	list-style: none;
}

.ms-vrat-tiles a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	height: 100%;
	padding: 18px 10px 16px;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	background: linear-gradient(180deg, #fff, var(--ms-gold-soft));
	box-shadow: var(--ms-shadow);
	text-align: center;
	color: var(--ms-ink);
	transition: transform 0.15s, box-shadow 0.15s;
}

.ms-vrat-tiles a:hover {
	transform: translateY(-4px);
	box-shadow: var(--ms-shadow-lift);
	text-decoration: none;
}

.ms-vrat-tiles img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	margin-bottom: 6px;
}

.ms-vrat-tiles strong {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ms-maroon);
}

.ms-vrat-tiles span {
	font-size: 13px;
	color: var(--ms-muted);
}

.ms-katha-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-katha-list li {
	list-style: none;
}

.ms-katha-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: 100%;
	padding: 14px 18px;
	border: 1px solid var(--ms-line);
	border-left: 4px solid var(--ms-gold);
	border-radius: 12px;
	background: #fff;
	font-size: 17px;
	font-weight: 600;
	color: var(--ms-ink);
}

.ms-katha-list a:hover {
	border-left-color: var(--ms-maroon);
	background: var(--ms-gold-soft);
	color: var(--ms-maroon);
	text-decoration: none;
}

.ms-katha-list small {
	min-width: 26px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--ms-maroon);
	color: #fff;
	font-size: 12px;
	text-align: center;
}

.ms-katha {
	font-size: 18px;
	line-height: 2;
}

.ms-lang-tabs {
	margin-top: 32px;
}

.ms-upcoming {
	margin: 24px 0;
	padding: 18px 22px;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius);
	background: #fff;
	box-shadow: var(--ms-shadow);
}

.ms-upcoming-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--ms-gold);
}

.ms-upcoming-head h3 {
	margin: 0;
	font-size: 19px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-upcoming-head a {
	font-size: 14px;
	font-weight: 600;
	color: var(--ms-maroon);
}

.ms-upcoming ul,
.ms-dates {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-upcoming li,
.ms-dates li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border: 1px solid var(--ms-line);
	border-radius: 12px;
	background: #fff;
	list-style: none;
	font-size: 16px;
	font-weight: 500;
}

.ms-date-chip {
	flex: 0 0 62px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 4px;
	border-radius: 10px;
	background: var(--ms-maroon);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
}

.ms-date-chip small {
	font-size: 11px;
	font-weight: 500;
}

.ms-dates .ms-date-festival {
	border-color: var(--ms-gold);
	background: var(--ms-gold-soft);
}

.ms-dates .ms-date-vrat .ms-date-chip {
	background: #a8763a;
}

.ms-dates em {
	font-style: normal;
	font-size: 13px;
	color: var(--ms-muted);
}

.ms-dates li small {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: var(--ms-muted);
}

.ms-btn-whatsapp {
	background: #1f7a3d;
}

.ms-btn-whatsapp:hover {
	background: #17602f;
}
/* Cards whose article has no picture keep the same shape */
.ms-card-img {
	aspect-ratio: 16 / 10;
	background: var(--ms-gold-soft) url(../images/apps/marwari-vrat-tyohar.png) no-repeat center / 64px;
	overflow: hidden;
}

.ms-card-img-tall {
	aspect-ratio: 3 / 4;
}

.ms-card-img-square {
	aspect-ratio: 1 / 1;
	background: #fff;
}

.ms-card-img img {
	height: 100%;
}
/* ---------- Festival dates: clearer colours ----------
   Festival: solid maroon date on a warm yellow row, bold name.
   Vrat:     plain white row, light date box with dark maroon text. */

.ms-date-chip small,
.ms-dates li .ms-date-chip small,
.ms-upcoming li .ms-date-chip small {
	display: block;
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	opacity: 0.95;
}

.ms-dates li {
	color: var(--ms-ink);
}

.ms-dates .ms-date-festival,
.ms-dates .ms-date-holiday,
.ms-dates .ms-date-jayanti {
	border: 1px solid #e9a820;
	background: #fff3cf;
	font-weight: 700;
	color: var(--ms-maroon-dark);
}

.ms-dates .ms-date-festival .ms-date-chip,
.ms-dates .ms-date-holiday .ms-date-chip,
.ms-dates .ms-date-jayanti .ms-date-chip {
	background: var(--ms-maroon);
	color: #fff;
}

.ms-dates .ms-date-vrat {
	border: 1px solid var(--ms-line);
	background: #fff;
	font-weight: 500;
}

.ms-dates .ms-date-vrat .ms-date-chip {
	background: #fbeedd;
	border: 1px solid #e6cfa6;
	color: var(--ms-maroon-dark);
}

.ms-dates .ms-date-vrat .ms-date-chip small {
	color: #6d4b1f;
	opacity: 1;
}

.ms-dates li > span:last-child > small,
.ms-dates em {
	color: #5f4d42;
	font-weight: 400;
}

.ms-legend {
	display: flex;
	gap: 18px;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
}

.ms-legend span::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 6px;
	border-radius: 4px;
	vertical-align: -3px;
}

.ms-legend-festival::before {
	background: var(--ms-maroon);
}

.ms-legend-vrat::before {
	background: #fbeedd;
	border: 1px solid #e6cfa6;
}

/* Opening of a katha, fading out towards the app box */
.ms-katha-preview {
	position: relative;
	max-height: 260px;
	overflow: hidden;
}

.ms-katha-preview::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

.ms-app-box-strong {
	margin-top: 8px;
	margin-bottom: 22px;
	border: 2px solid var(--ms-gold);
}

/* An empty premium place beside the slider */
.ms-ad-free {
	flex-direction: column;
	gap: 6px;
	padding: 12px;
	border: 2px dashed var(--ms-gold);
	background: var(--ms-gold-soft);
	text-align: center;
	color: var(--ms-maroon);
}

.ms-ad-free strong {
	font-size: 15px;
	line-height: 1.3;
}

.ms-ad-free span {
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--ms-maroon);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.ms-ad-free:hover {
	color: var(--ms-maroon);
	text-decoration: none;
}

.ms-prose th {
	background: var(--ms-gold-soft);
	color: var(--ms-maroon);
	text-align: left;
}
/* Fixed places for Google ads. The box, with its label, hides when Google has no ad to show. */
.ms-google-ad {
	margin: 0 0 24px;
	text-align: center;
	overflow: hidden;
}

.ms-google-ad-home {
	margin-bottom: 52px;
}

.ms-google-ad:has(ins[data-ad-status="unfilled"]) {
	display: none;
}

.ms-google-ad:not(:has(ins[data-ad-status="filled"])) .ms-banner-ad-label {
	visibility: hidden;
}