/*
Theme Name: Mother India
Theme URI: https://motherindiamagazine.com/
Author: LAPA Media and Entertainment Pvt Ltd
Description: मदर इंडिया — हिन्दी समाचार पोर्टल और मासिक पत्रिका थीम। ब्रेकिंग न्यूज़, AdSense विज्ञापन स्थान, ई-मैगज़ीन और मोबाइल-फ़्रेंडली डिज़ाइन।
Version: 0.3.0
Requires at least: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: mother-india
*/

/* ---------- Tokens (from the Mother India logo: red, black, yellow) ---------- */
:root {
	--red: #d7141a;
	--red-dark: #a80f14;
	--black: #151515;
	--bar: #7a0c10;
	--maroon: #7a0c10;
	--maroon-dark: #540709;
	--maroon-deep: #3a0507;
	--yellow: #ffd21f;
	--page: #f2f2f2;
	--white: #ffffff;
	--ink: #141414;
	--ink-2: #3c3c3c;
	--muted: #6b6b6b;
	--rule: #e6e6e6;
	--head: "Noto Sans Devanagari", "Mukta", system-ui, sans-serif;
	--sans: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
	--wrap: 1240px;
	--gutter: 12px;
	--r: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
.screen-reader-text, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--black); color: #fff; padding: 8px 14px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* Labels and small text */
.cat { display: inline-block; font-size: 13px; font-weight: 700; color: var(--red); line-height: 1.3; }
.cat--solid { background: var(--red); color: #fff; padding: 2px 8px 1px; border-radius: 3px; font-size: 12px; }
a.cat--solid:hover { background: var(--red-dark); color: #fff; }
.time { display: block; font-size: 12px; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--red); }
.meta { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 20px 6px; border-radius: var(--r); font-family: var(--sans); font-size: 16px; font-weight: 700; border: 2px solid transparent; cursor: pointer; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: #ffdf55; color: var(--black); }
.btn--ghost { border-color: var(--black); color: var(--black); }
.btn--ghost:hover { background: var(--black); color: #fff; }
.btn--outline-light { border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--black); }
.btn--block { width: 100%; }
.btn--disabled { background: var(--rule); color: var(--muted); cursor: default; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }

/* ---------- Top bar ---------- */
.topbar { background: var(--maroon-dark); color: #f3dcdc; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; gap: 14px; min-height: 40px; }
.topbar__date { color: #f3dcdc; font-weight: 500; }
.topbar__link { color: var(--yellow); font-weight: 700; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar__search { display: none; }
.topbar__search input { width: 200px; height: 32px; border: 1px solid #8c2a2e; border-right: 0; border-radius: 4px 0 0 4px; padding: 0 10px; font: inherit; font-size: 14px; }
.topbar__search button { height: 32px; border: 0; background: var(--yellow); color: var(--black); color: #fff; font-weight: 700; padding: 0 12px; border-radius: 0 4px 4px 0; cursor: pointer; }
.btn-live { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 4px; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .03em; }
.btn-live:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-live svg { width: 16px; height: 16px; }

/* ---------- Logo + category bar ---------- */
.headbar { position: sticky; top: 0; z-index: 30; background: var(--maroon); color: #fff; border-bottom: 3px solid var(--yellow); }
.admin-bar .headbar { top: 46px; }
@media (min-width: 783px) { .admin-bar .headbar { top: 32px; } }
@media (max-width: 600px) { .admin-bar .headbar { top: 0; } }
.headbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 60px; }
@media (max-width: 1023px) {
	.headbar__inner { padding-top: 6px; }
	.headbar .catnav { display: block; order: 10; flex: 1 0 100%; padding-bottom: 8px; }
	.headbar .catnav .nav__list a { font-size: 15px; padding: 5px 10px 3px; }
}
.brand { flex: 0 0 auto; background: #fff; border-radius: 4px; padding: 4px 8px; display: block; }
.brand__logo { width: 118px; height: auto; }
.catnav { flex: 1 1 auto; min-width: 0; display: none; }
.catnav .nav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.catnav .nav__list::-webkit-scrollbar { display: none; }
.catnav .nav__list a { display: inline-block; padding: 7px 12px 5px; border-radius: 4px; font-size: 16px; font-weight: 600; color: #fbeaea; background: rgba(255,255,255,.1); }
.catnav .nav__list a:hover { background: rgba(255,255,255,.2); color: #fff; }
.catnav .current-menu-item > a, .catnav .current-cat > a { background: var(--yellow); color: var(--black); }
.btn-mag { flex: 0 0 auto; margin-left: auto; background: var(--yellow); color: var(--black); font-weight: 700; font-size: 15px; padding: 6px 12px 4px; border-radius: 4px; }
.btn-mag:hover { background: #ffdf55; color: var(--black); }
.headbar__menu { margin-left: -8px; }
.headbar__search { margin-right: -8px; }

.search-panel { background: var(--white); border-bottom: 1px solid var(--rule); padding: 12px 0; }
.search-form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.search-form__input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 8px 12px; font: inherit; border: 1px solid #cfcfcf; border-radius: var(--r); background: #fff; }

/* ---------- Breaking ticker ---------- */
.breaking { background: var(--white); border-bottom: 1px solid var(--rule); }
.breaking__inner { display: flex; align-items: stretch; height: 40px; }
.breaking__label { flex: 0 0 auto; display: flex; align-items: center; padding: 0 12px; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; position: relative; }
.breaking__label::after { content: ""; position: absolute; right: -10px; top: 0; border-left: 10px solid var(--red); border-top: 20px solid transparent; border-bottom: 20px solid transparent; }
.breaking__track { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; padding-left: 16px; mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent); }
.breaking__items { display: flex; gap: 40px; white-space: nowrap; animation: mi-ticker 60s linear infinite; }
.breaking__items a, .breaking__items span { font-size: 15px; font-weight: 600; position: relative; }
.breaking__items a::before, .breaking__items span::before { content: "●"; color: var(--red); font-size: 9px; margin-right: 10px; vertical-align: 2px; }
.breaking:hover .breaking__items, .breaking:focus-within .breaking__items { animation-play-state: paused; }
@keyframes mi-ticker { to { transform: translateX(-50%); } }

/* ---------- Trending ---------- */
.trending { background: var(--white); border-bottom: 1px solid var(--rule); }
.trending__inner { display: flex; align-items: center; gap: 8px; min-height: 40px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.trending__inner::-webkit-scrollbar { display: none; }
.trending__label { font-weight: 700; color: var(--red); font-size: 14px; }
.trending__inner a { font-size: 14px; padding: 2px 10px; border: 1px solid #dcdcdc; border-radius: 999px; color: var(--ink-2); }
.trending__inner a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Drawer (mobile menu) ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.drawer__panel { position: relative; z-index: 1; height: 100%; width: min(86vw, 340px); background: #fff; padding: 14px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head img { width: 130px; }
.drawer .search-form { flex-direction: column; }
.drawer .nav__list { display: flex; flex-direction: column; }
.drawer .nav__list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--rule); font-size: 18px; font-weight: 600; }
.drawer .btn { margin-top: auto; }
body.drawer-open { overflow: hidden; }

/* ---------- Ads ---------- */
.ad-row { padding-top: 12px; padding-bottom: 4px; }
.ad { text-align: center; margin: 0 auto; }
.ad__label { display: block; font-size: 10px; color: #8a8a8a; letter-spacing: .1em; margin-bottom: 3px; }
.ad--placeholder .ad__box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 90px; padding: 10px; border: 1px dashed #bdbdbd; background: #fafafa; color: var(--muted); font-size: 13px; }
.ad--placeholder small { font-size: 11px; }
.ad--top { max-width: 728px; }
.ad--sidebar .ad__box { min-height: 250px; }
.entry .ad { margin: 24px 0; }

/* ---------- Boxes ---------- */
.box { background: var(--white); border-radius: var(--r); box-shadow: 0 1px 2px rgba(0,0,0,.06); overflow: hidden; }
.box__head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 12px; min-height: 44px; border-bottom: 2px solid var(--red); font-size: 18px; font-weight: 700; }
.box__head > span:first-child, .box__head > a:first-child { position: relative; padding-left: 12px; }
.box__head > span:first-child::before, .box__head > a:first-child::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--red); border-radius: 2px; }
.box__more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--red); }
.box--dark { background: var(--maroon); color: #fff; }
.box--dark .box__head { border-bottom-color: var(--yellow); }
.box--dark .box__head > span:first-child::before { background: var(--yellow); }


/* Mini list (thumb + title) */
.mini-list { padding: 4px 12px; }
.mini { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.mini:last-child { border-bottom: 0; }
.mini__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #e9e9e9; }
.mini__media img { width: 100%; height: 100%; object-fit: cover; }
.mini__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini__title { font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.thumb-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: #ececec; padding: 14%; }
.thumb-placeholder img { opacity: .35; width: 100%; height: auto; }

/* ---------- Home hero ---------- */
.hero { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "latest" "side"; padding-top: 12px; padding-bottom: 6px; }
.hero__main { grid-area: main; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero__latest { grid-area: latest; min-width: 0; }
.hero__side { grid-area: side; display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.slider { position: relative; border-radius: var(--r); overflow: hidden; background: var(--black); aspect-ratio: 16 / 11; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__link { display: block; position: relative; width: 100%; height: 100%; color: #fff; }
.slide__link:hover { color: #fff; }
.slide__link img, .slide__link .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.slide__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 14px 30px; background: linear-gradient(transparent, rgba(0,0,0,.88) 45%); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.slide__title { font-size: clamp(20px, 5.4vw, 30px); line-height: 1.35; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.slide__dek { display: none; font-size: 15px; color: #e6e6e6; }
.slider__nav { position: absolute; top: 22%; width: 36px; height: 44px; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.slider__nav:hover { background: var(--red); }
.slider__nav--prev { left: 0; border-radius: 0 4px 4px 0; }
.slider__nav--next { right: 0; border-radius: 4px 0 0 4px; }
.slider__dots { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 6px; z-index: 2; }
.slider__dots button { width: 22px; height: 22px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.slider__dots button::after { content: ""; position: absolute; left: 5px; top: 8px; width: 12px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); }
.slider__dots button.is-active::after { background: var(--yellow); width: 16px; left: 3px; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--black); color: #fff; }
.tile:hover { color: var(--yellow); }
.tile img, .tile .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.tile__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 8px 8px; background: linear-gradient(transparent, rgba(0,0,0,.9) 55%); font-family: var(--head); font-weight: 700; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.live-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; color: #fff; }
.live-card:hover { color: var(--yellow); }
.live-card__title { font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.45; }
.video__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #2a2a2a; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4); }

.mag-mini { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--red); color: #fff; }
.mag-mini:hover { color: #fff; background: var(--red-dark); }
.mag-mini img { border: 3px solid #fff; border-radius: 2px; }
.mag-mini__text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.mag-mini__eyebrow { color: var(--yellow); font-weight: 700; font-size: 13px; }
.mag-mini strong { font-family: var(--head); font-size: 20px; line-height: 1.3; }

/* ---------- Category blocks ---------- */
.catblocks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 12px; padding-bottom: 6px; }
.catblock__body { display: grid; grid-template-columns: minmax(0, 1fr); }
.catblock__big { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 6px; }
.catblock__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #e9e9e9; }
.catblock__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.catblock__media:hover img { transform: scale(1.03); }
.catblock__title { font-size: 19px; line-height: 1.45; font-weight: 700; }

/* ---------- Magazine band ---------- */
.magband { background: var(--maroon-deep); color: #fff; margin-top: 14px; border-top: 4px solid var(--red); border-bottom: 4px solid var(--yellow); }
.magband__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 28px; padding-bottom: 28px; align-items: center; }
.magband__cover { justify-self: center; width: min(58vw, 240px); transform: rotate(-3deg); border: 5px solid #fff; box-shadow: 10px 10px 0 var(--red); }
.magband__body { display: flex; flex-direction: column; gap: 10px; }
.magband__eyebrow { color: var(--yellow); font-weight: 700; font-size: 14px; }
.magband__title { font-size: clamp(26px, 5vw, 40px); line-height: 1.25; font-weight: 800; }
.magband__title a:hover { color: var(--yellow); }
.magband__date { color: #cfcfcf; font-weight: 600; }
.magband__text { color: #e0e0e0; font-size: 17px; max-width: 560px; }
.magband__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* ---------- Videos band ---------- */
.videoband { background: var(--maroon); color: #fff; padding: 22px 0 28px; }
.band-head { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid rgba(255,255,255,.2); }
.band-head > span { position: relative; padding-left: 14px; }
.band-head > span::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 6px; width: 5px; background: var(--yellow); border-radius: 2px; }
.band-head a { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--yellow); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.video { display: flex; flex-direction: column; gap: 8px; color: #fff; }
.video:hover { color: var(--yellow); }
.video .video__play { width: 40px; height: 40px; }
.video__title { font-family: var(--head); font-weight: 600; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Cards (related, lists) ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 12px; }
.card { display: flex; flex-direction: column; gap: 6px; }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #e9e9e9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 3px; }
.card__title { font-size: 15px; line-height: 1.45; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 12px; padding-bottom: 6px; }
.article { padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 10px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.crumbs a:hover { color: var(--red); }
.article .cat--solid { align-self: flex-start; }
.article__title { font-size: clamp(24px, 6vw, 38px); line-height: 1.4; font-weight: 800; }
.article__dek { font-size: 18px; line-height: 1.6; color: var(--ink-2); font-weight: 500; border-left: 4px solid var(--yellow); padding-left: 12px; }
.article__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.article__author { font-weight: 700; font-size: 15px; color: var(--red); }
.article__byline .time { display: inline; font-size: 13px; }
.article__figure { margin: 6px 0 0; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.article__figure figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }
.article-side { display: flex; flex-direction: column; gap: 14px; }

.entry { font-size: 19px; line-height: 1.9; color: #1d1d1d; }
.entry > * + * { margin-top: 1em; }
.entry h2, .entry h3 { line-height: 1.45; margin-top: 1.4em; }
.entry h2 { font-size: 24px; }
.entry h3 { font-size: 21px; }
.entry a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry img, .entry figure { margin-left: auto; margin-right: auto; border-radius: 4px; }
.entry blockquote { margin: 1.4em 0; padding: 12px 16px; background: #fff8d6; border-left: 4px solid var(--yellow); font-weight: 600; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry iframe { max-width: 100%; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-size: 14px; font-weight: 700; color: var(--muted); }
.share__btn { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px 2px; border-radius: 4px; color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none !important; }
.share__btn:hover { filter: brightness(1.1); }
.share__btn--whatsapp { background: #1fa855; }
.share__btn--facebook { background: #1877f2; }
.share__btn--x { background: #111; }
.share__btn--telegram { background: #229ed9; }
.article__share-end { padding-top: 14px; border-top: 1px solid var(--rule); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; font-size: 14px; padding: 3px 10px; background: #f1f1f1; border-radius: 4px; color: var(--ink-2); }
.related { padding-top: 6px; padding-bottom: 14px; }

/* ---------- Lists (category / search) ---------- */
.list-page { padding-top: 12px; padding-bottom: 20px; }
.list-page__head { background: var(--white); border-radius: var(--r); border-left: 5px solid var(--red); padding: 14px 16px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.list-page__title { font-size: clamp(24px, 5vw, 34px); font-weight: 800; line-height: 1.3; }
.list-page__desc { color: var(--muted); font-size: 16px; }
.list-page__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.list-page__items { background: var(--white); border-radius: var(--r); padding: 0 12px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.list-page__aside { display: flex; flex-direction: column; gap: 14px; }
.row-story { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.row-story__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #e9e9e9; align-self: start; }
.row-story__media img { width: 100%; height: 100%; object-fit: cover; }
.row-story__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row-story__title { font-size: 17px; line-height: 1.45; font-weight: 700; }
.row-story__dek { display: none; color: var(--ink-2); font-size: 15px; }
.list-page__items > .ad { margin: 14px 0; }
.empty { padding: 24px 0; color: var(--muted); font-size: 17px; }
.pagination { padding: 16px 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #d6d6d6; border-radius: 4px; font-weight: 700; background: #fff; }
.pagination .page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- E-magazine pages ---------- */
.issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; padding: 14px 0; }
.issue-card { display: flex; flex-direction: column; gap: 6px; background: #fff; padding: 10px; border-radius: var(--r); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.issue-card__cover { aspect-ratio: 3 / 4; overflow: hidden; background: #e9e9e9; }
.issue-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.issue-card__title { font-size: 16px; line-height: 1.4; }
.issue-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px 0 32px; }
.issue-page__cover { max-width: 360px; margin: 0 auto; border: 5px solid #fff; box-shadow: 10px 10px 0 var(--red); }
.issue-page__body { display: flex; flex-direction: column; gap: 12px; background: #fff; padding: 18px; border-radius: var(--r); }
.issue-page .article__title { font-size: clamp(24px, 5vw, 36px); }
.issue-page__note { font-size: 14px; color: var(--muted); }
.issue__date { font-weight: 600; color: var(--muted); }
.issue__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-article, .not-found { background: #fff; margin-top: 14px; margin-bottom: 20px; padding-top: 20px; padding-bottom: 28px; border-radius: var(--r); display: flex; flex-direction: column; gap: 14px; }

/* ---------- Brands & footer ---------- */
.brands { background: #fff; border-top: 1px solid var(--rule); padding: 22px 0; margin-top: 14px; }
.brands__title { text-align: center; font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.brands__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: center; }
.brands__item { display: flex; justify-content: center; align-items: center; padding: 10px; border: 1px solid var(--rule); border-radius: var(--r); min-height: 80px; }
.brands__item img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.footer { background: var(--maroon-deep); color: #ecd6d6; font-size: 15px; border-top: 4px solid var(--yellow); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 24px; }
.footer__about { display: flex; flex-direction: column; gap: 8px; }
.footer__logo { width: 170px; background: #fff; padding: 6px 10px; border-radius: 4px; }
.footer__rni { font-size: 13px; color: #9a9a9a; }
.footer h2 { font-size: 16px; color: var(--yellow); margin-bottom: 10px; }
.footer ul { display: flex; flex-direction: column; gap: 6px; }
.footer a { color: #f3e3e3; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.8; }
.footer__bottom { background: #260304; padding: 12px 0; font-size: 13px; color: #9a9a9a; text-align: center; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
	:root { --gutter: 16px; }
	.slider { aspect-ratio: 16 / 9; }
	.slide__dek { display: block; }
	.tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.catblocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.row-story { grid-template-columns: 200px 1fr; gap: 16px; }
	.row-story__title { font-size: 19px; }
	.row-story__dek { display: block; }
	.brands__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.issues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.magband__inner { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
	.magband__cover { width: 100%; }
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article { padding: 20px 24px 28px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
	.topbar__search { display: flex; }
	.headbar__menu, .headbar__search { display: none; }
	.catnav { display: block; }
	.btn-mag { margin-left: 0; }
	.brand__logo { width: 132px; }
	.hero { grid-template-columns: 300px minmax(0, 1fr) 300px; grid-template-areas: "latest main side"; padding-top: 14px; }
	.hero__latest .box { height: 100%; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tile { aspect-ratio: 16 / 9; }
	.tile__title { font-size: 15px; }
	.mini-list .mini { grid-template-columns: 84px 1fr; }
	.catblocks .catblock__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
	.catblocks .catblock__big { padding-bottom: 12px; }
	.catblocks .mini-list { padding-top: 6px; }
	.article-wrap { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
	.article-side { position: sticky; top: 80px; }
	.article { padding: 24px 36px 32px; }
	.list-page__layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
	.list-page__aside { position: sticky; top: 80px; }
	.issues { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.issue-page { grid-template-columns: 360px minmax(0, 1fr); gap: 36px; align-items: start; }
	.footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}

@media (max-width: 1023px) {
	.list-page__aside { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.breaking__track { overflow-x: auto; }
}

/* ---------- Language switch (हिंदी | English) ---------- */
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; overflow: hidden; }
.lang-switch a { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; font-size: 13px; font-weight: 700; color: #fbeaea; }
.lang-switch a:hover { background: rgba(255,255,255,.15); color: #fff; }
.lang-switch a.is-current { background: var(--yellow); color: var(--black); }
.lang-switch--drawer { border-color: var(--rule); align-self: flex-start; }
.lang-switch--drawer a { color: var(--ink); height: 38px; padding: 0 16px; font-size: 15px; }
.lang-switch--drawer a.is-current { background: var(--red); color: #fff; }
.lang-en body, body.lang-en { font-family: "Mukta", system-ui, sans-serif; }
@media (max-width: 480px) { .topbar__link { display: none; } .btn-live { padding: 0 8px; } }

/* ---------- Magazine cover scroller ---------- */
.covers { padding: 22px 0 26px; }
.covers--dark { background: var(--maroon-deep); color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
.covers--light { padding-top: 6px; }
.covers__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.covers__title { font-size: 22px; font-weight: 800; position: relative; padding-left: 14px; }
.covers__title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 6px; width: 5px; border-radius: 2px; background: var(--yellow); }
.covers--light .covers__title::before { background: var(--red); }
.covers__all { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--yellow); }
.covers--light .covers__all { color: var(--red); }
.covers__arrows { display: none; gap: 6px; }
.covers__btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--black); font-size: 26px; line-height: 1; cursor: pointer; }
.covers__btn:hover { background: #ffdf55; }
.covers__btn:disabled { opacity: .35; cursor: default; }
.covers__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--yellow) transparent;
	-webkit-overflow-scrolling: touch;
}
.covers--light .covers__track { scrollbar-color: var(--red) transparent; }
.covers__track:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.covers__item { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; color: inherit; }
.covers__item:hover { color: var(--yellow); }
.covers--light .covers__item:hover { color: var(--red); }
.covers__img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: rgba(0,0,0,.2); box-shadow: 0 6px 16px rgba(0,0,0,.35); transition: transform .25s; }
.covers__item:hover .covers__img { transform: translateY(-4px); }
.covers__img img { width: 100%; height: 100%; object-fit: cover; }
.covers__badge { position: absolute; top: 8px; left: 8px; background: var(--yellow); color: var(--black); font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 3px; }
.covers__name { font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.4; }
.covers__date { font-size: 12px; opacity: .8; }
.issues__heading { font-size: 20px; font-weight: 800; margin: 8px 0 0; }
@media (min-width: 640px) { .covers__track { grid-auto-columns: 26%; } .covers__arrows { display: flex; } }
@media (min-width: 1024px) { .covers__track { grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; } }

/* ---------- Home page intro: the magazine opens with the website inside ---------- */
/*
 * One CSS timeline (about 3 s), started by a single class. Everything moves with transform and
 * opacity only, so the phone's graphics chip runs it on its own: even if the page is still busy
 * loading, the page turn and the zoom never stop half way.
 *   0.00 to 0.40  cover settles in
 *   0.45 to 1.40  cover turns; the website appears inside the magazine
 *   1.40 to 1.55  short look at the page
 *   1.55 to 2.55  zoom into the page until it is the website
 */
html { scrollbar-gutter: stable; } /* no layout jump when the scrollbar comes back after the intro */
.mi-intro { display: none; }
.mi-intro-lock, .mi-intro-lock body { overflow: hidden; }
.mi-intro-on .mi-intro {
	display: block; position: fixed; inset: 0; z-index: 9999; overflow: hidden;
	animation: mi-intro-out .5s ease 8s forwards; /* safety: fades away even if the script never runs */
}
.mi-intro-play .mi-intro { animation: mi-intro-out .25s ease 2.55s forwards; }
.mi-intro.is-leaving { animation: mi-intro-out .3s ease forwards; }
.mi-book { position: absolute; inset: 0; perspective: 2000px; }
/* The page window. Everything around it is maroon (a huge shadow); the live website shows through it. */
.mi-book__page {
	position: absolute; left: 0; top: 0; width: var(--bw); height: var(--bh);
	transform: translate3d(var(--x0), var(--y0), 0);
	box-shadow: 0 0 0 160vmax #4a070a;
	border-radius: 2px 5px 5px 2px;
	will-change: transform, opacity;
}
.mi-intro-play .mi-book__page { animation: mi-page-move .95s cubic-bezier(.55,.05,.25,1) .45s both, mi-fade .9s ease 1.55s forwards; }
/* Paper feel on the inside page: a soft gutter shadow at the spine and a light sheen. */
.mi-book__page::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 1;
	background: linear-gradient(90deg, rgba(0,0,0,.38) 0, rgba(0,0,0,.12) 4%, transparent 11%, transparent 88%, rgba(255,255,255,.08) 100%);
	opacity: 0; will-change: opacity;
}
/* Stacked page edges on the right and bottom, like a real magazine. */
.mi-book__page::after {
	content: ""; position: absolute; top: 3px; bottom: -5px; right: -6px; width: 6px; pointer-events: none;
	background: repeating-linear-gradient(90deg, #f3ece0 0 1px, #cfc4b2 1px 2px);
	border-radius: 0 3px 3px 0; box-shadow: 0 4px 0 #cfc4b2;
	opacity: 0; will-change: opacity;
}
.mi-intro-play .mi-book__page::before, .mi-intro-play .mi-book__page::after { animation: mi-show .4s ease .6s both; }
/* The cover is in place from the very first frame, so nothing shows behind it before it opens. */
.mi-book__cover {
	position: absolute; left: 0; top: 0; width: var(--bw); height: var(--bh);
	transform-origin: left center; transform-style: preserve-3d;
	transform: translate3d(var(--x0), var(--y0), 0) scale(.94);
	will-change: transform; /* not opacity: that would flatten the 3D page turn */
}
.mi-intro-play .mi-book__cover { animation: mi-cover 1.4s both; }
/* Fade the two faces, never the cover itself: any opacity on the 3D cover flattens it and the
   inside page ("भरोसे के 27 वर्ष") would show the front cover mirrored instead. */
.mi-intro-play .mi-book__front, .mi-intro-play .mi-book__back { animation: mi-fade .3s ease 1.55s forwards; }
.mi-book__front, .mi-book__back { position: absolute; inset: 0; overflow: hidden; border-radius: 2px 5px 5px 2px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mi-book__front { background: #d7141a; box-shadow: 0 28px 60px rgba(0,0,0,.55), inset -3px 0 8px rgba(0,0,0,.25); }
.mi-book__front img { width: 100%; height: 100%; object-fit: cover; }
.mi-book__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.1) 5%, transparent 12%, transparent 85%, rgba(255,255,255,.06)); }
.mi-book__back {
	transform: rotateY(180deg); background: #fbf6ec;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12%; text-align: center;
	box-shadow: inset -14px 0 26px rgba(0,0,0,.2), 0 28px 60px rgba(0,0,0,.45);
}
.mi-book__back img { width: 82%; height: auto; }
.mi-book__year { font: 800 clamp(16px, 2.6vw, 30px)/1.3 "Noto Sans Devanagari", "Mukta", sans-serif; color: #7a0c10; }
.mi-book__note { font: 600 clamp(11px, 1.3vw, 15px)/1.4 "Mukta", sans-serif; color: #6b5a4a; }
.mi-intro__tag {
	position: absolute; left: 0; right: 0; top: calc(var(--y0) + var(--bh) + 22px); margin: 0; text-align: center;
	font: 800 clamp(20px, 3.4vw, 34px)/1.2 "Noto Sans Devanagari", "Mukta", sans-serif; letter-spacing: .02em; color: #ffd21f;
	text-shadow: 0 2px 10px rgba(0,0,0,.35);
	opacity: 0;
}
.mi-intro-play .mi-intro__tag { animation: mi-tag .5s ease .25s both, mi-fade .25s ease 1.5s forwards; }
.mi-intro__tag::before, .mi-intro__tag::after { content: ""; display: inline-block; width: 1.4em; height: 2px; background: currentColor; vertical-align: middle; margin: 0 .5em; opacity: .7; }
.mi-intro__skip {
	position: absolute; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 3;
	min-height: 40px; padding: 6px 16px 4px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
	background: rgba(0,0,0,.25); color: #fff; font: 600 14px "Mukta", sans-serif; cursor: pointer;
}
.mi-intro__skip:hover { background: rgba(255,255,255,.15); }
.mi-intro-play .mi-intro__skip { animation: mi-fade .2s ease 1.5s forwards; }
/* The website itself: hidden under the closed cover, then inside the page, then zoomed to full size. */
#mi-site { transform-origin: 0 0; }
.mi-intro-on #mi-site { will-change: transform, opacity; opacity: 0; transform: translate3d(var(--x0), var(--y0), 0) scale(var(--s)); animation: mi-show .3s ease 8s forwards; /* safety, like the overlay */ }
.mi-intro-play #mi-site { animation: mi-show .2s ease .5s both, mi-site-path 2.55s both; }

@keyframes mi-cover {
	0%   { transform: translate3d(var(--x0), var(--y0), 0) rotateY(0deg) scale(.94); animation-timing-function: cubic-bezier(.2,.8,.2,1); }
	29%  { transform: translate3d(var(--x0), var(--y0), 0) rotateY(0deg) scale(1); }
	32%  { transform: translate3d(var(--x0), var(--y0), 0) rotateY(0deg) scale(1); animation-timing-function: cubic-bezier(.55,.05,.25,1); }
	100% { transform: translate3d(var(--x1), var(--y0), 0) rotateY(-178deg) scale(1); }
}
@keyframes mi-page-move {
	from { transform: translate3d(var(--x0), var(--y0), 0); }
	to   { transform: translate3d(var(--x1), var(--y0), 0); }
}
@keyframes mi-site-path {
	0%     { transform: translate3d(var(--x0), var(--y0), 0) scale(var(--s)); }
	17.6%  { transform: translate3d(var(--x0), var(--y0), 0) scale(var(--s)); animation-timing-function: cubic-bezier(.55,.05,.25,1); }
	54.9%  { transform: translate3d(var(--x1), var(--y0), 0) scale(var(--s)); }
	60.8%  { transform: translate3d(var(--x1), var(--y0), 0) scale(var(--s)); animation-timing-function: cubic-bezier(.65,0,.25,1); }
	100%   { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes mi-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes mi-fade { to { opacity: 0; } }
@keyframes mi-tag { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mi-intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .mi-intro-on .mi-intro { display: none; } .mi-intro-lock, .mi-intro-lock body { overflow: auto; } .mi-intro-on #mi-site { opacity: 1; transform: none; } }

/* ---------- E-magazine reader ---------- */
.reader-wrap { padding-top: 12px; padding-bottom: 6px; display: flex; flex-direction: column; gap: 14px; }
.reader { --reader-zoom: 1; background: #3b0507; border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.reader__bar { position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 14px; background: var(--maroon); color: #fff; border-bottom: 3px solid var(--yellow); }
.reader__info { display: flex; flex-direction: column; min-width: 0; }
.reader__eyebrow { font-size: 12px; font-weight: 700; color: var(--yellow); }
.reader__title { font-size: clamp(18px, 3.4vw, 24px); line-height: 1.3; font-weight: 800; color: #fff; }
.reader__dates { font-size: 13px; color: #f1d6d6; }
.reader__tools { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.reader__count { font-size: 14px; font-weight: 700; color: #fff; min-width: 84px; text-align: right; }
.reader__btn { min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; background: rgba(255,255,255,.1); color: #fff; font: 700 18px var(--sans); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.reader__btn--wide { font-size: 14px; }
.reader__btn:hover { background: var(--yellow); color: var(--black); }
.reader__pages {
	display: grid; grid-template-columns: minmax(0, calc(100% * var(--reader-zoom))); justify-content: center; gap: 14px;
	padding: 16px 10px 24px; max-height: none; overflow-x: auto;
}
.reader__page { margin: 0; position: relative; background: #fffdf8; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.reader__page canvas, .reader__page img { display: block; width: 100%; height: auto; }
.reader__page--cover img { width: 100%; }
.reader__num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b9a9a9; font-weight: 700; }
.reader__page.is-ready .reader__num { display: none; }
.reader__status { text-align: center; color: #fbeaea; font-weight: 600; padding: 12px; margin: 0; }
.reader__fallback { display: inline-block; padding: 10px 18px; background: var(--yellow); color: var(--black); border-radius: 6px; font-weight: 800; }
.reader.is-full { position: fixed; inset: 0; z-index: 9000; border-radius: 0; overflow: auto; }
.reader:fullscreen { overflow: auto; border-radius: 0; }
.issue-about .entry { padding: 12px 16px 18px; }
@media (min-width: 900px) {
	/* Two pages side by side like an open magazine; the cover stands alone. */
	.reader__pages { grid-template-columns: repeat(2, minmax(0, calc(min(560px, 50%) * var(--reader-zoom)))); gap: 4px 2px; padding: 24px; }
	.reader__page--first, .reader__page--cover { grid-column: 1 / -1; justify-self: center; width: calc(min(560px, 50%) * var(--reader-zoom)); }
	.reader__page:nth-child(even):not(.reader__page--first) { box-shadow: -6px 6px 18px rgba(0,0,0,.35), inset -12px 0 18px -12px rgba(0,0,0,.35); }
	.reader__page:nth-child(odd):not(.reader__page--first) { box-shadow: 6px 6px 18px rgba(0,0,0,.35), inset 12px 0 18px -12px rgba(0,0,0,.35); }
}

@media (min-width: 1024px) { .reader__bar { position: sticky; top: 63px; } .admin-bar .reader__bar { top: 95px; } }

/* Home hero when there are no stories yet: the current magazine fills the slider's place. */
.hero-mag { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 22px; align-items: center; padding: 22px; border-radius: var(--r); background: linear-gradient(135deg, #7a0c10, #3a0507); color: #fff; min-height: 100%; }
.hero-mag:hover { color: #fff; }
.hero-mag__cover img { width: 100%; height: auto; border: 5px solid #fff; transform: rotate(-3deg); box-shadow: 10px 10px 0 var(--yellow); }
.hero-mag__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-mag__eyebrow { color: var(--yellow); font-weight: 700; font-size: 14px; }
.hero-mag__title { font-family: var(--head); font-weight: 800; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.25; }
.hero-mag__tag { font-family: var(--head); font-weight: 800; color: var(--yellow); font-size: clamp(18px, 2.4vw, 24px); }
@media (max-width: 560px) { .hero-mag { grid-template-columns: 1fr; text-align: center; } .hero-mag__text { align-items: center; } .hero-mag__cover { width: 70%; margin: 0 auto; } }

/* ---------- Page-flip magazine (Issuu style) ---------- */
.flip { background: radial-gradient(ellipse at 50% 40%, #6d0b0f 0%, #3a0507 70%); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.15); color: #fff; }
.flip__stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px 10px 10px; min-height: 320px; }
.flip__book { width: 100%; max-width: 1100px; margin: 0 auto; transition: max-width .2s; }
.flip__page { background: #fffdf8; overflow: hidden; }
.flip__page img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.flip:not(.is-ready) .flip__page:not(:first-child) { display: none; }
.flip--static .flip__page { display: block !important; margin-bottom: 12px; }
.flip__arrow { flex: 0 0 auto; width: 46px; height: 64px; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-size: 38px; line-height: 1; cursor: pointer; z-index: 2; }
.flip__arrow:hover { background: var(--yellow); color: var(--black); }
.flip__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 8px 16px 18px; }
.flip__count { font-weight: 800; min-width: 110px; text-align: center; }
.flip__range { width: min(420px, 60vw); accent-color: var(--yellow); }
.flip__hint { font-size: 13px; color: #f1d6d6; }
.flip__zoom { position: fixed; inset: 0; z-index: 9500; background: rgba(20,3,4,.97); display: flex; flex-direction: column; }
.flip__zoom[hidden] { display: none; }
.flip__zoombar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--maroon); border-bottom: 3px solid var(--yellow); font-weight: 700; }
.flip__zoomlabel { flex: 1 1 auto; min-width: 0; font-size: 15px; }
.flip__zoomtools { display: flex; align-items: center; gap: 6px; }
.flip__zoomtools .reader__btn { min-width: 44px; font-size: 24px; line-height: 1; padding: 6px 10px; }
.flip__zoompct { min-width: 48px; text-align: center; font-size: 14px; }
/* Our own pinch-zoom: the browser only scrolls here (one finger); two fingers zoom the page images. */
.flip__zoompages { flex: 1 1 auto; overflow: auto; padding: 10px; overscroll-behavior: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.flip__zoominner { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 auto; }
.flip__zoominner img { display: block; max-width: none; height: auto; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.flip-zooming, .flip-zooming body { overflow: hidden; }
/* Full screen: title bar on top, magazine in the middle, page slider at the bottom; nothing overlaps. */
.flip.is-full { position: fixed; inset: 0; z-index: 100000; border-radius: 0; }
.flip.is-full, .flip:fullscreen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; border-radius: 0; }
.flip.is-full .flip__stage, .flip:fullscreen .flip__stage { min-height: 0; padding: 12px 10px; overflow: hidden; }
.flip.is-full .flip__nav, .flip:fullscreen .flip__nav { padding: 6px 16px 10px; }
.flip__book { transition: max-width .2s, transform .45s ease; }
.flip-full-open, .flip-full-open body { overflow: hidden; }
@media (max-width: 560px) { .flip__zoombar { padding: 8px 10px; gap: 8px; } .flip__zoomlabel { font-size: 13px; } }
@media (max-width: 560px) { .flip__arrow { position: absolute; top: 45%; width: 36px; height: 52px; font-size: 30px; background: rgba(0,0,0,.35); } .flip__arrow--prev { left: 4px; } .flip__arrow--next { right: 4px; } .flip__hint { display: none; } }

/* ---------- Google Translate (English): hide Google's own bar and highlights ---------- */
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
html.is-translated body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }
.share__btn--copy { background: #fff; color: var(--ink-2) !important; border: 1px solid #d0d0d0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; }
.share__btn--copy:hover { border-color: var(--red); color: var(--red) !important; }

/* ---------- About: editor profile ---------- */
.editor-card { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; align-items: start; margin: 28px 0; padding: 22px; background: linear-gradient(135deg, #fff 0%, #fff7f0 100%); border: 1px solid #eadcd2; border-top: 5px solid var(--maroon); border-radius: var(--r); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.entry .editor-card > * + * { margin-top: 0; }
.editor-card__photo { margin: 0; }
.editor-card__photo img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.editor-card__photo figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); text-align: center; }
.editor-card__eyebrow { display: inline-block; background: var(--yellow); color: #1d1d1d; font-weight: 800; font-size: 14px; padding: 2px 10px; border-radius: 4px; }
.entry .editor-card__name { margin: 8px 0 4px; font-size: 30px; color: var(--maroon); }
.editor-card__lead { font-size: 18px; line-height: 1.8; }
.editor-card__roles, .entry .editor-card__roles { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.editor-card__roles li { position: relative; padding: 8px 12px 8px 34px; background: #fff; border: 1px solid #eee2da; border-radius: 8px; font-size: 16px; line-height: 1.6; }
.editor-card__roles li::before { content: "✦"; position: absolute; left: 12px; top: 8px; color: var(--maroon); }
.editor-card__roles b { color: var(--maroon); }
@media (max-width: 700px) { .editor-card { grid-template-columns: 1fr; padding: 16px; } .editor-card__photo { max-width: 340px; margin: 0 auto; } .entry .editor-card__name { font-size: 26px; text-align: center; } .editor-card__eyebrow { display: table; margin: 0 auto; } }

/* ---------- Contact details, office map ---------- */
.contact-list, .entry .contact-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.contact-list li { padding: 12px 14px; background: #fff; border: 1px solid #e6e6e6; border-left: 4px solid var(--maroon); border-radius: 8px; font-size: 17px; line-height: 1.6; }
.contact-list__k { display: block; font-size: 13px; font-weight: 800; color: var(--maroon); }
.contact-list a { color: var(--red); font-weight: 700; word-break: break-word; }
.office-map { margin: 20px 0; border-radius: var(--r); overflow: hidden; border: 1px solid #e3e3e3; background: #fff; }
.office-map iframe { display: block; width: 100%; height: 340px; border: 0; }
.office-map__btns { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; }
.office-map__btn { flex: 1 1 200px; text-align: center; padding: 12px 16px; border-radius: 8px; background: var(--maroon); color: #fff !important; font-weight: 800; text-decoration: none !important; font-size: 17px; }
.office-map__btn--alt { background: #fff; color: var(--maroon) !important; border: 2px solid var(--maroon); }
.page-cta { display: block; margin: 20px 0; padding: 16px; text-align: center; background: var(--yellow); color: #1d1d1d !important; font-weight: 800; font-size: 19px; border-radius: var(--r); text-decoration: none !important; }

/* ---------- "हमसे जुड़ें" form ---------- */
.connect { margin: 20px 0; }
.connect__form { display: grid; gap: 16px; padding: 20px; background: #fff; border: 1px solid #e6e6e6; border-top: 5px solid var(--maroon); border-radius: var(--r); font-size: 16px; line-height: 1.5; }
.entry .connect__form > * + * { margin-top: 0; }
.connect__form label { display: grid; gap: 6px; font-weight: 700; }
.connect__form input[type=text], .connect__form input[type=tel], .connect__form input[type=email], .connect__form input[type=url], .connect__form input[type=number], .connect__form select, .connect__form textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfcfcf; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
.connect__form input:focus, .connect__form select:focus, .connect__form textarea:focus { outline: 2px solid var(--maroon); border-color: var(--maroon); }
.connect__purpose { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.connect__purpose legend { font-weight: 800; margin-bottom: 8px; font-size: 18px; }
.connect__form .connect__chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #d6c4c4; border-radius: 999px; cursor: pointer; font-weight: 600; }
.connect__chip:has(input:checked) { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.connect__chip input { accent-color: var(--yellow); }
.connect__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.connect__wide { grid-column: 1 / -1; }
.connect__work { padding: 14px; background: #fff8ef; border: 1px dashed #e0b98a; border-radius: 10px; }
.connect__work[hidden] { display: none; }
.connect__sub { margin: 0 0 10px; font-weight: 800; color: var(--maroon); }
.connect__form .connect__agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.connect__agree input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.req { color: var(--red); }
.connect__send { justify-self: start; padding: 13px 28px; border: 0; border-radius: 8px; background: var(--maroon); color: #fff; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.connect__send:hover { background: var(--maroon-dark); }
.connect__note { margin: 0; font-size: 14px; color: var(--ink-2); }
.connect__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.connect__done { padding: 16px; margin-bottom: 14px; background: #eaf7ee; border: 1px solid #9fd3ad; border-radius: 10px; }
.connect__done p { margin: 6px 0 0; }
.connect__err { padding: 12px 16px; margin-bottom: 14px; background: #fdecec; border: 1px solid #f0a7a7; border-radius: 10px; font-weight: 700; color: #8a1010; }
@media (max-width: 560px) { .connect__form { padding: 14px; } .connect__send { width: 100%; justify-self: stretch; } }
.footer__cta { display: inline-block; margin-top: 4px; padding: 8px 12px; background: var(--yellow); color: #1d1d1d !important; font-weight: 800; border-radius: 6px; text-decoration: none !important; }
/* Inline YouTube player inside the video cards. */
.video__thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
[data-yt].is-playing { cursor: default; }
/* "प्रधान संपादक" menu item: white button in the maroon bar, highlighted in the phone menu. */
.catnav .menu-editor > a { background: #fff; color: var(--maroon); font-weight: 800; }
.catnav .menu-editor > a:hover { background: #fff3d1; color: var(--maroon-dark); }
.catnav .menu-editor.current-menu-item > a { background: var(--yellow); color: var(--black); }
.drawer .menu-editor > a { color: var(--maroon); font-weight: 800; }

/* ---------- आज का राशिफल ---------- */
.rashibox { margin-top: 14px; background: #fff; border: 1px solid #ecdcc9; border-top: 4px solid var(--yellow); }
.rashibox .box__head { color: var(--maroon); }
.rashibox .box__head a { font-size: 14px; font-weight: 700; color: var(--red); margin-left: auto; }
.rashibox__meta { margin: 0; padding: 0 12px 8px; font-size: 13px; color: var(--ink-2); }
.rashibox__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 0 10px; }
.rashibox__sign { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px 5px; border: 1px solid #eadfd3; border-radius: 6px; background: #fffaf3; font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.2; }
.rashibox__sym { font-size: 20px; line-height: 1.1; color: var(--maroon); }
.rashibox__sign:hover { border-color: var(--maroon); }
.rashibox__sign.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.rashibox__sign.is-active .rashibox__sym { color: var(--yellow); }
.rashibox__text { margin: 10px; padding: 10px 12px; background: #fff7ea; border-radius: 8px; font-size: 15px; line-height: 1.7; }
.rashibox__text strong { color: var(--maroon); font-size: 17px; }
.rashibox__text p { margin: 4px 0 0; }
.rashibox__lucky, .rashi__lucky { font-size: 14px; color: var(--ink-2); }
.rashi__stars { color: #e0a100; letter-spacing: 1px; font-size: 14px; white-space: nowrap; }
.rashi__stars-off { color: #ddd; }
.rashipage__meta { padding: 12px 14px; background: #fff7ea; border-left: 4px solid var(--yellow); border-radius: 6px; }
.rashipage__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.entry .rashipage__grid > * + * { margin-top: 0; }
.rashi { padding: 14px 16px; background: #fff; border: 1px solid #ecdcc9; border-top: 4px solid var(--maroon); border-radius: 10px; scroll-margin-top: 120px; }
.rashi:target { box-shadow: 0 0 0 3px var(--yellow); }
.entry .rashi__name { margin: 0 0 6px; font-size: 22px; color: var(--maroon); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rashi__sym { font-size: 26px; }
.rashi p { margin: 0; font-size: 17px; line-height: 1.75; }
.rashi .rashi__lucky { margin-top: 8px; font-size: 14px; }
.rashipage__note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.rashibox__sym, .rashi__sym { font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", sans-serif; font-variant-emoji: text; }
/* ---------- Facebook page box ---------- */
.fbbox { margin-top: 14px; background: #fff; border: 1px solid #dfe3ea; border-top: 4px solid #1877f2; }
.fbbox .box__head { color: #1877f2; border-bottom-color: #1877f2; }
.fbbox .box__head a { margin-left: auto; font-size: 14px; color: #1877f2; }
.fbbox__frame { padding: 8px; display: flex; justify-content: center; }
.fbbox__frame iframe { width: 100%; max-width: 500px; height: 520px; border: 0; overflow: hidden; }

/* Zoom view: page turning without leaving it. */
.flip__zoombar { flex-wrap: wrap; }
.flip__zoomturn { font-size: 15px !important; min-width: 0 !important; padding: 6px 12px !important; }
.flip__zoomturn:disabled, .flip__zoomtools .reader__btn:disabled { opacity: .35; cursor: default; }
.flip__zoomsep { width: 1px; height: 26px; background: rgba(255,255,255,.3); margin: 0 4px; }
@media (max-width: 560px) {
	.flip__zoomlabel { flex: 1 0 100%; order: -1; }
	.flip__zoomtools { flex: 1 1 auto; justify-content: space-between; }
	.flip__zoomturn span { display: none; }
	.flip__zoomsep { display: none; }
}
.flip.is-full .reader__bar, .flip:fullscreen .reader__bar { position: static; top: auto; }
/* Reading view (बड़ा करें) in full screen + page-turn effect. */
.flip__zoom:fullscreen { width: 100%; height: 100%; background: #1a0304; }
.flip__zoom::backdrop { background: #1a0304; }
.flip__zoompages { perspective: 2000px; }
.flip__zoominner.is-turn-next { transform-origin: left center; animation: mi-turn-next .5s cubic-bezier(.22,.7,.3,1) both; }
.flip__zoominner.is-turn-prev { transform-origin: right center; animation: mi-turn-prev .5s cubic-bezier(.22,.7,.3,1) both; }
@keyframes mi-turn-next {
	0% { transform: perspective(2000px) rotateY(55deg) translateX(40px); opacity: 0; box-shadow: -30px 0 40px rgba(0,0,0,.5); }
	60% { opacity: 1; }
	100% { transform: none; opacity: 1; box-shadow: none; }
}
@keyframes mi-turn-prev {
	0% { transform: perspective(2000px) rotateY(-55deg) translateX(-40px); opacity: 0; box-shadow: 30px 0 40px rgba(0,0,0,.5); }
	60% { opacity: 1; }
	100% { transform: none; opacity: 1; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .flip__zoominner.is-turn-next, .flip__zoominner.is-turn-prev { animation: none; } }
.flip__zoomhint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: 90%; padding: 10px 16px; border-radius: 999px; background: rgba(0,0,0,.75); color: #fff; font-size: 15px; font-weight: 700; text-align: center; pointer-events: none; opacity: 0; z-index: 3; }
.flip__zoomhint.is-on { animation: mi-hint 3.2s ease both; }
@keyframes mi-hint { 0% { opacity: 0; } 12% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
