/*
Theme Name: DID NEWS
Theme URI: https://www.didnews.in/
Author: LAPA Media and Entertainment Pvt Ltd
Description: Broadsheet newspaper theme for DID NEWS (English): centred nameplate, ruled columns, Today's Paper (India Darpan e-paper), key points box and listen button.
Version: 0.3.0
Requires PHP: 8.0
Text Domain: didnews
*/

:root {
	--ink: #121212;
	--text: #222222;
	--muted: #5a5a5a;
	--rule: #d9d9d9;
	--rule-dark: #121212;
	--paper: #FFFDF8;
	--tint: #FFF4E8;
	/* Logo colours: DID NEWS reds, India Darpan saffron and green */
	--red: #C8102E;
	--maroon: #7A0508;
	--saffron: #F07B22;
	--saffron-text: #B4500A;
	--green: #0B6B2E;
	--green-dark: #0E3B26;
	--green-tint: #EEF6EF;
	--navy: #001A36; /* from the DID NEWS logo (NEWS) */
	--navy-tint: #E9EEF5;
	--nameplate: "Playfair Display", "Times New Roman", serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--serif); font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; background: var(--paper); padding: 8px 12px; z-index: 100; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 700; }

/* Section colours (from the two logos) */
.sec-red { --sec: var(--red); --sec-bg: #FDECEE; }
.sec-maroon { --sec: var(--maroon); --sec-bg: #F8E9E9; }
.sec-saffron { --sec: var(--saffron-text); --sec-bg: var(--tint); }
.sec-green { --sec: var(--green); --sec-bg: var(--green-tint); }
.sec-navy { --sec: var(--navy); --sec-bg: var(--navy-tint); }

/* Labels and meta: small sans */
.kicker { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--sec, var(--red)); }
.meta { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.label { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); }

/* ---------- Masthead ---------- */
.brandbar { display: flex; height: 6px; }
.brandbar span { flex: 3 1 0; background: var(--red); }
.brandbar span:nth-child(2) { flex: 1 1 0; background: var(--navy); }
.utility { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 10px; padding-bottom: 6px; }
.utility nav { display: flex; flex-wrap: wrap; gap: 18px; }
.utility a { color: var(--ink); font-weight: 600; }
.nameplate { text-align: center; padding: 6px 0 10px; }
.nameplate__name { display: inline-block; font-family: var(--nameplate); font-weight: 900; font-size: clamp(46px, 8vw, 96px); line-height: 1; letter-spacing: -1px; color: var(--ink); }
.nameplate__name:hover { text-decoration: none; }
.nameplate__name b { font-weight: 900; color: var(--red); }
.nameplate__darpan { display: inline-block; vertical-align: middle; height: 22px; width: auto; margin-left: 6px; }
.nameplate .custom-logo { max-height: 110px; width: auto; margin: 0 auto; }
.nameplate__sub { margin-top: 6px; font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: .3px; }
.dateline { background: var(--navy); color: #fff; border: 0; }
.dateline a { color: #FFB067; }
.dateline .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-top: 6px; padding-bottom: 6px; font-family: var(--sans); font-size: 13px; }
.dateline strong { font-weight: 700; }
.sectionnav ul { list-style: none; margin: 0 auto; padding: 10px 24px; max-width: var(--wrap); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.sectionnav { background: var(--red); border-bottom: 4px solid var(--saffron); }
.sectionnav a { color: #fff; padding-bottom: 3px; border-bottom: 3px solid transparent; }
.sectionnav a:hover { color: #fff; text-decoration: none; border-bottom-color: #FFD3A8; }
.sectionnav .current-menu-item > a, .sectionnav .current-cat > a { color: #fff; border-bottom-color: #fff; }
.alertline { border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 14px; }
.alertline .wrap { display: flex; gap: 12px; align-items: baseline; padding-top: 9px; padding-bottom: 9px; }
.alertline .kicker { white-space: nowrap; }
.alertline a { font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- Front page ---------- */
main.site-main { padding-top: 24px; padding-bottom: 48px; }
.front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--rule-dark); padding-bottom: 24px; }
.front > * { padding: 0 20px; min-width: 0; }
.front > *:first-child { padding-left: 0; }
.front > *:last-child { padding-right: 0; }
.front > * + * { border-left: 1px solid var(--rule); }
.stack > * + * { border-top: 1px solid var(--rule); margin-top: 16px; padding-top: 16px; }
.textstory h3 { margin: 6px 0 6px; font-size: 21px; }
.textstory p { margin: 0 0 6px; font-size: 16px; color: var(--muted); line-height: 1.5; }
.lead h2 { margin: 12px 0 10px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.3px; }
.lead p { margin: 0 0 10px; font-size: 19px; color: #333; }
.lead__related { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 600; }
.lead__related li::before { content: "› "; color: var(--saffron-text); font-weight: 700; }
.col-right > .label { color: var(--red); border-bottom: 3px solid var(--red); padding-bottom: 6px; display: block; }
.smallstory .meta { color: var(--saffron-text); font-weight: 700; }
.figure { background: #e8e6e1; aspect-ratio: 3 / 2; overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--wide { aspect-ratio: 16 / 9; }
.caption { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 6px; }
.smallstory--img { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 12px; align-items: start; }
.smallstory h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.3; }
.smallstory .figure { aspect-ratio: 1; }

/* Today's Paper box (right column and article end) */
.todays { background: var(--tint); border: 0; border-top: 4px solid var(--saffron); border-bottom: 4px solid var(--red); padding: 16px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.todays__page { aspect-ratio: 32.5 / 51.7; border: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; padding: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.todays__page span { display: block; height: 4px; background: #e2e2e2; margin-top: 4px; }
.todays h3 { margin: 4px 0 6px; font-size: 19px; }
.todays p { margin: 0 0 8px; font-size: 14px; color: var(--muted); font-family: var(--sans); }
.todays a.more { display: inline-block; font-family: var(--sans); font-size: 14px; font-weight: 700; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 3px; }
.todays .label { color: var(--saffron-text); }

/* Section blocks below the fold */
.sectionblock { margin-top: 28px; padding: 0 20px 22px; background: var(--sec-bg, transparent); }
.sectionblock .figure { box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.after-article .sectionblock, .sectionblock.plain { background: transparent; padding-left: 0; padding-right: 0; }
.col-right > .label { background: var(--red); color: #fff !important; border: 0 !important; padding: 6px 10px !important; }
.lead h2 a:hover { color: var(--red); }
.textstory h3 a:hover, .smallstory h3 a:hover, .sectionblock h3 a:hover { color: var(--sec, var(--red)); }
.sectionblock__head { display: flex; justify-content: space-between; align-items: baseline; border-top: 4px solid var(--sec, var(--rule-dark)); padding-top: 8px; margin-bottom: 16px; }
.sectionblock__head h2 { margin: 0; font-size: 22px; color: var(--sec, var(--ink)); }
.sectionblock__head h2 a { color: var(--sec, var(--ink)); }
.sectionblock__head a.more { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--sec, var(--ink)); }
.sectionblock__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 0; }
.sectionblock__grid > * { padding: 0 18px; min-width: 0; }
.sectionblock__grid > *:first-child { padding-left: 0; }
.sectionblock__grid > *:last-child { padding-right: 0; }
.sectionblock__grid > * + * { border-left: 1px solid var(--rule); }
.sectionblock__grid h3 { margin: 6px 0; font-size: 19px; }
.sectionblock__grid .first h3 { font-size: 24px; }
.sectionblock__grid p { margin: 0; font-size: 15px; color: var(--muted); }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.mostread { list-style: none; margin: 0; padding: 0; counter-reset: mr; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 28px; }
.mostread li { counter-increment: mr; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.mostread li::before { content: counter(mr); font-family: var(--nameplate); font-size: 34px; font-weight: 900; line-height: 1; color: var(--saffron); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: middle; animation: dnpulse 1.6s infinite; }
@keyframes dnpulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Ads */
.ad-slot { background: #f3f3f3; border: 1px dashed #bbb; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 12px; color: var(--muted); min-height: 90px; margin: 24px 0; }
.ad-slot--box { min-height: 250px; }
.ad-slot--tall { min-height: 600px; }
.ad-live { text-align: center; margin: 24px 0; }
.ad-label { font-family: var(--sans); font-size: 11px; color: var(--muted); text-align: center; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Article ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article__head { text-align: left; }
.article h1 { margin: 10px 0 12px; font-size: clamp(32px, 4vw, 50px); line-height: 1.1; letter-spacing: -.4px; }
.article .dek { margin: 0 0 18px; font-size: 21px; line-height: 1.45; color: #444; }
.byline { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 12px 0; margin-bottom: 20px; font-family: var(--sans); }
.byline__who { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.byline__who img { width: 40px; height: 40px; border-radius: 50%; }
.byline__who div { display: flex; flex-direction: column; line-height: 1.35; }
.byline__tools { display: flex; gap: 8px; }
.tool-btn { font: 600 14px var(--sans); min-height: 44px; padding: 8px 14px; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 22px; }
.tool-btn[data-dn-listen] { background: var(--red); border-color: var(--red); color: #fff; }
.tool-btn[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.hero { margin: 0 auto 24px; max-width: 1000px; }
.hero figcaption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; }
.keypoints { background: var(--green-tint); border-left: 5px solid var(--green); padding: 14px 18px 12px; margin-bottom: 24px; }
.keypoints h2 { margin: 0 0 8px; color: var(--green); }
.keypoints ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.keypoints li::marker { color: var(--green); }
.entry { font-size: 20px; line-height: 1.7; color: var(--text); }
.article .entry > p:first-of-type::first-letter { float: left; font-family: var(--nameplate); font-weight: 900; font-size: 4.1em; line-height: .82; margin: 6px 8px 0 0; color: var(--red); }
.entry p { margin: 0 0 1.15em; }
.entry h2 { font-size: 27px; margin: 1.5em 0 .5em; }
.entry h3 { font-size: 22px; margin: 1.3em 0 .4em; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote { margin: 1.4em 0; padding: 0 0 0 20px; border-left: 4px solid var(--saffron); font-size: 23px; font-style: italic; }
.entry figure { margin: 1.4em 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--sans); font-size: 13px; margin-top: 24px; }
.tags a { border: 1px solid var(--rule); padding: 4px 12px; border-radius: 20px; }
.corrections { font-family: var(--sans); font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 24px; }
.corrections a { font-weight: 600; color: var(--ink); text-decoration: underline; }
.after-article { max-width: var(--wrap); margin: 40px auto 0; }
.crumbs { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--sec, var(--red)); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }

/* ---------- Lists (category, search) ---------- */
.archive-head { border-bottom: 4px solid var(--sec, var(--red)); padding-bottom: 12px; margin-bottom: 24px; }
.archive-head h1 { color: var(--sec, var(--ink)); margin: 0 0 6px; font-family: var(--nameplate); font-weight: 900; font-size: clamp(36px, 5vw, 56px); }
.archive-list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 260px; gap: 24px; border-bottom: 1px solid var(--rule); padding: 20px 0; }
.row__date { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.row h2 { margin: 4px 0 6px; font-size: 24px; }
.row p { margin: 0; color: var(--muted); font-size: 16px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; font-family: var(--sans); }
.pagination .page-numbers { border: 1px solid var(--rule); padding: 8px 14px; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input[type="search"] { flex: 1; font: 16px var(--sans); padding: 10px 12px; border: 1px solid #888; min-height: 44px; }
.search-form button { font: 600 15px var(--sans); padding: 10px 18px; background: var(--ink); color: var(--paper); border: 0; cursor: pointer; min-height: 44px; }

/* Plain pages */
.page-article { max-width: 760px; margin: 0 auto; }
.page-article h1 { font-family: var(--nameplate); font-weight: 900; font-size: clamp(34px, 5vw, 52px); margin: 0 0 16px; }

/* ---------- Footer ---------- */
/* Facebook page box */
.fbbox { background: #EEF3FC; border-top: 4px solid #1877F2; padding: 14px; }
.fbbox .label { display: block; color: #1458B8; margin: 0 0 10px; }
.fbbox iframe { display: block; width: 100%; max-width: 340px; margin: 0 auto; background: #fff; }
.fbbox__follow { display: inline-block; margin-top: 10px; font-family: var(--sans); font-size: 14px; font-weight: 700; color: #1458B8; }
.after-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 760px; margin: 32px auto 0; align-items: start; }

/* Mother India magazine band */
.mi-band { background: linear-gradient(100deg, #FFE9D3 0%, #FFF4E8 55%, #FDECEE 100%); border-top: 4px solid var(--saffron); margin-top: 48px; }
.mi-band .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.mi-band__cover img { width: 100%; height: auto; box-shadow: 0 14px 30px rgba(122, 5, 8, .28); transform: rotate(-2deg); transition: transform .2s; }
.mi-band__cover:hover img { transform: rotate(0); }
.mi-band .label { color: var(--saffron-text); }
.mi-band h2 { margin: 6px 0 4px; font-family: var(--nameplate); font-weight: 900; font-size: clamp(30px, 4vw, 44px); color: var(--red); }
.mi-band h2 span { font-family: "Noto Serif Devanagari", var(--serif); color: var(--maroon); font-size: .7em; margin-left: 6px; }
.mi-band__issue { margin: 0 0 8px; font-family: "Noto Serif Devanagari", var(--serif); font-size: 20px; font-weight: 700; color: var(--maroon); }
.mi-band p { margin: 0 0 14px; max-width: 560px; }
.mi-band__btn { display: inline-block; background: var(--red); color: #fff !important; font-family: var(--sans); font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 3px; }
.mi-band__btn:hover { background: var(--maroon); text-decoration: none; }
@media (max-width: 640px) {
	.mi-band .wrap { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding-top: 24px; padding-bottom: 24px; }
	.mi-band p:not(.mi-band__issue) { display: none; }
}

.site-footer { background: #111111; color: #EDEDED; border-top: 6px solid var(--red); box-shadow: inset 0 6px 0 var(--saffron); font-family: var(--sans); font-size: 14px; }
.site-footer a { color: #EDEDED; }
.site-footer__top { text-align: center; padding: 28px 0 8px; }
.site-footer__top .nameplate__name { font-size: 44px; color: #fff; }
.site-footer__top .nameplate__name b { color: #E0103A; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 16px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.2); }
.site-footer h2 { font-family: var(--sans); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 10px; color: #FFB067; }
.site-footer__top .nameplate__name b { color: #E0103A; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.site-footer .darpan-logo { max-width: 220px; margin-top: 4px; background: #fff; padding: 8px; border-radius: 4px; }
.site-footer .meta { color: #BDBDBD; }
.footer-mi { display: block; margin-top: 12px; max-width: 176px; }
.footer-mi span { display: block; margin-bottom: 8px; }
.footer-mi img { width: 100%; height: auto; border: 3px solid #F07B22; border-radius: 3px; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.footer-mi:hover img { border-color: #fff; }
.copyright { padding: 14px 0 24px; color: #BDBDBD; font-size: 13px; text-align: center; }

/* ---------- Tablets ---------- */
@media (max-width: 1000px) {
	.front { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.front .leadslider { grid-column: 1 / -1; order: -1; padding: 0 0 20px; border-left: 0; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
	.front > .col-left { padding-left: 0; border-left: 0; }
	.sectionblock__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
	.sectionblock__grid > *:nth-child(odd) { padding-left: 0; border-left: 0; }
	.row { grid-template-columns: minmax(0, 1fr) 200px; }
	.row__date { grid-column: 1 / -1; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
	body { font-size: 17px; }
	.wrap { padding: 0 16px; }
	.utility nav { gap: 14px; }
	.sectionnav ul { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 10px 16px; white-space: nowrap; }
	.front { grid-template-columns: minmax(0, 1fr); }
	.front > * { padding: 0; border-left: 0 !important; }
	.front > * + * { border-top: 1px solid var(--rule); margin-top: 16px; padding-top: 16px; }
	.sectionblock__grid { grid-template-columns: minmax(0, 1fr); }
	.sectionblock__grid > * { padding: 0; border-left: 0 !important; }
	.sectionblock__grid > * + * { border-top: 1px solid var(--rule); padding-top: 14px; }
	.twocol { grid-template-columns: minmax(0, 1fr); }
	.row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.entry { font-size: 19px; }
	.byline__tools { width: 100%; }
}

/* Contact page: details list, form and office map */
.contact-list { list-style: none; margin: 0 0 1.2em; padding: 0; font-family: var(--sans); font-size: 16px; border-top: 1px solid var(--rule); }
.contact-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.contact-list__k { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); padding-top: 3px; }
.connect { font-family: var(--sans); font-size: 16px; margin: 0 0 1.5em; }
.connect__form { background: var(--tint); border-top: 4px solid var(--saffron); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.connect__form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.connect__form legend { font-weight: 700; margin-bottom: 8px; width: 100%; }
.connect__chip { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid #d8cfc4; border-radius: 20px; padding: 8px 12px; cursor: pointer; font-size: 14px; }
.connect__chip:has(input:checked) { border-color: var(--red); background: #FDECEE; }
.connect__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.connect label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.connect label.connect__chip, .connect label.connect__agree { flex-direction: row; font-weight: 400; }
.connect input[type="text"], .connect input[type="tel"], .connect input[type="email"], .connect input[type="url"], .connect input[type="number"], .connect select, .connect textarea { font: 16px var(--sans); padding: 10px 12px; border: 1px solid #b9ada0; border-radius: 4px; background: #fff; min-height: 44px; width: 100%; }
.connect__wide { grid-column: 1 / -1; }
.connect__sub { margin: 0 0 8px; font-weight: 700; color: var(--maroon); }
.connect__send { align-self: flex-start; font: 700 16px var(--sans); background: var(--red); color: #fff; border: 0; border-radius: 4px; padding: 12px 24px; min-height: 44px; cursor: pointer; }
.connect__send:hover { background: var(--maroon); }
.connect__note { margin: 0; font-size: 13px; color: var(--muted); }
.connect__hp { position: absolute; left: -9999px; }
.connect__done { background: #E8F5EC; border-left: 5px solid #1D6B3A; padding: 14px 18px; margin-bottom: 14px; }
.connect__err { background: #FDECEE; border-left: 5px solid var(--red); padding: 14px 18px; margin-bottom: 14px; }
.req { color: var(--red); }
.office-map iframe { width: 100%; height: 420px; border: 0; display: block; }
.office-map__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.office-map__btn { display: inline-block; font: 700 15px var(--sans); background: var(--red); color: #fff !important; padding: 10px 16px; border-radius: 4px; text-decoration: none !important; }

/* Masthead: DID NEWS left, India Darpan right, India Darpan motto below */
.nameplate { text-align: left; padding: 10px 0 0; }
.nameplate__row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.nameplate__left { display: flex; flex-direction: column; gap: 4px; flex: 0 1 auto; min-width: 0; }
.nameplate__left .nameplate__name { font-size: clamp(40px, 6.4vw, 92px); white-space: nowrap; }
.nameplate__left .nameplate__sub { margin-top: 0; }
.nameplate__right { display: block; flex: 0 1 400px; min-width: 150px; }
.nameplate__right img { width: 100%; height: auto; }
.nameplate__right:hover { text-decoration: none; opacity: .92; }
.nameplate__motto { margin: 8px 0 0; padding: 7px 16px; text-align: center; font-family: "Noto Serif Devanagari", var(--serif); font-weight: 700; font-size: 20px; color: var(--red); letter-spacing: .5px; border-top: 1px solid var(--rule); }
@media (max-width: 640px) {
	.nameplate__row { flex-wrap: wrap; justify-content: center; text-align: center; }
	.nameplate__left { align-items: center; width: 100%; }
	.nameplate__right { flex-basis: 100%; max-width: 300px; margin: 0 auto; }
	.nameplate__motto { font-size: 17px; }
}

/* DID NEWS logo image (red boxes on black) */
.dn-logo { display: inline-block; line-height: 0; }
.dn-logo img { display: block; height: 124px; width: auto; }
.dn-logo:hover { text-decoration: none; opacity: .95; }
.dn-logo--footer img { height: 84px; }
@media (max-width: 900px) { .dn-logo img { height: 96px; } }
@media (max-width: 640px) { .dn-logo img { height: 72px; } }

/* Social icons (top bar and footer) */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; }
.social a:hover { text-decoration: none; filter: brightness(1.12); }
.social--labels { flex-direction: column; gap: 8px; }
.social--labels a { width: auto; height: auto; border-radius: 20px; padding: 6px 12px 6px 8px; gap: 8px; font-size: 14px; font-weight: 600; }
.social--labels svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .social a { width: 36px; height: 36px; } }

/* Logo v2 (navy NEWS): white card in the black footer so NEWS stays readable */
.dn-logo--footer { background: #fff; padding: 10px 16px; border-radius: 6px; }
.dn-logo--footer img { height: 72px; }

/* Navy accents */
.nameplate__motto { border-top: 0; }
.label { color: var(--navy); }
.sectionblock__head h2 a:hover { color: var(--red); }
.textstory h3 a, .lead h2 a, .smallstory h3 a, .sectionblock h3 a, .row h2 a, .mostread a { color: var(--navy); }
.byline__who strong { color: var(--navy); }

/* Video box (right column, under Today's Paper) */
.videobox { background: var(--navy-tint); border-top: 4px solid var(--red); padding: 14px; }
.videobox .label { display: block; color: var(--navy); margin: 0 0 10px; }
.videobox__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.videobox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Nav: swipe without a visible scrollbar */
.sectionnav ul { scrollbar-width: none; -ms-overflow-style: none; }
.sectionnav ul::-webkit-scrollbar { display: none; }

/* Dateline always one line */
.dateline .wrap { flex-wrap: nowrap; white-space: nowrap; }
.dateline .wrap > * { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
	.dateline .wrap { font-size: 12px; gap: 10px; }
	.dateline .wrap > span { display: none; }
}

/* Bottom row: Most read + Facebook */
.bottomrow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.bottomrow > .sectionblock { margin-top: 0; }
@media (max-width: 900px) { .bottomrow { grid-template-columns: 1fr; } }
.videobox__sound { position: absolute; left: 10px; bottom: 10px; z-index: 2; border: 0; cursor: pointer; padding: 8px 12px; font: 700 13px/1 var(--sans); color: #fff; background: var(--red); box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.videobox__sound[hidden] { display: none; }

/* Masthead: motto sits in the centre between the two logos (desktop) */
.nameplate { padding-bottom: 10px; }
.nameplate__row .nameplate__motto { flex: 1 1 auto; margin: 0; padding: 0 8px; font-size: clamp(18px, 2.1vw, 28px); line-height: 1.5; display: flex; align-items: center; justify-content: center; gap: 14px; white-space: nowrap; }
.nameplate__row .nameplate__motto::before, .nameplate__row .nameplate__motto::after { content: ""; flex: 0 1 60px; height: 2px; background: linear-gradient(90deg, var(--saffron), var(--red)); }
.nameplate__row .nameplate__motto::after { background: linear-gradient(90deg, var(--red), var(--saffron)); }
@media (max-width: 900px) { .nameplate__row .nameplate__motto::before, .nameplate__row .nameplate__motto::after { display: none; } }
@media (max-width: 640px) {
	.nameplate__row .nameplate__motto { order: 3; flex-basis: 100%; font-size: 17px; white-space: normal; padding-top: 4px; }
}

/* Line under the India Darpan logo */
.nameplate__right { text-align: center; }
.nameplate__darpan-tag { display: block; margin-top: 6px; font-family: var(--sans); font-size: clamp(12px, 1.2vw, 15px); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--navy); }

/* Live bar: scrolling ticker of the newest headlines */
.alertline .wrap { display: flex; align-items: center; gap: 14px; overflow: hidden; }
.alertline .kicker { flex: 0 0 auto; }
.ticker { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: dn-tick calc(var(--n, 8) * 7s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__track li { white-space: nowrap; padding-right: 40px; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.ticker__track li::before { content: "■"; color: var(--red); font-size: 8px; vertical-align: middle; margin-right: 12px; }
.ticker__time { color: var(--saffron-text); font-weight: 700; margin-right: 4px; }
.ticker__track a { color: var(--ink); }
@keyframes dn-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } .ticker__track { animation: none; } }

/* Top story slider (auto-rotating) */
.leadslider { position: relative; min-width: 0; }
.leadslider .lead { display: none; }
.leadslider .lead.is-active { display: block; animation: dn-fade .5s ease; }
@keyframes dn-fade { from { opacity: .25; } to { opacity: 1; } }
.leadslider__dots { display: flex; gap: 8px; margin-top: 12px; }
.leadslider__dots button { width: 28px; height: 5px; padding: 0; border: 0; cursor: pointer; background: var(--rule); }
.leadslider__dots button.is-active { background: var(--red); }
@media (prefers-reduced-motion: reduce) { .leadslider .lead.is-active { animation: none; } }

/* Section blocks: every story gets a photo; small stories sit in a balanced column */
@media (min-width: 901px) {
	.sectionblock__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); align-items: start; column-gap: 28px; }
	.sectionblock__grid > * { padding: 0 !important; border-left: 0 !important; }
	.sectionblock__grid > article:not(.first) { position: relative; }
	.sectionblock__grid > article + article::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 0; border-left: 1px solid var(--rule); }
	.sectionblock__grid > article.first + article::before, .sectionblock__grid > article:not(.first) + article::before { }
	.sectionblock__grid > article { display: flex; flex-direction: column; }
	.sectionblock__grid > article:not(.first) .figure { margin-bottom: 4px; }
	.sectionblock__grid > article:not(.first) .figure img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
	.sectionblock__grid > article:not(.first) h3 { font-size: 17px; line-height: 1.3; }
	.sectionblock__grid .first .figure img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
	.sectionblock__grid .first h3 { font-size: 23px; line-height: 1.22; }
}
.sectionblock__grid .figure { margin: 0 0 8px; }
@media (max-width: 640px) {
	/* Phone: first story big, others as a list with a small photo on the right */
	.sectionblock__grid > article:not(.first) { display: grid; grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "title pic" "meta pic"; gap: 2px 12px; align-items: start; }
	.sectionblock__grid > article:not(.first) > a[aria-hidden] { grid-area: pic; }
	.sectionblock__grid > article:not(.first) h3 { grid-area: title; margin: 0; font-size: 17px; }
	.sectionblock__grid > article:not(.first) .meta { grid-area: meta; }
	.sectionblock__grid > article:not(.first) .figure { margin: 0; box-shadow: none; }
	.sectionblock__grid > article:not(.first) .figure img { aspect-ratio: 1 / 1; object-fit: cover; width: 96px; height: 96px; }
	.sectionblock__grid > article:not(.first) figcaption, .sectionblock__grid > article:not(.first) .figure__credit { display: none; }
}

/* ---- Gap fixes (desktop) ---- */
/* More top stories under the slider */
.leadmore { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.leadmore .figure { margin: 0 0 8px; }
.leadmore .figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.leadmore h3 { margin: 4px 0 4px; font-size: 18px; line-height: 1.28; }
.leadmore h3 a { color: var(--navy); }
.leadmore h3 a:hover { color: var(--red); }

/* Section blocks: big story left, list of 4 with photos right */
@media (min-width: 901px) {
	.sectionblock__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-auto-flow: row; column-gap: 28px; row-gap: 0; }
	.sectionblock__grid > article.first { grid-row: 1 / span 4; }
	.sectionblock__grid > article + article::before { display: none; }
	.sectionblock__grid > article:not(.first) { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-areas: "pic title" "pic meta"; gap: 2px 14px; align-content: start; padding: 12px 0 !important; border-top: 1px solid var(--rule); }
	.sectionblock__grid > article:nth-child(2) { border-top: 0; padding-top: 0 !important; }
	.sectionblock__grid > article:not(.first) > a[aria-hidden] { grid-area: pic; }
	.sectionblock__grid > article:not(.first) .figure { margin: 0; }
	.sectionblock__grid > article:not(.first) .figure img { aspect-ratio: 3 / 2; width: 132px; height: auto; object-fit: cover; }
	.sectionblock__grid > article:not(.first) h3 { grid-area: title; margin: 0; font-size: 17px; line-height: 1.3; }
	.sectionblock__grid > article:not(.first) .meta { grid-area: meta; }
	.sectionblock__grid > article.first { padding-right: 28px !important; border-right: 1px solid var(--rule); margin-right: -14px; }
}
/* Tablet: keep sections tidy with 5 stories (first full width, then 2x2) */
@media (min-width: 641px) and (max-width: 900px) {
	.sectionblock__grid > article.first { grid-column: 1 / -1; }
}

/* Bottom row: equal-height panels, Must Read in 2 columns */
.bottomrow { align-items: stretch; }
.bottomrow > .sectionblock { height: 100%; box-sizing: border-box; }
.bottomrow .mostread { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.bottomrow .mostread li { font-size: 16px; }
@media (max-width: 640px) { .bottomrow .mostread { grid-template-columns: 1fr; } }
/* tuning: compact extra top stories (photo left, headline right) */
.leadmore { gap: 14px 22px; }
.leadmore article { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "pic kick" "pic title" "pic meta"; gap: 0 12px; align-content: start; }
.leadmore article > a[aria-hidden] { grid-area: pic; }
.leadmore .figure { margin: 0; }
.leadmore .figure img { aspect-ratio: 1 / 1; width: 112px; height: 112px; }
.leadmore .kicker { grid-area: kick; }
.leadmore h3 { grid-area: title; font-size: 16px; margin: 2px 0; }
.leadmore .meta { grid-area: meta; }
@media (min-width: 901px) { .sectionblock__grid .first .figure img { aspect-ratio: 16 / 9; } }
@media (min-width: 901px) { .sectionblock__grid .first .figure { aspect-ratio: 16 / 9; } }
.leadmore .figure, .sectionblock__grid > article:not(.first) .figure { aspect-ratio: auto; }
.bottomrow > .sectionblock { display: flex; flex-direction: column; }
.bottomrow .mostread { flex: 1 1 auto; align-content: space-around; }
@media (min-width: 901px) { .bottomrow .mostread li { font-size: 17px; } }
@media (max-width: 640px) {
	.leadmore { grid-template-columns: minmax(0, 1fr); }
	.leadmore article { grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "kick pic" "title pic" "meta pic"; }
	.leadmore .figure img { width: 96px; height: 96px; }
}

/* Footer: Our newspaper / Our Magazine without gaps */
.site-footer .darpan-logo { display: block; }
.footer-mi__head { margin-top: 18px !important; }
.footer-mi { margin-top: 0; }

/* Left column stories: small photo beside the headline */
.textstory--img .textstory__pic { float: right; width: 96px; margin: 2px 0 6px 12px; }
.textstory--img .textstory__pic .figure { aspect-ratio: 1 / 1; margin: 0; }
.textstory--img .textstory__pic img { width: 96px; height: 96px; object-fit: cover; }
.textstory--img::after { content: ""; display: block; clear: both; }
.figure__fallback { object-fit: cover; }

/* Masthead: compact stack, DID NEWS logo, full form, motto (India Darpan logo removed) */
.nameplate--stack { padding: 12px 0 10px; text-align: center; }
.nameplate__stack { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nameplate--stack .dn-logo img { width: auto; height: 92px; }
.nameplate__fullform { margin: 2px 0 0; font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--navy); }
.nameplate__fullform b { color: var(--red); font-weight: 900; }
.nameplate--stack .nameplate__motto { margin: 0; padding: 0; border: 0; font-size: 19px; line-height: 1.4; }
@media (max-width: 640px) {
	.nameplate--stack { padding: 10px 0 8px; }
	.nameplate--stack .dn-logo img { height: 72px; }
	.nameplate__fullform { font-size: 13px; letter-spacing: 3px; }
	.nameplate--stack .nameplate__motto { font-size: 16px; }
}

/* ---------- Masthead v3: brand left, actions right (desktop); centred stack (phone) ---------- */
.utility__date { display: none; font-weight: 600; color: var(--navy); }
.masthead { background: #fff; border-bottom: 1px solid var(--rule); }
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.masthead__brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.masthead__brand .dn-logo img { width: auto; height: 84px; display: block; }
.masthead__text { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 3px solid var(--red); }
.masthead__text .nameplate__fullform { margin: 0; text-align: left; font-size: 17px; letter-spacing: 4px; }
.masthead__text .nameplate__motto { margin: 0; padding: 0; border: 0; text-align: left; font-size: 20px; line-height: 1.35; }
.masthead__actions { display: flex; align-items: center; gap: 12px; }
.masthead__live, .masthead__epaper { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font: 800 14px/1 var(--sans); letter-spacing: .6px; text-transform: uppercase; text-decoration: none; }
.masthead__live { background: var(--red); color: #fff; box-shadow: 0 4px 12px rgba(200,16,46,.3); }
.masthead__live .live-dot { background: #fff; }
.masthead__live:hover { background: var(--maroon); color: #fff; text-decoration: none; }
.masthead__epaper { background: var(--navy); color: #fff; }
.masthead__epaper:hover { background: #0E2A55; color: #FFB067; text-decoration: none; }
.masthead__search { display: flex; align-items: center; height: 40px; border: 1.5px solid var(--navy); border-radius: 999px; overflow: hidden; background: #fff; }
.masthead__search input { width: 170px; height: 100%; border: 0; padding: 0 6px 0 16px; font: 500 14px var(--sans); background: transparent; color: var(--ink); outline: none; }
.masthead__search button { height: 100%; padding: 0 14px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.masthead__search:focus-within { box-shadow: 0 0 0 3px rgba(0,26,54,.15); }
@media (min-width: 901px) {
	.utility__date { display: inline; }
	.utility__search { display: none; }
	.dateline { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
	.masthead__search input { width: 110px; }
	.masthead__text .nameplate__motto { font-size: 17px; }
	.masthead__text .nameplate__fullform { font-size: 15px; letter-spacing: 3px; }
}
@media (max-width: 900px) {
	.masthead { border-bottom: 0; }
	.masthead__row { justify-content: center; padding-top: 10px; padding-bottom: 8px; }
	.masthead__brand { flex-direction: column; gap: 4px; text-align: center; }
	.masthead__brand .dn-logo img { height: 72px; }
	.masthead__text { align-items: center; padding-left: 0; border-left: 0; }
	.masthead__text .nameplate__fullform { text-align: center; font-size: 13px; letter-spacing: 3px; }
	.masthead__text .nameplate__motto { text-align: center; font-size: 16px; }
	.masthead__actions { display: none; }
}

/* ---------- Horoscope v2: editorial two-column band ---------- */
.hz { --gold: #D9B25F; --gold-soft: rgba(217,178,95,.35); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 32px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--rule), 0 18px 40px rgba(0, 26, 54, .14); }
.hz__left { position: relative; padding: 30px 28px 28px; color: #E9EDF7; background: linear-gradient(165deg, #0A1E3F 0%, #001A36 55%, #061127 100%); }
.hz__left::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(1px 1px at 18% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 46%, #F3DFA8 50%, transparent 51%), radial-gradient(1px 1px at 40% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 8% 78%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 60% 90%, #F3DFA8 50%, transparent 51%); }
.hz__left > * { position: relative; }
.hz__kicker { margin: 0; font: 700 11px/1 var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.hz__title { margin: 10px 0 4px; font-family: var(--nameplate); font-weight: 900; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; color: #fff; }
.hz__date { margin: 0 0 18px; font: 500 13px var(--sans); color: #9FB0D3; }
.hz__finder { margin: 0 0 20px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.04); }
.hz__finder-label { display: block; margin-bottom: 8px; font: 600 12px var(--sans); color: #C9D3EA; }
.hz__finder-row { display: flex; gap: 8px; }
.hz__finder select { flex: 1 1 0; min-width: 0; height: 38px; padding: 0 30px 0 12px; border: 1px solid var(--gold-soft); border-radius: 6px; background: #0F2850 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23D9B25F'/%3E%3C/svg%3E") no-repeat right 12px center; color: #fff; font: 600 14px var(--sans); -webkit-appearance: none; appearance: none; cursor: pointer; }
.hz__finder select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.hz__finder button { flex: 0 0 auto; height: 38px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--gold); color: #0A1E3F; font: 800 13px var(--sans); letter-spacing: .5px; cursor: pointer; }
.hz__finder button:hover { background: #E8C87B; }
.hz__signs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
.hz__sign { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #C9D3EA; cursor: pointer; font: 600 12px var(--sans); }
.hz__glyph { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--gold); font-size: 22px; font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", sans-serif; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.hz__sign:hover .hz__glyph, .hz__sign:focus-visible .hz__glyph { border-color: var(--gold); transform: translateY(-2px); }
.hz__sign:focus-visible { outline: none; }
.hz__sign[aria-selected="true"] { color: #fff; }
.hz__sign[aria-selected="true"] .hz__glyph { background: var(--gold); color: #0A1E3F; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217,178,95,.18); }

.hz__card { --accent: #C8102E; position: relative; overflow: hidden; padding: 30px 32px 24px; color: var(--ink); background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F1 100%); border-top: 4px solid var(--accent); }
.hz__card[data-el="fire"] { --accent: #D9480F; } .hz__card[data-el="earth"] { --accent: #2F7D32; } .hz__card[data-el="air"] { --accent: #1C6FB8; } .hz__card[data-el="water"] { --accent: #5B3CA8; }
.hz__card.is-in > *:not(.hz__watermark) { animation: hz-in .45s ease both; }
@keyframes hz-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hz__watermark { position: absolute; right: -10px; bottom: -40px; font-size: 230px; line-height: 1; color: var(--accent); opacity: .06; pointer-events: none; font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", sans-serif; }
.hz__card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hz__card-kicker { margin: 0; font: 700 11px/1.4 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.hz__card-name { margin: 6px 0 2px; font-family: var(--nameplate); font-weight: 900; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--navy); }
.hz__card-dates { margin: 0; font: 500 13px var(--sans); color: var(--muted); }
.hz__score { flex: 0 0 auto; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; border: 2px solid var(--gold); text-align: center; background: #fff; }
.hz__score-num { font: 900 24px/1 var(--nameplate); color: var(--navy); }
.hz__score-label { margin-top: -18px; font: 700 9px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.hz__text { margin: 18px 0 20px; font-size: 19px; line-height: 1.55; color: #1F2633; }
.hz__meters { display: grid; gap: 12px; margin-bottom: 20px; }
.hz__meters > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); grid-template-areas: "label bar" "label text"; gap: 4px 14px; align-items: center; }
.hz__meters span { grid-area: label; font: 800 11px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy); }
.hz__meters i { grid-area: bar; display: block; height: 6px; border-radius: 99px; background: #ECE6D8; overflow: hidden; }
.hz__meters b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .6s ease; }
.hz__meters em { grid-area: text; font-style: normal; font-size: 15px; color: #3A4252; }
.hz__lucky { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hz__lucky li { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; }
.hz__lucky li + li { border-left: 1px solid var(--rule); }
.hz__lucky span { font: 700 10px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.hz__lucky b { font: 800 17px var(--sans); color: var(--navy); }
.hz__col i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); vertical-align: 0; }
.hz__col em { font-style: normal; }
.hz__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font: 500 12px var(--sans); color: var(--muted); }
.hz__share { height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 800 13px var(--sans); cursor: pointer; }
.hz__share:hover { background: var(--red); }
@media (max-width: 900px) {
	.hz { grid-template-columns: 1fr; }
	.hz__signs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.hz { margin-left: -4px; margin-right: -4px; border-radius: 8px; }
	.hz__left { padding: 22px 16px; }
	.hz__signs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 4px; }
	.hz__glyph { width: 46px; height: 46px; }
	.hz__card { padding: 22px 16px 18px; }
	.hz__score { width: 70px; height: 70px; }
	.hz__score-num { font-size: 20px; }
	.hz__score-label { margin-top: -14px; }
	.hz__text { font-size: 17px; }
	.hz__meters > div { grid-template-columns: 1fr; grid-template-areas: "label" "bar" "text"; }
	.hz__lucky { grid-template-columns: 1fr 1fr 1fr; }
	.hz__lucky li { padding: 10px 6px; }
	.hz__lucky b { font-size: 14px; }
	.hz__watermark { font-size: 160px; }
}
@media (prefers-reduced-motion: reduce) { .hz__card.is-in > * { animation: none; } .hz__meters b { transition: none; } }
.hz__finder-row { flex-wrap: wrap; }
.hz__finder select { flex-basis: 90px; }
@media (max-width: 640px) { .hz__signs { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); } }

/* Horoscope: star-field backgrounds */
.hz__left::before { opacity: .9; background-size: 220px 220px, 260px 260px, 300px 300px, 180px 180px, 240px 240px, 280px 280px;
	background-image: radial-gradient(1px 1px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 120px 80px, #F3DFA8 50%, transparent 51%), radial-gradient(1px 1px at 200px 160px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 60px 140px, #cfd8ff 50%, transparent 51%), radial-gradient(2px 2px at 180px 40px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90px 220px, #F3DFA8 50%, transparent 51%);
	animation: hz-twinkle 5s ease-in-out infinite alternate; }
@keyframes hz-twinkle { from { opacity: .55; } to { opacity: 1; } }
.hz__card { background:
	radial-gradient(1.5px 1.5px at 30px 40px, rgba(217,178,95,.55) 50%, transparent 51%) 0 0 / 190px 190px,
	radial-gradient(1px 1px at 130px 90px, rgba(0,26,54,.35) 50%, transparent 51%) 0 0 / 230px 230px,
	radial-gradient(2px 2px at 90px 160px, rgba(217,178,95,.45) 50%, transparent 51%) 0 0 / 270px 270px,
	radial-gradient(1px 1px at 200px 30px, rgba(0,26,54,.3) 50%, transparent 51%) 0 0 / 210px 210px,
	radial-gradient(120% 90% at 100% 0%, rgba(217,178,95,.10), transparent 60%),
	linear-gradient(180deg, #FFFFFF 0%, #FBF8F1 100%); }
.hz__card::before { content: "✦"; position: absolute; top: 18px; right: 120px; font-size: 14px; color: rgba(217,178,95,.7); animation: hz-twinkle 3s ease-in-out infinite alternate; }
.hz__card::after { content: "✧"; position: absolute; top: 120px; right: 30px; font-size: 12px; color: rgba(0,26,54,.35); animation: hz-twinkle 4s ease-in-out infinite alternate-reverse; }
@media (prefers-reduced-motion: reduce) { .hz__left::before, .hz__card::before, .hz__card::after { animation: none; } }

/* Horoscope quality pass: crisp vector stars and sharp symbol font */
.hz__left::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22220%22%20height=%22220%22%3E%3Ccircle%20cx=%2222%22%20cy=%2230%22%20r=%221%22%20fill=%22%23fff%22%20opacity=%220.9%22/%3E%3Ccircle%20cx=%2270%22%20cy=%2218%22%20r=%220.7%22%20fill=%22%23fff%22%20opacity=%220.7%22/%3E%3Cpath%20d=%22M118%2059.5%20Q118%2064%20122.5%2064%20Q118%2064%20118%2068.5%20Q118%2064%20113.5%2064%20Q118%2064%20118%2059.5Z%22%20fill=%22%23F3DFA8%22%20opacity=%220.95%22/%3E%3Ccircle%20cx=%22160%22%20cy=%2222%22%20r=%221%22%20fill=%22%23fff%22%20opacity=%220.8%22/%3E%3Ccircle%20cx=%22196%22%20cy=%2290%22%20r=%220.8%22%20fill=%22%23cfd8ff%22%20opacity=%220.8%22/%3E%3Cpath%20d=%22M40%20105%20Q40%20110%2045%20110%20Q40%20110%2040%20115%20Q40%20110%2035%20110%20Q40%20110%2040%20105Z%22%20fill=%22%23fff%22%20opacity=%220.85%22/%3E%3Ccircle%20cx=%2296%22%20cy=%22140%22%20r=%221.2%22%20fill=%22%23F3DFA8%22%20opacity=%220.9%22/%3E%3Ccircle%20cx=%22150%22%20cy=%22170%22%20r=%220.7%22%20fill=%22%23fff%22%20opacity=%220.6%22/%3E%3Cpath%20d=%22M206%20176.5%20Q206%20180%20209.5%20180%20Q206%20180%20206%20183.5%20Q206%20180%20202.5%20180%20Q206%20180%20206%20176.5Z%22%20fill=%22%23fff%22%20opacity=%220.8%22/%3E%3Ccircle%20cx=%2218%22%20cy=%22190%22%20r=%220.9%22%20fill=%22%23fff%22%20opacity=%220.7%22/%3E%3Ccircle%20cx=%22124%22%20cy=%22206%22%20r=%221%22%20fill=%22%23fff%22%20opacity=%220.7%22/%3E%3Ccircle%20cx=%2260%22%20cy=%2260%22%20r=%220.6%22%20fill=%22%23fff%22%20opacity=%220.5%22/%3E%3C/svg%3E"); background-size: 220px 220px; opacity: .9; animation: hz-twinkle 6s ease-in-out infinite alternate; }
.hz__card { background: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22270%22%20height=%22270%22%3E%3Cpath%20d=%22M30%2036%20Q30%2040%2034%2040%20Q30%2040%2030%2044%20Q30%2040%2026%2040%20Q30%2040%2030%2036Z%22%20fill=%22%23D9B25F%22%20opacity=%220.55%22/%3E%3Ccircle%20cx=%22120%22%20cy=%2226%22%20r=%221%22%20fill=%22%23001A36%22%20opacity=%220.25%22/%3E%3Ccircle%20cx=%22190%22%20cy=%22110%22%20r=%221.2%22%20fill=%22%23D9B25F%22%20opacity=%220.6%22/%3E%3Ccircle%20cx=%2270%22%20cy=%22150%22%20r=%220.9%22%20fill=%22%23001A36%22%20opacity=%220.2%22/%3E%3Cpath%20d=%22M230%20185%20Q230%20190%20235%20190%20Q230%20190%20230%20195%20Q230%20190%20225%20190%20Q230%20190%20230%20185Z%22%20fill=%22%23D9B25F%22%20opacity=%220.35%22/%3E%3Ccircle%20cx=%22150%22%20cy=%22220%22%20r=%221%22%20fill=%22%23D9B25F%22%20opacity=%220.5%22/%3E%3Ccircle%20cx=%2220%22%20cy=%22230%22%20r=%220.8%22%20fill=%22%23001A36%22%20opacity=%220.2%22/%3E%3Ccircle%20cx=%22250%22%20cy=%2250%22%20r=%221%22%20fill=%22%23001A36%22%20opacity=%220.2%22/%3E%3C/svg%3E") 0 0 / 270px 270px, radial-gradient(120% 90% at 100% 0%, rgba(217,178,95,.10), transparent 60%), linear-gradient(180deg, #FFFFFF 0%, #FBF8F1 100%); }
.hz__glyph, .hz__watermark { font-family: "Noto Sans Symbols", "Segoe UI Symbol", "Apple Symbols", sans-serif; font-weight: 500; -webkit-font-smoothing: antialiased; }
.hz__glyph { font-size: 24px; line-height: 1; }
.hz__sign[aria-selected="true"] .hz__glyph { background: linear-gradient(145deg, #F0D58F, #C99A3E); }
.hz__watermark { right: 6px; bottom: -28px; font-size: 220px; opacity: .07; }
.hz__card::before, .hz__card::after { content: none; }
.hz__score { background: radial-gradient(circle at 50% 35%, #fff 0%, #FBF5E6 100%); box-shadow: 0 6px 16px rgba(217,178,95,.25); }
.hz__card-name { letter-spacing: -.5px; }
.hz__meters b { box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.hz { -webkit-font-smoothing: antialiased; }

/* ---------- Moving album: trending India Darpan articles ---------- */
.dalbum { margin-top: 30px; padding: 22px 0 24px; border-top: 4px solid var(--red); background: linear-gradient(180deg, #FFF4E8 0%, #FFFDF8 100%); }
.dalbum__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 0 20px 14px; }
.dalbum__kicker { margin: 0; font: 700 11px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--saffron-text); }
.dalbum h2 { margin: 4px 0 0; font-family: var(--nameplate); font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); color: var(--navy); }
.dalbum__more { flex: 0 0 auto; font: 800 13px var(--sans); color: var(--red); white-space: nowrap; }
.dalbum__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.dalbum__track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 6px 0 10px; list-style: none; animation: dalbum-move calc(var(--n, 12) * 4.5s) linear infinite; }
.dalbum__viewport:hover .dalbum__track, .dalbum__track:focus-within { animation-play-state: paused; }
@keyframes dalbum-move { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.dalbum__item { display: block; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 6px 18px rgba(0, 26, 54, .16); transition: transform .25s ease, box-shadow .25s ease; }
.dalbum__item img { display: block; height: 300px; width: auto; }
.dalbum__item:hover, .dalbum__item:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 26, 54, .25); outline: none; }
.dalbum__box { max-width: min(92vw, 900px); max-height: 92vh; padding: 0; border: 0; border-radius: 8px; background: #111; overflow: visible; }
.dalbum__box::backdrop { background: rgba(0, 10, 25, .82); }
.dalbum__box img { display: block; max-width: min(92vw, 900px); max-height: 92vh; width: auto; height: auto; border-radius: 8px; }
.dalbum__close, .dalbum__nav { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(0,0,0,.55); font: 700 22px/1 var(--sans); }
.dalbum__close { top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; }
.dalbum__nav { top: 50%; width: 44px; height: 64px; margin-top: -32px; font-size: 34px; }
.dalbum__prev { left: 0; border-radius: 0 8px 8px 0; }
.dalbum__next { right: 0; border-radius: 8px 0 0 8px; }
@media (max-width: 640px) {
	.dalbum { margin-left: -4px; margin-right: -4px; }
	.dalbum__head { padding: 0 14px 12px; }
	.dalbum__item img { height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .dalbum__viewport { overflow-x: auto; } .dalbum__track { animation: none; } }
