/* =========================================================
   Naumar Digest — main stylesheet (RTL, Urdu Nastaliq)
   ========================================================= */
:root {
	--maroon: #7a1420;
	--maroon-dk: #4e0b12;
	--maroon-lt: #9b2230;
	--gold: #c9a24a;
	--gold-lt: #e6cf8f;
	--cream: #f6efe2;
	--paper: #fbf7ee;
	--card: #fffaf0;
	--ink: #2b1a14;
	--muted: #6d5a4c;
	--line: #e3d3b2;
	--shadow: 0 6px 18px rgba(78, 11, 18, .12);
	--shadow-lg: 0 18px 40px rgba(40, 10, 6, .28);
	--radius: 14px;
	--font: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif;
	--ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 2.15;
	color: var(--ink);
	background:
		radial-gradient(ellipse at top, rgba(255,255,255,.7), transparent 60%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .25 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		var(--cream);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
h1, h2, h3 { line-height: 1.9; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 34px; }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; top: -60px; right: 12px; background: var(--maroon); color: #fff; padding: 6px 14px; border-radius: 8px; z-index: 99; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .35em 1.3em .55em; border-radius: 10px; border: 1.5px solid transparent;
	font-weight: 700; cursor: pointer; white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--maroon { background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)); color: #fff; border-color: var(--gold); }
.btn--cream { background: linear-gradient(180deg, #fffaf0, #f0e2c4); color: var(--maroon-dk); border-color: var(--gold); }
.btn--ghost { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn--line { background: #fff; color: var(--maroon); border-color: var(--line); }
.btn--lg { font-size: 1.15rem; padding: .45em 1.6em .7em; }
.btn--sm { font-size: .95rem; padding: .2em 1em .45em; }
.btn--xs { font-size: .82rem; padding: .1em .9em .35em; border-radius: 8px; }
.btn--block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar { background: linear-gradient(90deg, var(--maroon-dk), var(--maroon), var(--maroon-dk)); color: var(--gold-lt); font-size: .9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 2px 0 6px; text-align: center; }
.orn { color: var(--gold); font-size: .8em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: 78px; }

.brand { display: inline-flex; align-items: baseline; gap: 6px; position: relative; color: var(--maroon); padding-bottom: 6px; flex: none; }
.brand__name { font-size: 1.75rem; font-weight: 700; text-shadow: 0 1px 0 #fff; }
.brand__city { font-size: 1.05rem; color: var(--gold); font-weight: 700; }
.brand__swash { position: absolute; bottom: 0; right: 0; width: 100%; height: 12px; color: var(--gold); }
.brand--light { color: #fff; }

.main-nav { margin-inline-start: 6px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a, .drop-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 6px; color: var(--ink); font-weight: 600; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.main-nav > ul > li > a:hover, .drop-toggle:hover { color: var(--maroon); background: rgba(122, 20, 32, .06); }
.main-nav a.is-active { color: var(--maroon); }
.drop-toggle svg { width: .7em; }
.has-drop { position: relative; }
.drop {
	position: absolute; top: 100%; right: 0; min-width: 230px; padding: 8px;
	background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
	display: grid; grid-template-columns: 1fr 1fr; gap: 0 6px;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); width: 420px;
}
.has-drop:hover .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; font-size: .92rem; padding: 2px 10px 6px; }
.drop a:hover { background: var(--cream); color: var(--maroon); }
.main-nav a, .drop-toggle { white-space: nowrap; }
.main-nav .nav-cta .btn { color: #fff; margin-inline-start: 4px; background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)); padding: .2em 1em .45em; }
.main-nav .nav-cta .btn:hover { color: #fff; background: var(--maroon); }

.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.search { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding-inline: 10px 4px; }
.search input { border: 0; background: none; outline: none; width: 210px; padding: 4px 0 8px; font-size: .9rem; }
.search button { border: 0; background: none; color: var(--maroon); cursor: pointer; display: grid; place-items: center; padding: 6px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--maroon); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: rgba(122, 20, 32, .07); }
.icon-btn svg { width: 24px; height: 24px; }
.nd-cart-count { position: absolute; top: 2px; left: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: var(--maroon-dk); font-size: 11px; line-height: 18px; text-align: center; font-family: system-ui, sans-serif; font-weight: 700; }
.menu-toggle { display: none; }
.nav-search { display: none; }
.nav-search input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 4px 12px 8px; background: #fff; margin-bottom: 6px; }
.header-cta { display: none; color: #fff; }
.header-cta:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(circle at 18% 55%, rgba(255, 190, 90, .35), transparent 32%),
		radial-gradient(ellipse at 70% 40%, rgba(122, 20, 32, .35), transparent 60%),
		repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 2px, transparent 2px 46px),
		repeating-linear-gradient(0deg, #2a1610 0 92px, #1a0c08 92px 100px),
		#24130d;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(180deg, #5a3520, #3a2013); border-top: 3px solid #6e4528; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; min-height: 470px; padding-block: 40px 70px; }
.hero__text { text-align: center; }
.pill { display: inline-block; padding: 0 20px 6px; border: 1.5px solid var(--gold); border-radius: 999px; background: rgba(255, 246, 220, .92); color: var(--maroon-dk); font-weight: 700; font-size: .95rem; }
.hero__kicker { margin-top: 12px; color: var(--gold-lt); font-size: 1.1rem; }
.hero__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.9rem); line-height: 1.7; color: #f3d6a0; text-shadow: 0 3px 0 var(--maroon-dk), 0 6px 18px rgba(0,0,0,.5); }
.hero__title span { color: var(--gold); font-size: .7em; }
.hero__sub { max-width: 560px; margin: 4px auto 0; color: #f4e7cf; font-size: 1.05rem; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

.hero__visual { position: relative; height: 380px; }
.lamp { position: absolute; left: -10px; bottom: 40px; width: 70px; height: 110px; border-radius: 30px 30px 10px 10px; background: radial-gradient(circle at 50% 55%, #ffe7a8, #f3a73a 40%, rgba(120,60,10,.8) 70%); box-shadow: 0 0 80px 30px rgba(255, 170, 60, .35); }
.lamp::before { content: ""; position: absolute; top: -18px; left: 22px; width: 26px; height: 20px; border: 3px solid #3a2410; border-bottom: 0; border-radius: 14px 14px 0 0; }
.quill { position: absolute; right: -6px; bottom: 30px; width: 14px; height: 150px; background: linear-gradient(90deg, #f7f1e3, #cfc3a9); border-radius: 50% 50% 4px 4px / 80% 80% 4px 4px; transform: rotate(18deg); box-shadow: 0 6px 12px rgba(0,0,0,.4); }

/* Magazine cover (CSS-built) */
.cover {
	--cv: #6b1420;
	position: relative; display: flex; flex-direction: column; align-items: center;
	aspect-ratio: 3 / 4; border-radius: 6px 10px 10px 6px; overflow: hidden;
	background: linear-gradient(160deg, color-mix(in srgb, var(--cv) 80%, #fff 0%), color-mix(in srgb, var(--cv) 70%, #000));
	box-shadow: inset 6px 0 10px rgba(0,0,0,.35), var(--shadow);
	color: #fff; text-align: center;
}
.cover__tag { font-size: .55em; color: var(--gold-lt); padding-top: 4px; line-height: 1.8; }
.cover__logo { font-size: 1.15em; font-weight: 700; color: #ff5a5a; text-shadow: 0 2px 0 #fff, 0 3px 6px rgba(0,0,0,.4); line-height: 1.7; }
.cover__city { font-size: .6em; color: #fff; margin-top: -8px; }
.cover img { flex: 1; width: 100%; min-height: 0; object-fit: cover; filter: sepia(.25) contrast(1.05); border-top: 2px solid var(--gold); }
.cover__month { position: absolute; bottom: 0; inset-inline: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); padding: 14px 0 4px; font-size: .7em; color: #fff; }
.cover--hero { position: absolute; left: 50px; top: 10px; width: 230px; font-size: 1.35rem; transform: rotate(-4deg); box-shadow: var(--shadow-lg), inset 8px 0 12px rgba(0,0,0,.4); z-index: 2; }

.open-book { position: absolute; right: 10px; top: 40px; width: 340px; height: 290px; display: grid; grid-template-columns: 1fr 1fr; transform: perspective(900px) rotateX(10deg); filter: drop-shadow(0 18px 20px rgba(0,0,0,.5)); }
.open-book__page { background: #f6ecd6; padding: 10px; color: var(--ink); overflow: hidden; }
.open-book__page:first-child { border-radius: 0 6px 6px 0; box-shadow: inset 12px 0 18px -10px rgba(0,0,0,.35); }
.open-book__page:last-child { border-radius: 6px 0 0 6px; box-shadow: inset -12px 0 18px -10px rgba(0,0,0,.35); }
.open-book__page img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.open-book__page--text { text-align: center; }
.open-book__page--text h3 { font-size: .95rem; }
.open-book__page--text p { font-size: .62rem; line-height: 2; color: var(--muted); }
.byline-chip { display: inline-block; font-size: .6rem; border: 1px solid var(--muted); border-radius: 999px; padding: 0 8px 3px; margin-block: 2px 4px; }
.lines { display: block; height: 6px; margin: 9px 6px; background: repeating-linear-gradient(90deg, #c9b893 0 22px, transparent 22px 26px); border-radius: 3px; opacity: .7; }
.lines.short { width: 60%; margin-inline-start: auto; }

/* ---------- Features strip ---------- */
.features {
	position: relative; z-index: 2; margin-top: -32px;
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.features li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 8px 16px; font-weight: 700; font-size: 1rem; }
.features li + li { border-right: 1px solid var(--line); }
.features svg { width: 30px; height: 30px; color: var(--maroon); }

/* ---------- Section heads ---------- */
.sec-head { text-align: center; margin-bottom: 18px; }
.sec-head h2 { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--maroon); }
.sec-head h2::before, .sec-head h2::after { content: ""; width: 70px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 12'%3E%3Cpath d='M0 6h52M56 6c3-5 8-5 10 0-2 5-7 5-10 0z' fill='none' stroke='%23c9a24a' stroke-width='1.6'/%3E%3Ccircle cx='54' cy='6' r='2' fill='%23c9a24a'/%3E%3C/svg%3E") no-repeat center / contain; }
.sec-head h2::after { transform: scaleX(-1); }
.sec-head p { color: var(--muted); }
.sec-head--tight { margin-bottom: 8px; }
.sec-head--light h2 { color: var(--gold-lt); }
.sec-head--light p { color: #ecdcc0; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #efe6d4; border: 2px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.2) contrast(1.05); transition: transform .5s var(--ease), filter .5s; }
.cat-card span { position: absolute; bottom: 0; inset-inline: 0; padding: 2px 10px 8px; text-align: center; color: #fff; font-weight: 700; font-size: 1.1rem; background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)); border-top: 2px solid var(--gold); }
.cat-card:hover img { transform: scale(1.06); filter: grayscale(.2) sepia(.35); }
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.cat-chips a { display: inline-block; padding: 0 16px 6px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--gold); color: var(--maroon-dk); font-weight: 600; transition: .2s; }
.cat-chips a:hover { background: var(--maroon); color: #fff; }

/* ---------- Panels / trio ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.panel h2 { display: flex; align-items: center; gap: 8px; font-size: 1.35rem; color: var(--maroon); }
.panel--maroon { background: linear-gradient(180deg, var(--maroon), var(--maroon-dk)); color: #fff; border: 2px solid var(--gold); }
.panel--maroon h2 { color: #fff; justify-content: center; }
.panel--maroon p { color: #f0dfc6; text-align: center; font-size: .92rem; margin-block: 6px 12px; }
.panel--maroon input { width: 100%; border: 1.5px solid var(--gold); border-radius: 10px; padding: 6px 12px 10px; margin-bottom: 10px; background: #fffaf0; }

.trio { display: grid; grid-template-columns: 1.45fr 1fr .9fr; gap: 18px; align-items: start; }
.issues-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.issue-card { display: flex; flex-direction: column; color: var(--ink); font-size: 1rem; transition: transform .25s var(--ease); }
.issue-card:hover { transform: translateY(-4px); }
.issue-card .cover { font-size: .82rem; }
.issue-card__label { margin-top: 4px; text-align: center; background: var(--maroon); color: #fff; border-radius: 0 0 8px 8px; font-size: .85rem; padding-bottom: 4px; }
.issue-card__img img { aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
.issue-card__price { text-align: center; font-size: .85rem; color: var(--maroon); }

.popular-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0 8px; border-bottom: 1px dashed var(--line); }
.popular-list li:last-child { border-bottom: 0; }
.popular-list__t { font-weight: 700; }
.popular-list small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; line-height: 1.6; }

/* ---------- Featured story ---------- */
.featured { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; background: var(--card); border: 2px solid var(--gold); border-radius: var(--radius); padding: 34px 26px 22px; box-shadow: var(--shadow); }
.ribbon { position: absolute; top: -22px; right: 50%; transform: translateX(50%); display: inline-flex; align-items: center; gap: 8px; padding: 0 26px 6px; background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)); color: #fff; border-radius: 999px; border: 2px solid var(--gold); font-weight: 700; white-space: nowrap; }
.featured__text { text-align: center; }
.featured h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); color: var(--maroon); }
.featured__lead { font-size: 1.08rem; color: #3d2a20; margin-block: 6px 16px; }
.featured__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.byline { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px 6px; background: #fff; }
.byline svg { color: var(--maroon); }
.featured__img { border-radius: 10px; overflow: hidden; height: 320px; border: 1px solid var(--line); }
.featured__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1) sepia(.3); }

/* ---------- Story grid ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story-card { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--card); border: 1.5px solid var(--gold); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.story-card__img img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; filter: grayscale(1) sepia(.25); }
.story-card__body { padding: 8px 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.story-card h3 { color: var(--maroon); font-size: 1.3rem; }
.story-card__by { font-size: .82rem; color: var(--muted); }
.story-card__body p:not(.story-card__by) { font-size: .88rem; line-height: 2; flex: 1; }
.story-card .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; display: flex; align-items: center; gap: 8px; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 12px) / 6); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; padding-block: 6px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__btn { flex: none; width: 36px; height: 52px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--maroon); cursor: pointer; display: grid; place-items: center; }
.carousel__btn:hover { background: var(--cream); }

/* ---------- Editorial board band (home) ---------- */
.board-band { background: linear-gradient(180deg, var(--maroon), var(--maroon-dk)); border-block: 3px solid var(--gold); margin-block: 20px; padding-block: 40px; }
.board-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.board-mini__card { display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255, 246, 220, .07); border: 1px solid rgba(230, 207, 143, .45); border-radius: var(--radius); padding: 18px 12px 12px; color: #fff; transition: transform .25s var(--ease), background .25s; }
.board-mini__card:hover { transform: translateY(-5px); background: rgba(255, 246, 220, .14); }
.board-mini__card img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--gold); box-shadow: 0 8px 18px rgba(0,0,0,.35); margin-bottom: 8px; }
.board-mini__card .role { color: var(--gold-lt); font-size: .88rem; }
.board-mini__card strong { font-size: 1.25rem; }

/* ---------- Writers ---------- */
.writers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.writers li { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px 10px; box-shadow: 0 2px 8px rgba(78, 11, 18, .06); }
.avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--maroon-lt), var(--maroon-dk)); color: var(--gold-lt); font-size: 1.4rem; font-weight: 700; border: 2px solid var(--gold); line-height: 1; padding-bottom: 8px; }
.writers strong { margin-top: 4px; font-size: .98rem; }
.writers small { color: var(--muted); font-size: .78rem; line-height: 1.8; }

/* ---------- Award ---------- */
.award { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 18px 26px; border-radius: var(--radius); background: linear-gradient(100deg, #fff6dc, #f1dfae); border: 2px solid var(--gold); box-shadow: var(--shadow); }
.award__medal svg { width: 84px; height: 84px; }
.award h2 { color: var(--maroon); font-size: 1.8rem; }

/* ---------- About + Pay ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; margin-bottom: 24px; }
.about h2 { color: var(--maroon); font-size: 1.4rem; margin-bottom: 4px; }
.about__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.about__points li { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; background: #fff; }
.about__points svg { width: 30px; height: 30px; color: var(--maroon); }
.about__points span { font-size: .8rem; color: var(--muted); line-height: 1.9; }

.pay__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pay-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); overflow: hidden; }
.pay-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); left: -40px; top: -60px; }
.pay-card--ep { background: linear-gradient(135deg, #1f8f4e, #0f5a30); }
.pay-card--jc { background: linear-gradient(135deg, #c8202d, #7d0f17); }
.pay-card--bank { background: linear-gradient(135deg, #1f4a8a, #10284d); }
.pay-card__name { font-weight: 700; font-size: 1.1rem; }
.pay-card__num { font-family: system-ui, "Segoe UI", sans-serif; font-size: 1.45rem; font-weight: 700; letter-spacing: .04em; }
.pay-card__note { font-size: .85rem; opacity: .9; }
.copy { margin-top: 4px; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.12); color: #fff; border-radius: 8px; padding: 0 12px 4px; cursor: pointer; font-size: .82rem; }
.copy.is-done { background: #fff; color: var(--ink); }

/* ---------- Newsletter + footer ---------- */
.newsletter { background: linear-gradient(90deg, var(--maroon-dk), var(--maroon), var(--maroon-dk)); color: #fff; border-top: 3px solid var(--gold); margin-top: 30px; }
.newsletter__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding-block: 16px; }
.newsletter__devices { display: flex; align-items: center; gap: 10px; color: var(--gold-lt); }
.newsletter__devices svg { width: 64px; height: 40px; }
.newsletter__devices p { line-height: 1.8; }
.newsletter__text { text-align: center; font-size: 1.05rem; }
.subscribe-inline { display: flex; gap: 8px; }
.subscribe-inline input { width: 260px; border: 1.5px solid var(--gold); border-radius: 10px; padding: 4px 12px 8px; background: #fffaf0; }

.site-footer { background: #3d0910; color: #ecdcc0; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 22px; padding-block: 28px 18px; }
.f-col h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 4px; }
.f-col a { color: #ecdcc0; }
.f-col a:hover { color: #fff; }
.f-col li::before { content: "« "; color: var(--gold); }
.f-brand li::before { content: none; }
.f-brand .brand__name { font-size: 1.6rem; }
.nd-credit { margin-top: 2px !important; font-family: system-ui, "Segoe UI", sans-serif; font-size: .8rem; color: #cdb592 !important; line-height: 1.8; text-align: center; }
.nd-credit a { color: var(--gold) !important; font-weight: 700; }
.nd-credit a:hover { color: #fff !important; text-decoration: underline; }
.woocommerce div.product div.images img { max-height: 560px; object-fit: contain; }
.site-footer__bottom { border-top: 1px solid rgba(201, 162, 74, .35); padding-block: 8px 12px; text-align: center; font-size: .82rem; color: #cdb592; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding-block: 46px 56px; text-align: center; color: #fff; background: radial-gradient(ellipse at 50% 0, rgba(201,162,74,.25), transparent 60%), linear-gradient(180deg, var(--maroon), var(--maroon-dk)); border-bottom: 3px solid var(--gold); }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: #f3d6a0; text-shadow: 0 3px 10px rgba(0,0,0,.4); }
.page-hero p { color: #f0dfc6; max-width: 680px; margin-inline: auto; }
.crumbs { font-size: .85rem; color: var(--gold-lt); }
.crumbs a { color: var(--gold-lt); }
.page-body { padding-block: 34px; }
.entry { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.entry p { margin-bottom: 10px; }

/* Editorial board page */
.org { display: grid; justify-items: center; gap: 0; margin-block: -40px 30px; position: relative; z-index: 2; }
.org__row { display: flex; justify-content: center; gap: 40px; position: relative; }
.org__line { width: 2px; height: 26px; background: var(--gold); }
.org__row--split { padding-top: 26px; }
.org__row--split::before { content: ""; position: absolute; top: 0; right: 25%; left: 25%; height: 2px; background: var(--gold); }
.org__row--split > *::before { content: ""; position: absolute; top: -26px; right: 50%; width: 2px; height: 26px; background: var(--gold); }
.org-node { position: relative; display: flex; flex-direction: column; align-items: center; width: 230px; padding: 14px 12px 10px; background: var(--card); border: 2px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: transform .25s var(--ease); color: var(--ink); }
.org-node:hover { transform: translateY(-4px); }
.org-node img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--maroon); }
.org-node .role { display: inline-block; margin-top: 6px; background: var(--maroon); color: #fff; border-radius: 999px; padding: 0 14px 4px; font-size: .82rem; }
.org-node strong { font-size: 1.2rem; }
.org-node--chief { width: 260px; background: linear-gradient(180deg, #fff6dc, var(--card)); }

.profile { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 26px; scroll-margin-top: 110px; }
.profile__aside { position: sticky; top: 110px; text-align: center; }
.profile__photo { position: relative; border-radius: 14px; overflow: hidden; border: 4px solid var(--gold); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile__role { display: inline-block; margin-top: 12px; background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)); color: #fff; border: 1.5px solid var(--gold); border-radius: 999px; padding: 0 18px 6px; font-weight: 700; }
.profile__name { font-size: 2rem; color: var(--maroon); margin-top: 2px; }
.profile__facts { margin-top: 10px; display: grid; gap: 6px; text-align: right; }
.profile__facts li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 2px 12px 6px; font-size: .88rem; }
.profile__facts li strong { color: var(--maroon); }
.profile__body h2 { font-size: 1.7rem; color: var(--maroon); border-bottom: 2px solid var(--gold); padding-bottom: 4px; margin-bottom: 10px; }
.profile__body h3 { font-size: 1.2rem; color: var(--maroon-lt); margin-block: 14px 4px; display: flex; align-items: center; gap: 8px; }
.profile__body h3::before { content: "❖"; color: var(--gold); font-size: .8em; }
.profile__body p { margin-bottom: 10px; font-size: 1.04rem; line-height: 2.3; text-align: justify; }
.profile__body ul { margin-block: 6px 12px; display: grid; gap: 6px; }
.profile__body ul li { position: relative; padding-inline-start: 22px; }
.profile__body ul li::before { content: ""; position: absolute; right: 2px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.quote { margin-block: 12px; padding: 10px 18px 14px; border-inline-start: 4px solid var(--maroon); background: #fff6dc; border-radius: 10px; font-size: 1.08rem; }
.note { padding: 8px 14px 12px; border: 1px dashed var(--gold); border-radius: 10px; color: var(--muted); font-size: .9rem; }

/* Product cards (home) */
.issue-card { align-items: stretch; gap: 4px; }
.issue-card__link { display: flex; flex-direction: column; color: var(--ink); }
.issue-card .btn { align-self: center; }
.issue-card .added_to_cart { display: block; text-align: center; font-size: .8rem; }
.novels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.book { --bk: #1d2f4a; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; aspect-ratio: 3 / 4; padding: 14px; border-radius: 4px 10px 10px 4px; text-align: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--bk) 85%, #fff), color-mix(in srgb, var(--bk) 75%, #000)); box-shadow: inset 8px 0 10px rgba(0,0,0,.35), var(--shadow); border-inline-end: 6px solid var(--gold); }
.book::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(230, 207, 143, .5); border-radius: 4px; pointer-events: none; }
.book__title { font-size: 1.45rem; font-weight: 700; color: var(--gold-lt); line-height: 1.8; }
.book__by { font-size: .95rem; }
.book__tag { font-size: .72rem; opacity: .85; }
.novel-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 200px; border: 2px dashed var(--gold); border-radius: 12px; color: var(--maroon); text-align: center; transition: background .2s; }
.novel-more:hover { background: #fff6dc; }
.novel-more svg { width: 42px; height: 42px; }

/* Woo basics */
.woo-wrap .woocommerce-products-header__title, .woocommerce div.product .product_title { color: var(--maroon); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.woocommerce .woocommerce-breadcrumb { font-size: .85rem; color: var(--muted); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem !important; line-height: 1.9; color: var(--ink); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--maroon) !important; font-weight: 700; }
.woocommerce ul.products li.product a img { border-radius: 8px; aspect-ratio: 3/4; object-fit: cover; }
.woocommerce span.onsale { background: var(--gold); color: var(--maroon-dk); }
.woocommerce div.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.woocommerce div.product div.images img { border-radius: 10px; }
.woocommerce .quantity .qty { padding: 6px; border-radius: 8px; border: 1px solid var(--line); }
.woocommerce-cart table.cart, .woocommerce table.shop_table { background: var(--card); border-radius: 12px !important; border-color: var(--line) !important; }
.woocommerce table.shop_table th { color: var(--maroon); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single { border: 1.5px solid var(--line) !important; border-radius: 10px !important; padding: 6px 12px 10px !important; background: #fff; min-height: 44px; }
.woocommerce form .form-row label { line-height: 2; }
.woocommerce-checkout #payment { background: var(--cream) !important; border: 1px solid var(--line); border-radius: 12px !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--maroon) !important; background: var(--card) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--maroon) !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit.alt { background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)) !important; }
.woocommerce .button:hover { filter: brightness(1.1); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: block; padding: 2px 12px 6px; border-radius: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--maroon); color: #fff; }
/* Product grids (shop, category, related, upsells) — only the <ul>, never the <section> wrapper */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 14px; text-align: center; box-shadow: 0 2px 8px rgba(78, 11, 18, .06); transition: transform .25s var(--ease), box-shadow .25s; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product > a:first-child { display: block; width: 100%; }
.woocommerce ul.products li.product .button { margin-top: auto !important; font-size: .85rem; padding: .2em 1.1em .45em !important; line-height: 2 !important; white-space: nowrap; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 6px 0 0 !important; }
.woocommerce section.related, .woocommerce section.upsells { clear: both; padding-top: 24px; }
.woocommerce section.related > h2, .woocommerce section.upsells > h2 { color: var(--maroon); font-size: 1.6rem; text-align: center; margin-bottom: 14px; }

/* Single product */
.woocommerce div.product .summary { line-height: 2.1; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 !important; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { content: none !important; }
.woocommerce div.product form.cart div.quantity { float: none !important; margin: 0 !important; }
.woocommerce .quantity .qty { width: 4.5em; height: 46px; text-align: center; font-family: system-ui, sans-serif; font-size: 1rem; border: 1.5px solid var(--gold) !important; border-radius: 10px; background: #fff; }
.woocommerce div.product form.cart .button { float: none !important; height: 46px; padding: 0 1.4em 4px !important; font-size: 1rem !important; border-radius: 10px !important; }
.woocommerce div.product form.cart .nd-buy-now { background: linear-gradient(180deg, #e6c36a, var(--gold)) !important; color: var(--maroon-dk) !important; border: 1.5px solid var(--maroon) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 10px 10px 0 0 !important; background: var(--cream) !important; border-color: var(--line) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--card) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--maroon) !important; padding: 2px 6px 8px !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs .panel, .woocommerce div.product .woocommerce-Tabs-panel { padding: 20px 26px 22px !important; margin: 0 0 24px !important; background: var(--card); border: 1px solid var(--line); border-radius: 0 0 12px 12px; line-height: 2.2; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child, .woocommerce #reviews #comments > h2 { margin: 0 0 8px !important; font-size: 1.3rem; color: var(--maroon); }
.woocommerce div.product .woocommerce-tabs .panel p { margin: 0 0 10px; }
.woocommerce #reviews #comments { margin-bottom: 14px; }
.woocommerce #reviews #comments .woocommerce-noreviews { margin-bottom: 14px; color: var(--muted); }
.woocommerce #review_form #respond { padding: 0 !important; margin: 0 !important; }
.woocommerce #review_form #respond .comment-reply-title { display: block; margin: 6px 0 12px; }
.woocommerce #review_form #respond p { margin: 0 0 14px !important; }
.woocommerce #review_form #respond label { display: block; margin-bottom: 4px; }
.woocommerce #review_form #respond p.stars { margin: 4px 0 16px !important; }
.woocommerce #review_form #respond .form-submit { margin-top: 6px !important; }
@media (max-width: 600px) { .woocommerce div.product .woocommerce-tabs .panel, .woocommerce div.product .woocommerce-Tabs-panel { padding: 14px 16px 16px !important; } }
.woocommerce .product_meta { font-size: .9rem; color: var(--muted); }
.woocommerce #reviews #comment, .woocommerce #review_form textarea, .woocommerce #review_form input[type=text], .woocommerce #review_form input[type=email] { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; }
.woocommerce #respond input#submit, .woocommerce #review_form #submit { background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)) !important; color: #fff !important; border-radius: 10px !important; padding: .3em 1.6em .6em !important; font-family: var(--font); border: 1.5px solid var(--gold) !important; }
.woocommerce #reviews h2, .woocommerce #reviews #reply-title { color: var(--maroon); font-size: 1.2rem; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--gold); }
.nd-noprice { margin: 14px 0; padding: 12px 16px; border: 1.5px dashed var(--gold); border-radius: 12px; background: #fff6dc; }
.nd-noprice__admin { margin-bottom: 8px !important; padding: 8px 12px; border-radius: 8px; background: #fde8e8; border: 1px solid #e0a0a0; font-size: .9rem; }
.nd-noprice .button.alt { background: linear-gradient(180deg, #25b05c, #128c3e) !important; color: #fff !important; }
.woocommerce .woocommerce-ordering select { border: 1.5px solid var(--line); border-radius: 10px; padding: 4px 10px 8px; background: #fff; }
.woocommerce .woocommerce-result-count { color: var(--muted); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { padding: 4px 12px 8px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--maroon); color: #fff; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--card); }
.woocommerce .checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--line) !important; border-radius: 12px !important; }
.woocommerce .button, .woocommerce button.button.alt { background: var(--maroon) !important; color: #fff !important; border-radius: 10px !important; font-family: var(--font); }
.nd-pay-accounts { margin: 8px 0; display: grid; gap: 4px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
.menu-toggle { display: grid; }
	.search { display: none; }
	.main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--paper); box-shadow: var(--shadow-lg); padding: 80px 16px 20px; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; z-index: 60; }
	.main-nav.is-open { transform: none; }
	.main-nav > ul { flex-direction: column; align-items: stretch; }
	.drop { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; grid-template-columns: 1fr; }
	.has-drop.is-open .drop { display: grid; }
	.main-nav .nav-cta .btn { width: 100%; margin: 8px 0 0; }
	.menu-toggle { z-index: 61; }
	.header-cta { display: inline-flex; }
	.nav-search { display: block; }
}
@media (max-width: 1100px) {
	.trio { grid-template-columns: 1fr 1fr; }
	.trio__issues { grid-column: 1 / -1; }
	.writers { grid-template-columns: repeat(4, 1fr); }
	.site-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.story-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
		.hero__inner { grid-template-columns: 1fr; padding-bottom: 90px; }
	.hero__visual { height: 330px; max-width: 460px; width: 100%; margin-inline: auto; }
	.features { grid-template-columns: repeat(3, 1fr); }
	.features li:nth-child(4) { border-right: 0; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.featured, .about { grid-template-columns: 1fr; }
	.board-mini { grid-template-columns: repeat(2, 1fr); }
	.award { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.pay__grid { grid-template-columns: 1fr; }
	.newsletter__inner { grid-template-columns: 1fr; text-align: center; }
	.newsletter__devices { justify-content: center; }
	.profile { grid-template-columns: 1fr; }
	.profile__aside { position: static; max-width: 320px; margin-inline: auto; }
	.carousel__track { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
	.org__row { gap: 14px; }
	.org-node { width: 170px; }
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.novels-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	body { font-size: 15px; }
	.topbar p { font-size: .78rem; }
	.brand__name { font-size: 1.25rem; }
	.brand__city { font-size: .85rem; }
	.header-cta { font-size: .78rem; padding: .1em .7em .35em; }
	.icon-btn { width: 36px; height: 36px; }
	.site-header__inner { min-height: 66px; gap: 8px; }
	.hero__visual { height: 290px; }
	.cover--hero { width: 170px; left: 10px; font-size: 1rem; }
	.open-book { width: 250px; height: 220px; right: 0; }
	.lamp, .quill { display: none; }
	.features { grid-template-columns: 1fr 1fr; }
	.features li { border-right: 0 !important; font-size: .9rem; }
	.cat-grid { gap: 10px; }
	.cat-card span { font-size: .92rem; }
	.trio { grid-template-columns: 1fr; }
	.issues-grid, .novels-grid { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.woocommerce div.product { padding: 14px; }
	.woocommerce div.product form.cart .button { flex: 1 1 auto; }
	.story-grid { grid-template-columns: 1fr; }
	.writers { grid-template-columns: repeat(2, 1fr); }
	.about__points { grid-template-columns: 1fr; }
	.subscribe-inline { flex-direction: column; }
	.subscribe-inline input { width: 100%; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.f-brand { grid-column: 1 / -1; }
	.carousel__track { grid-auto-columns: calc((100% - 12px) / 2); }
	.board-mini__card img { width: 96px; height: 96px; }
	.org__row--split { flex-direction: column; align-items: center; padding-top: 0; gap: 0; }
	.org__row--split::before, .org__row--split > *::before { display: none; }
	.org__row--split > * + * { margin-top: 26px; }
	.org-node, .org-node--chief { width: 240px; }
	.profile { padding: 16px; }
	.sec-head h2::before, .sec-head h2::after { width: 34px; }
}

/* ---------- Video messages ---------- */
.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vcard { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(74, 12, 20, .08); }
.vcard__media { position: relative; aspect-ratio: 9 / 16; background: #1d0a0d; }
.vcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard.is-playing .vcard__media video { object-fit: contain; }
.vcard__play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border: 3px solid var(--gold); border-radius: 50%; background: rgba(122, 20, 32, .88); color: #fff6dc; display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.vcard__play svg { width: 30px; height: 30px; margin-inline-start: 4px; }
.vcard__play:hover, .vcard__play:focus-visible { transform: scale(1.08); background: var(--maroon); }
.vcard.is-playing .vcard__play { display: none; }
.vcard figcaption { padding: 10px 12px 12px; text-align: center; color: var(--maroon); font-weight: 600; line-height: 2; }
.vgrid--home { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 5); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 10px; scrollbar-color: var(--gold) transparent; }
.vgrid--home .vcard { scroll-snap-align: start; }
.vgrid--home.is-auto { scroll-snap-type: none; scrollbar-width: none; }
.vgrid--home.is-auto::-webkit-scrollbar { display: none; }
.vgrid--home + .center { margin-top: 18px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vgrid--home { grid-template-columns: none; grid-auto-columns: calc((100% - 36px) / 3); } }
@media (max-width: 600px) {
	.vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.vgrid--home { grid-template-columns: none; grid-auto-columns: 44%; }
	.vcard__play { width: 54px; height: 54px; }
	.vcard figcaption { font-size: .9rem; padding: 8px; }
}


/* Admin-only "edit home page" shortcut */
.nd-edit-home { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 90; background: var(--maroon); color: #fff6dc; border: 2px solid var(--gold); border-radius: 999px; padding: 6px 16px; font-size: .9rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none; }
.nd-edit-home:hover, .nd-edit-home:focus-visible { background: var(--maroon-dk); color: #fff; }


/* ---------- Annual subscription (سالانہ خریداری) ---------- */
.topbar__offer { display: inline-block; background: var(--gold); color: var(--maroon-dk); border-radius: 999px; padding: 0 12px 3px; font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; animation: nd-pulse 2.4s ease-in-out infinite; }
.topbar__offer:hover { background: var(--gold-lt); }
@keyframes nd-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(230, 207, 143, .55); } 50% { box-shadow: 0 0 0 6px rgba(230, 207, 143, 0); } }
.btn--ghost-light { background: transparent; color: #fff6dc; border-color: rgba(255, 246, 220, .7); }
.btn--ghost-light:hover { background: rgba(255, 246, 220, .12); color: #fff; }

.countdown { display: inline-flex; gap: 10px; margin-top: 14px; direction: rtl; }
.countdown span { display: flex; flex-direction: column; align-items: center; min-width: 66px; padding: 6px 8px 8px; border-radius: 12px; background: rgba(255, 246, 220, .1); border: 1px solid rgba(230, 207, 143, .55); color: var(--gold-lt); font-size: .8rem; line-height: 1.6; }
.countdown b { font-family: system-ui, "Segoe UI", sans-serif; font-size: 1.7rem; line-height: 1.2; color: #fff6dc; font-variant-numeric: tabular-nums; }
.countdown--sm span { min-width: 52px; padding: 4px 6px 6px; }
.countdown--sm b { font-size: 1.25rem; }
.countdown.is-over { display: block; padding: 8px 14px; border-radius: 10px; background: rgba(255, 246, 220, .12); color: var(--gold-lt); }

.gift-clock { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); }

.sub-banner-wrap { margin-top: 26px; }
.sub-banner { position: relative; display: grid; grid-template-columns: 1.4fr auto auto; align-items: center; gap: 26px; padding: 22px 28px; border-radius: 18px; color: #fff6dc; overflow: hidden;
	background: radial-gradient(circle at 12% 20%, rgba(201, 162, 74, .35), transparent 45%), linear-gradient(120deg, var(--maroon-dk), var(--maroon) 55%, var(--maroon-lt));
	border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.sub-banner::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(230, 207, 143, .45); border-radius: 13px; pointer-events: none; }
.sub-banner__kicker { color: var(--gold-lt); font-size: .9rem; }
.sub-banner h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: #f3d6a0; margin: 2px 0 6px; }
.sub-banner__gift { display: flex; align-items: center; gap: 10px; margin: 0; line-height: 2; text-align: start; }
.sub-banner__gift strong { color: var(--gold-lt); }
.sub-banner__price { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 22px; border-inline: 1px solid rgba(230, 207, 143, .4); font-family: system-ui, "Segoe UI", sans-serif; }
.sub-banner__price del { opacity: .75; font-size: 1.05rem; }
.sub-banner__price strong { font-size: 2.3rem; line-height: 1.15; color: #fff; }
.sub-banner__price .save, .sub-banner__price small { font-family: var(--font); }
.sub-banner__price .save { background: var(--gold); color: var(--maroon-dk); border-radius: 999px; padding: 0 12px 3px; font-weight: 700; margin-top: 4px; }
.sub-banner__price small { color: var(--gold-lt); margin-top: 4px; }
.sub-banner__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sub-banner__cta .countdown { margin-top: 0; }

.sub-hero__kicker { color: var(--gold-lt); margin-bottom: 0; }
.sub-hero p { color: #fbe9c6; }
.sub-offer { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: stretch; }
.sub-card { position: relative; border-radius: 18px; padding: 24px 26px; box-shadow: var(--shadow); }
.sub-card h2 { font-size: 1.5rem; margin: 0 0 10px; }
.sub-card--detail { background: var(--card); border: 1px solid var(--line); }
.sub-card--detail h2 { color: var(--maroon); }
.sub-bill { width: 100%; border-collapse: collapse; }
.sub-bill th, .sub-bill td { padding: 10px 4px; border-bottom: 1px dashed var(--line); text-align: start; font-weight: 500; }
.sub-bill td { text-align: end; font-family: system-ui, "Segoe UI", sans-serif; font-weight: 600; white-space: nowrap; }
.sub-bill__total th, .sub-bill__total td { border-bottom: 0; border-top: 2px solid var(--maroon); color: var(--maroon); font-size: 1.15rem; font-weight: 700; }
.sub-bill__formula { margin: 10px 0 0; text-align: center; font-family: system-ui, "Segoe UI", sans-serif; color: var(--muted); letter-spacing: .03em; }
.sub-card--offer { color: #fff6dc; text-align: center; border: 2px solid var(--gold); padding-top: 34px;
	background: radial-gradient(circle at 85% 10%, rgba(201, 162, 74, .35), transparent 50%), linear-gradient(160deg, var(--maroon-lt), var(--maroon) 45%, var(--maroon-dk)); }
.sub-card--offer h2 { color: #f3d6a0; }
.sub-ribbon { position: absolute; top: -16px; inset-inline: 0; margin: auto; width: max-content; max-width: 90%; background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--maroon-dk); font-weight: 700; padding: 2px 18px 6px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.sub-price { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 0; flex-wrap: wrap; }
.sub-price del { font-family: system-ui, "Segoe UI", sans-serif; font-size: 1.4rem; opacity: .7; }
.sub-price strong { font-family: system-ui, "Segoe UI", sans-serif; font-size: clamp(3rem, 2.4rem + 2vw, 4.2rem); line-height: 1.1; color: #fff; text-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.sub-price span { color: var(--gold-lt); font-size: 1.2rem; }
.sub-save { display: inline-block; margin: 6px 0 14px; background: var(--gold); color: var(--maroon-dk); font-weight: 700; padding: 2px 18px 6px; border-radius: 999px; }
.sub-gift { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 16px; padding: 10px 16px; max-width: 380px; border-radius: 14px; background: rgba(255, 246, 220, .1); border: 1px dashed rgba(230, 207, 143, .6); }
.sub-gift .gift-clock { width: 62px; height: 62px; }
.sub-gift p { margin: 0; display: flex; flex-direction: column; text-align: start; line-height: 2; }
.sub-gift small { color: var(--gold-lt); }
.sub-gift strong { font-size: 1.15rem; }
.sub-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sub-ended { background: rgba(0, 0, 0, .2); border-radius: 10px; padding: 8px 12px; }
.sub-cta-line { text-align: center; color: var(--maroon); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin: 34px 0 26px; }
.pay__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pay-card--intl { background: linear-gradient(135deg, #2c5d63, #123338); }
.pay-card__num--sm { font-size: .95rem; letter-spacing: 0; text-align: center; overflow-wrap: break-word; }
.sub-steps { margin-top: 30px; }
.sub-steps h2, .sub-extra h3 { color: var(--maroon); }
.sub-steps h2 { text-align: center; font-size: 1.5rem; }
.sub-steps ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.sub-steps li { counter-increment: st; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px 18px 16px; display: flex; flex-direction: column; gap: 4px; line-height: 2.1; }
.sub-steps li::before { content: counter(st); position: absolute; top: -18px; inset-inline-start: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: #fff6dc; border: 2px solid var(--gold); font-family: system-ui, sans-serif; font-weight: 700; }
.sub-steps li strong { color: var(--maroon); font-size: 1.1rem; }
.sub-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.sub-note { border-radius: 14px; padding: 18px 20px; border: 1px solid var(--line); background: var(--card); }
.sub-note h3 { margin: 0 0 6px; font-size: 1.15rem; }
.sub-note p { margin: 0; line-height: 2.1; }
.sub-note--seller { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #fff6dc, #f3e2b8); border-color: var(--gold); }
.sub-note__badge { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: #fff6dc; font-family: system-ui, sans-serif; font-size: 1.5rem; font-weight: 800; border: 3px solid var(--gold); transform: rotate(-8deg); }
.sub-note--terms ul { margin: 0; padding: 0; list-style: none; }
.sub-note--terms li { position: relative; padding-inline-start: 26px; line-height: 2.2; }
.sub-note--terms li::before { content: "\2715"; position: absolute; inset-inline-start: 0; top: 2px; color: #b3261e; font-weight: 700; }
.sub-sign { text-align: end; color: var(--muted); margin-top: 18px; font-style: italic; }

@media (max-width: 1100px) {
	.sub-banner { grid-template-columns: 1fr auto; }
	.sub-banner__cta { grid-column: 1 / -1; flex-direction: row; justify-content: center; flex-wrap: wrap; }
	.pay__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.sub-offer, .sub-extra { grid-template-columns: 1fr; }
	.sub-steps ol { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 600px) {
	.sub-banner { grid-template-columns: 1fr; text-align: center; padding: 20px 16px; gap: 14px; }
	.sub-banner__gift { justify-content: center; }
	.sub-banner__price { border-inline: 0; border-block: 1px solid rgba(230, 207, 143, .4); padding: 10px 0; }
	.countdown span { min-width: 54px; }
	.countdown b { font-size: 1.3rem; }
	.pay__grid--4 { grid-template-columns: 1fr; }
	.sub-card { padding: 30px 16px 20px; }
	.topbar__offer { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile: everything centred ---------- */
@media (max-width: 600px) {
	/* Home page */
	.hero__text, .sub-banner__text, .sub-banner__gift span { text-align: center; }
	.panel__head { flex-direction: column; justify-content: center; text-align: center; }
	.panel, .popular-list__t, .popular-list small { text-align: center; }
	.panel h2 { justify-content: center; }
	.popular-list li { flex-direction: column; justify-content: center; gap: 2px; }
	.story-card { grid-template-columns: 1fr; }
	.story-card__img img { height: 200px; min-height: 0; }
	.story-card__body { text-align: center; align-items: center; }
	.story-card .btn { align-self: center; }
	.about, .about__text, .award__text { text-align: center; }
	.features li { justify-content: center; text-align: center; }
	.newsletter__text, .subscribe-inline { text-align: center; }
	/* Subscription page */
	.sub-steps li { align-items: center; text-align: center; }
	.sub-steps li::before { inset-inline-start: calc(50% - 19px); }
	.sub-note--seller { flex-direction: column; text-align: center; }
	.sub-note--terms { text-align: center; }
	.sub-note--terms ul { display: inline-block; text-align: start; }
	.sub-card--detail h2, .sub-sign { text-align: center; }
	/* Footer */
	.site-footer__grid { grid-template-columns: 1fr; text-align: center; }
	.f-brand .brand { justify-content: center; margin-inline: auto; }
	.f-col ul { padding: 0; }
	.f-col li::before { content: none; }
	/* Single product */
	.woocommerce div.product .summary, .woocommerce div.product .summary .product_title,
	.woocommerce div.product .woocommerce-product-details__short-description,
	.woocommerce .product_meta, .nd-noprice { text-align: center; }
	.woocommerce div.product p.price, .woocommerce div.product span.price { text-align: center; }
	.woocommerce div.product form.cart { justify-content: center; }
	.nd-noprice .button { display: inline-block; margin-inline: auto; }
	.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 0 -1px !important; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; }
	.woocommerce div.product .woocommerce-tabs .panel, .woocommerce div.product .woocommerce-tabs .panel > h2:first-child { text-align: center; }
}

/* =========================================================
   v2 — layout of the client's design (home page + header/footer)
   ========================================================= */
/* Header (off by default; Customize → ہوم پیج → ہیڈر) */
.site-header__inner { flex-direction: row-reverse; justify-content: space-between; }
.site-header .brand { margin: 0; padding: 0; }
.brand__logo { height: 58px; width: auto; }
.main-nav { padding-inline: 16px; border-inline: 1px solid var(--line); margin: 0; }
.main-nav a.is-active { background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)); color: #fff; }
.header-tools { margin-inline-start: 0; flex-direction: row-reverse; }
.orn--flip { display: inline-block; transform: scaleX(-1); }

/* Hero: background = the client's design (shelves, lantern, quill, ink pot, table) */
.hero { background:
	url("../img/hero-lamp.png") left bottom / auto 82% no-repeat,
	url("../img/hero-quill.png") right bottom / auto 73% no-repeat,
	#2a150d url("../img/hero-shelves.jpg") center bottom / cover no-repeat; }
@media (max-width: 900px) { .hero { background: #2a150d url("../img/hero-shelves.jpg") center bottom / cover no-repeat; } }
.hero::after { content: none; }
.hero .lamp, .hero .quill { display: none; }
.hero__inner { min-height: 500px; padding-block: 30px 70px; }
.hero__logo { width: min(410px, 100%); height: auto; margin: 2px auto 0; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.hero__title { line-height: 1; margin: 0; }
.hero__kicker { margin: 10px 0 0; line-height: 1.6; }
.hero__actions { flex-wrap: nowrap; gap: 10px; }
.hero__actions .btn--lg { font-size: 1.05rem; padding: .4em 1.1em .62em; }
.btn--gold { background: linear-gradient(180deg, #e6c36a, var(--gold)); color: var(--maroon-dk); border-color: #fff3c4; }
.hero-cover { position: absolute; left: 40px; top: 30px; width: 230px; transform: rotate(-4deg); z-index: 2; border-radius: 4px 8px 8px 4px; overflow: hidden; box-shadow: var(--shadow-lg), inset 8px 0 12px rgba(0,0,0,.4); background: #fbf4e6; }
.hero-cover img { width: 100%; aspect-ratio: 600 / 820; object-fit: cover; }
.hero-cover__month { position: absolute; bottom: 10px; right: 12px; padding: 0 12px 5px; border-radius: 8px; background: rgba(122, 20, 32, .92); border: 1px solid var(--gold); color: #fff; font-size: .9rem; font-weight: 700; }
.hero__visual .open-book { right: 0; top: 70px; width: 370px; height: 300px; }
.open-book__page--text h3 { font-size: 1.05rem; line-height: 1.9; color: var(--ink); }
.open-book__page--text p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; font-size: .66rem; color: #4a3a2e; }
.open-book__page img { filter: grayscale(1) contrast(1.15); }

/* Features: icon after the text, like the design */
.features li { flex-direction: row-reverse; }

/* Section heads with an icon before the title */
.sec-head--icon h2 svg { width: 1.05em; height: 1.05em; color: var(--maroon); }

/* Updates / popular novels / latest issues */
.trio { grid-template-columns: .85fr 1fr 1.45fr; }
.panel__head--center { justify-content: center; }
.popular-list__t { display: inline-flex; align-items: center; gap: 8px; }
.popular-list__t svg { color: var(--maroon); width: 1.1em; height: 1.1em; }
.popular-list__t small { display: inline; margin-inline-start: 4px; }
.popular-list li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px 6px; margin-bottom: 6px; }
.popular-list li:last-child { border-bottom: 1px solid var(--line); margin-bottom: 0; }
.issue-card__img { display: block; border-radius: 6px 6px 0 0; overflow: hidden; box-shadow: var(--shadow); }
.issue-card__img img { width: 100%; aspect-ratio: 600 / 820; object-fit: cover; border-radius: 0; }
.issue-card__label { margin-top: 0; border-radius: 0 0 8px 8px; border-top: 2px solid var(--gold); }

/* Newsletter forms */
.subscribe { display: flex; flex-direction: column; gap: 10px; position: relative; }
.subscribe__field { display: flex; align-items: center; gap: 8px; background: #fffaf0; border: 1.5px solid var(--gold); border-radius: 10px; padding-inline: 12px; color: var(--maroon); }
.subscribe__field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 6px 0 10px; color: var(--ink); }
.panel--maroon .subscribe__field input { margin: 0; border: 0; padding: 6px 0 10px; }
.subscribe .btn { width: 100%; }
.subscribe__ok { color: #fff3c4 !important; font-size: .85rem !important; text-align: center; margin: 0 !important; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Story of the month */
.featured { grid-template-columns: 1fr 1.15fr; padding-top: 38px; }
.featured__lead { font-size: 1rem; line-height: 2.2; }

/* New stories: text right, picture left (as in the design) */
.story-card { grid-template-columns: 1fr 1fr; }
.story-card__body { align-items: flex-start; text-align: right; }
.story-card__by { display: inline-flex; align-items: center; gap: 6px; }
.story-card__by svg { color: var(--maroon); width: 1em; height: 1em; }
.story-card__body p.story-card__text { flex: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #3d2a20; max-height: 6.3em; }
.story-card__body { justify-content: space-between; }
.story-card .btn { align-self: center; }
.story-card__img img { height: 100%; min-height: 190px; }
.story-card--noimg { grid-template-columns: 1fr; }

/* Old issues */
.old-issues { padding: 14px 16px 16px; }
.years { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: flex-end; flex-direction: row-reverse; margin-bottom: 10px; }
.years__label { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 0 14px 4px; font-size: .85rem; }
.years__btn { min-width: 86px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; padding: 0 16px 4px; cursor: pointer; font-family: system-ui, "Segoe UI", sans-serif; }
.years__btn.is-active { background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)); color: #fff; border-color: var(--gold); }
.old-issues .carousel__track { grid-auto-columns: calc((100% - 7 * 12px) / 8); justify-content: center; }
.issue-card.is-hidden { display: none; }

/* Writers */
.writer-track { grid-auto-columns: calc((100% - 5 * 12px) / 6); padding-bottom: 8px; }
.writer-card { display: grid; grid-template-columns: 1fr 74px; grid-template-rows: 1fr auto; gap: 6px 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: var(--ink); box-shadow: 0 2px 8px rgba(78, 11, 18, .07); transition: transform .25s var(--ease), box-shadow .25s; }
.writer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.writer-card__body { display: flex; flex-direction: column; min-width: 0; }
.writer-card__body strong { color: var(--maroon); font-size: 1.02rem; line-height: 1.9; }
.writer-card__bio { font-size: .72rem; line-height: 1.95; color: #4a3a2e; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.writer-card__img { width: 74px; height: 92px; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); filter: grayscale(.15); }
.writer-card .avatar { width: 74px; height: 74px; font-size: 1.8rem; }
.writer-card__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 0 10px 4px; font-size: .72rem; color: var(--ink); white-space: nowrap; }
.tag svg { width: 1em; height: 1em; color: var(--maroon); }
.tag--maroon { background: linear-gradient(180deg, var(--maroon-lt), var(--maroon-dk)); color: #fff; border-color: var(--gold); }
.tag--maroon svg { color: var(--gold-lt); }

/* About */
.about { grid-template-columns: 1.15fr 1.3fr .8fr; gap: 20px; margin-bottom: 0; }
.about__points li { gap: 2px; }
.about__points strong { color: var(--maroon); }
.about__text { text-align: center; }
.about__text h3 { color: var(--maroon); font-size: 1.2rem; }
.about__text p { font-size: .9rem; color: #3d2a20; }
.about-art { width: 100%; height: auto; max-height: 170px; }

/* Newsletter strip */
.news-strip-wrap { margin-top: 26px; }
.news-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 12px 22px; border-radius: 14px; background: linear-gradient(90deg, var(--maroon-dk), var(--maroon), var(--maroon-dk)); color: #fff; border: 2px solid var(--gold); box-shadow: var(--shadow); }
.news-strip .subscribe { flex-direction: row-reverse; align-items: center; }
.news-strip .subscribe__field { width: 300px; }
.news-strip .subscribe .btn { width: auto; }
.news-strip .subscribe__ok { position: absolute; top: 100%; inset-inline: 0; }
.news-strip__text { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.02rem; text-align: center; border-inline: 1px solid rgba(230, 207, 143, .45); padding-inline: 16px; }
.news-strip__text svg { width: 30px; height: 30px; color: var(--gold-lt); }
.news-strip__devices { display: flex; align-items: center; gap: 12px; color: var(--gold-lt); }
.news-strip__devices p { line-height: 1.7; font-size: .92rem; text-align: center; }
.news-strip__devices svg { width: 74px; height: 40px; }

/* Footer */
.site-footer { margin-top: 26px; }
.site-footer__grid { grid-template-columns: repeat(5, minmax(0, 1fr)) 1.4fr 1.2fr; }
.site-footer__grid:not(.has-social) { grid-template-columns: repeat(4, minmax(0, 1fr)) 1.4fr 1.2fr; }
.f-col { padding-inline: 10px; border-inline-start: 1px solid rgba(201, 162, 74, .35); }
.f-col:first-child { border: 0; }
.f-col h3 { text-align: center; }
.f-contact li { display: flex; align-items: center; gap: 8px; }
.f-contact svg { color: var(--gold); width: 18px; height: 18px; }
.f-contact li::before, .f-social li::before { content: none; }
.f-about p { font-size: .85rem; line-height: 2.2; }
.f-brand { display: grid; place-items: center; border: 0; }
.f-brand img { width: 100%; max-width: 240px; height: auto; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); }
.social { display: flex; gap: 8px; justify-content: center; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #fff6dc; color: var(--maroon-dk); }
.social svg { width: 20px; height: 20px; }

/* Single story (opened from «ابھی پڑھیں») */
.story-meta { color: var(--gold-lt); }
.story-entry { max-width: 920px; margin-inline: auto; }
.story-entry__x { display: inline-block; border: 1px solid var(--gold); border-radius: 999px; padding: 0 14px 4px; color: var(--maroon); font-weight: 700; margin-bottom: 8px !important; }
.story-entry__intro p { font-size: 1.08rem; line-height: 2.3; }
.story-entry__tag { margin-top: 10px !important; display: inline-block; background: #2b1a14; color: #fff; padding: 2px 16px 8px; border-radius: 4px; }
.story-entry__page { margin: 18px 0 0; }
.story-entry__page img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.story-entry__page figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.h1--long { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem) !important; max-width: 900px; margin-inline: auto; line-height: 1.9; }

/* Responsive (v2) */
@media (max-width: 1100px) {
	.trio { grid-template-columns: 1fr 1fr; }
	.trio__issues { grid-column: 1 / -1; order: -1; }
	.writer-track { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
	.old-issues .carousel__track { grid-auto-columns: calc((100% - 4 * 12px) / 5); }
	.site-footer__grid, .site-footer__grid:not(.has-social) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.f-col { border: 0; }
	.about { grid-template-columns: 1fr 1fr; }
	.about__points { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.hero-cover { width: 190px; left: 6px; }
	.hero__visual .open-book { width: 290px; height: 250px; }
	.featured { grid-template-columns: 1fr; }
	.writer-track { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
	.news-strip { grid-template-columns: 1fr; text-align: center; }
	.news-strip .subscribe { justify-content: center; }
	.news-strip__text { border: 0; padding: 0; }
	.news-strip__devices { justify-content: center; }
}
@media (max-width: 600px) {
	.hero__logo { width: min(330px, 92%); }
	.hero-cover { width: 150px; left: 0; }
	.hero__visual .open-book { width: 230px; height: 210px; }
	.hero__actions { flex-wrap: wrap; }
	.hero__actions .btn--lg { font-size: 1rem; }
	.trio { grid-template-columns: 1fr; }
	.trio__issues { order: -1; }
	.story-card { grid-template-columns: 1fr; }
	.story-card__body { align-items: center; text-align: center; }
	.story-card__img { order: -1; }
	.story-card__img img { height: 210px; min-height: 0; }
	.old-issues .carousel__track { grid-auto-columns: calc((100% - 12px) / 2.4); }
	.years { justify-content: center; }
	.writer-track { grid-auto-columns: 82%; }
	.about { grid-template-columns: 1fr; }
	.news-strip { padding: 14px; }
	.news-strip .subscribe { flex-direction: column; width: 100%; }
	.news-strip .subscribe__field { width: 100%; }
	.news-strip .subscribe .btn { width: 100%; }
	.site-footer__grid, .site-footer__grid:not(.has-social) { grid-template-columns: 1fr 1fr; }
	.f-brand, .f-about { grid-column: 1 / -1; order: -1; }
	.f-brand { order: -2; }
}

/* v2.1 — subscription ad, «مشہور و مقبول سلسلے», design category cards */
.trio__ad { display: block; border-radius: 14px; overflow: hidden; border: 2px solid var(--gold); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.trio__ad:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.trio__ad img { width: 100%; height: auto; }
.panel__head--center { flex-direction: column; gap: 0; }
.panel__sub { color: var(--muted); font-size: .9rem; margin-top: -4px; }
.popular-list--series li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 4px 12px 8px; }
.popular-list--series small { display: block; margin: 0; padding-inline-start: 28px; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.cat-card { aspect-ratio: 233 / 135; }
.cat-card img { filter: none; }
.cat-card:hover img { filter: none; }
.news-strip__devices svg { width: 40px; height: 40px; }
@media (max-width: 600px) { .popular-list--series li { align-items: center; text-align: center; } .popular-list--series small { padding: 0; } }

/* v2.2 — home videos, New Arrivals / bestseller, contact */
.vgrid--promo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vgrid--promo .vcard__media { aspect-ratio: 16 / 9; }
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.books__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 18px; box-shadow: var(--shadow); }
.books__item .sec-head { margin-bottom: 10px; }
.books__poster { display: block; border-radius: 12px; overflow: hidden; border: 2px solid var(--gold); margin-bottom: 14px; }
.books__poster img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.books__poster:hover img { transform: scale(1.02); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.contact-card img { width: 100%; height: auto; border-radius: 10px; }
.contact-card figcaption { text-align: center; margin-top: 12px; }
.contact-card figcaption .btn { font-family: system-ui, "Segoe UI", sans-serif; white-space: normal; word-break: break-all; }
.f-email { font-family: system-ui, "Segoe UI", sans-serif; font-size: .8rem; word-break: break-all; }
@media (max-width: 900px) { .vgrid--promo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .books, .contact-grid { grid-template-columns: 1fr; } .vgrid--promo { grid-template-columns: 1fr; } }
.f-genres { columns: 2; column-gap: 14px; }
.f-genres li { break-inside: avoid; font-size: .85rem; }
.site-footer__grid:not(.has-social) { grid-template-columns: 1.1fr 1fr 1.7fr 1fr 1.3fr 1.2fr; }
.site-footer__grid.has-social { grid-template-columns: .9fr 1.1fr 1fr 1.7fr 1fr 1.3fr 1.2fr; }
@media (max-width: 1100px) { .site-footer__grid:not(.has-social), .site-footer__grid.has-social { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .site-footer__grid:not(.has-social), .site-footer__grid.has-social { grid-template-columns: 1fr 1fr; } .f-genres { columns: 1; } }

/* v2.3 — home video sections (one per video) */
.promo-sec__video { max-width: 920px; margin-inline: auto; }
.promo-sec .vcard { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.promo-sec .vcard__media { aspect-ratio: 16 / 9; }
.promo-sec .vcard__play { width: 78px; height: 78px; }
.promo-sec + .promo-sec { padding-top: 6px; }
@media (max-width: 600px) { .promo-sec .vcard__play { width: 58px; height: 58px; } }

/* v2.5 — category cards: 5 cards, centred rows */
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cat-grid .cat-card { flex: 0 0 calc((100% - 4 * 16px) / 5); }
@media (max-width: 900px) { .cat-grid .cat-card { flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 600px) { .cat-grid { gap: 10px; } .cat-grid .cat-card { flex-basis: calc((100% - 10px) / 2); } }


/* v2.6: three associate editors under the editor */
.org__row--split::before { right: calc(50% - 270px); left: calc(50% - 270px); }
@media (max-width: 900px) {
	.org__row--split::before { right: calc(50% - 184px); left: calc(50% - 184px); }
}

/* v2.7: admin-only «manage videos» button on the videos page */
.nd-vmanage { text-align: center; margin-bottom: 18px; }
.nd-vmanage small { display: block; color: var(--muted); margin-top: 4px; }
