/*
Theme Name: DailoNews
Theme URI: https://dailonews.com
Author: DIT Software Pvt. Ltd.
Author URI: https://dailonews.com
Description: Bilingual (Nepali/English) news portal theme built for DailoNews, Birendranagar-4, Surkhet. Includes Bikram Sambat dates, YouTube live, toggleable election coverage, NRB currency rates, horoscope, share tools, multi-slot advertising with AdSense, and built-in SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dailonews
Tags: news, magazine, blog, two-columns, right-sidebar, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--karnali: #123b52;
	--karnali-deep: #0b2635;
	--paper: #fcfaf5;
	--paper-warm: #f4efe4;
	--ink: #17212a;
	--slate: #5c6b78;
	--marigold: #e4a11b;
	--sindoor: #b7332a;
	--moss: #2e6b52;
	--line: #ddd6c7;

	--display: 'Khand', 'Mukta', system-ui, sans-serif;
	--body: 'Mukta', system-ui, -apple-system, sans-serif;
	--util: 'IBM Plex Sans', system-ui, sans-serif;

	--wrap: 1220px;
	--gap: 24px;
	--radius: 3px;
	--shadow: 0 1px 2px rgba(18, 59, 82, .08), 0 8px 24px -12px rgba(18, 59, 82, .18);
}

[data-theme="dark"] {
	--paper: #10171d;
	--paper-warm: #17212a;
	--ink: #e8eef2;
	--slate: #9bacb8;
	--line: #2a3843;
	--karnali: #7fc4e8;
	--karnali-deep: #0b1319;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.75;
}

body.dn-lang-en { font-size: 16px; line-height: 1.7; }

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

a { color: var(--karnali); text-decoration: none; }
a:hover { color: var(--sindoor); }

h1, h2, h3, h4, h5 {
	font-family: var(--display);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 .5em;
	letter-spacing: .2px;
}

:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

.dn-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 18px; }

.dn-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--marigold); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.dn-skip:focus { left: 8px; top: 8px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ==========================================================================
   3. Topbar — date rail, forex ticker, utilities
   ========================================================================== */
.dn-topbar {
	background: var(--karnali-deep);
	color: #cfe0ea;
	font-family: var(--util);
	font-size: 13px;
}
.dn-topbar .dn-wrap {
	display: flex; align-items: center; gap: 18px;
	min-height: 40px; flex-wrap: wrap;
}
.dn-topdate {
	font-weight: 600; color: #fff;
	border-inline-end: 1px solid rgba(255, 255, 255, .16);
	padding-inline-end: 16px;
}
.dn-topdate small { display: block; font-weight: 400; opacity: .65; font-size: 11px; }

.dn-forex-strip { display: flex; gap: 16px; overflow: hidden; flex: 1; min-width: 200px; }
.dn-forex-strip .dn-fx { white-space: nowrap; }
.dn-forex-strip .dn-fx b { color: var(--marigold); font-weight: 600; }

.dn-topbar-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.dn-topbar-actions a, .dn-topbar-actions button {
	color: #cfe0ea; background: none; border: 0; cursor: pointer;
	font: inherit; padding: 4px 8px; border-radius: var(--radius);
}
.dn-topbar-actions a:hover, .dn-topbar-actions button:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.dn-lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; overflow: hidden; }
.dn-lang-switch a { padding: 2px 12px; font-size: 12px; }
.dn-lang-switch a.is-active { background: var(--marigold); color: var(--karnali-deep); font-weight: 700; }

/* ==========================================================================
   4. Masthead
   ========================================================================== */
.dn-masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.dn-masthead .dn-wrap {
	display: grid; grid-template-columns: auto 1fr auto;
	align-items: center; gap: var(--gap); padding-block: 18px;
}
.dn-brand { display: flex; align-items: center; gap: 12px; }
.dn-brand-mark { width: 46px; height: 46px; flex: none; }
.dn-brand-name {
	font-family: var(--display); font-size: 38px; font-weight: 700;
	line-height: 1; margin: 0; color: var(--karnali); letter-spacing: -.5px;
}
.dn-brand-name .dn-accent { color: var(--sindoor); }
.dn-brand-tag { font-family: var(--util); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--slate); margin: 4px 0 0; }

.dn-header-ad { justify-self: center; max-width: 728px; }
.dn-header-ad img { margin-inline: auto; }

/* ==========================================================================
   5. Navigation
   ========================================================================== */
.dn-nav { background: var(--karnali); position: sticky; top: 0; z-index: 60; }
.dn-nav .dn-wrap { display: flex; align-items: center; gap: 8px; }
.dn-menu { list-style: none; display: flex; margin: 0; padding: 0; flex-wrap: wrap; }
.dn-menu li { position: relative; }
.dn-menu a {
	display: block; padding: 12px 14px; color: #eaf2f7;
	font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: .3px;
}
.dn-menu a:hover, .dn-menu .current-menu-item > a { background: rgba(255, 255, 255, .12); color: #fff; }
.dn-menu .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 200px;
	background: var(--karnali-deep); list-style: none; margin: 0; padding: 6px 0;
	display: none; box-shadow: var(--shadow); z-index: 70;
}
.dn-menu li:hover > .sub-menu, .dn-menu li:focus-within > .sub-menu { display: block; }
.dn-menu .sub-menu a { font-size: 17px; padding: 8px 16px; }

.dn-nav-toggle, .dn-search-toggle {
	display: none; background: none; border: 0; color: #fff;
	font-size: 22px; padding: 10px; cursor: pointer;
}
.dn-search-toggle { display: block; margin-inline-start: auto; }

.dn-searchbox { display: none; padding: 14px 0; background: var(--karnali-deep); }
.dn-searchbox.is-open { display: block; }
.dn-searchbox form { display: flex; gap: 8px; max-width: 620px; margin-inline: auto; }
.dn-searchbox input[type="search"] {
	flex: 1; padding: 10px 14px; border: 0; border-radius: var(--radius);
	font-family: var(--body); font-size: 16px;
}
.dn-searchbox button {
	background: var(--marigold); border: 0; padding: 10px 20px; cursor: pointer;
	font-family: var(--display); font-size: 18px; border-radius: var(--radius); color: var(--karnali-deep);
}

/* ==========================================================================
   6. Breaking ticker
   ========================================================================== */
.dn-ticker {
	display: flex; align-items: stretch; background: var(--paper-warm);
	border-bottom: 1px solid var(--line); overflow: hidden;
}
.dn-ticker-label {
	background: var(--sindoor); color: #fff; padding: 8px 16px;
	font-family: var(--display); font-size: 18px; white-space: nowrap; flex: none;
	display: flex; align-items: center; gap: 8px;
}
.dn-ticker-label::before {
	content: ''; width: 8px; height: 8px; border-radius: 50%;
	background: #fff; animation: dn-blink 1.4s infinite;
}
@keyframes dn-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.dn-ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.dn-ticker-move { display: flex; gap: 40px; white-space: nowrap; animation: dn-marquee 38s linear infinite; padding-inline-start: 20px; }
.dn-ticker:hover .dn-ticker-move { animation-play-state: paused; }
.dn-ticker-move a { color: var(--ink); font-weight: 500; }
@keyframes dn-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   7. Layout blocks
   ========================================================================== */
.dn-main { padding-block: 28px 40px; }
.dn-columns { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; }

.dn-section { margin-bottom: 40px; }
.dn-section-head {
	display: flex; align-items: baseline; gap: 14px;
	border-bottom: 2px solid var(--karnali); margin-bottom: 20px; padding-bottom: 6px;
}
.dn-section-head h2 {
	font-size: 26px; margin: 0; color: var(--karnali);
	position: relative; padding-inline-start: 14px;
}
.dn-section-head h2::before {
	content: ''; position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px;
	width: 5px; background: var(--marigold);
}
.dn-section-head .dn-more { margin-inline-start: auto; font-family: var(--util); font-size: 13px; font-weight: 600; }

/* --- Signature: the दैलो threshold frame around the lead story --- */
.dn-lead { position: relative; padding-top: 26px; margin-bottom: 34px; }
.dn-lead-arch {
	position: absolute; inset-inline: 0; top: 0; height: 26px;
	color: var(--marigold); pointer-events: none;
}
.dn-lead-arch svg { width: 100%; height: 100%; display: block; }
.dn-lead-inner {
	border: 1px solid var(--line); border-top: 0;
	background: var(--paper-warm); overflow: hidden;
	display: grid; grid-template-columns: 1.35fr 1fr;
}
.dn-lead-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.dn-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dn-lead:hover .dn-lead-media img { transform: scale(1.04); }
.dn-lead-body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.dn-lead-body h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; margin-bottom: 12px; }
.dn-lead-body h2 a { color: var(--ink); }
.dn-lead-body h2 a:hover { color: var(--sindoor); }
.dn-lead-excerpt { color: var(--slate); margin: 0 0 14px; }

/* --- Cards --- */
.dn-grid { display: grid; gap: var(--gap); }
.dn-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dn-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dn-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.dn-card { display: flex; flex-direction: column; }
.dn-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-warm); border-radius: var(--radius); }
.dn-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dn-card:hover .dn-card-media img { transform: scale(1.05); }
.dn-card h3 { font-size: 21px; margin: 12px 0 6px; line-height: 1.3; }
.dn-card h3 a { color: var(--ink); }
.dn-card h3 a:hover { color: var(--sindoor); }
.dn-card p { color: var(--slate); font-size: 15px; margin: 0 0 8px; }

.dn-cat-badge {
	position: absolute; inset-block-start: 10px; inset-inline-start: 10px;
	background: var(--sindoor); color: #fff; font-family: var(--util);
	font-size: 11px; font-weight: 600; letter-spacing: .6px;
	padding: 3px 10px; border-radius: 2px; text-transform: uppercase;
}
.dn-meta {
	font-family: var(--util); font-size: 12.5px; color: var(--slate);
	display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center;
}
.dn-meta .dn-bs { color: var(--karnali); font-weight: 600; }
[data-theme="dark"] .dn-meta .dn-bs { color: var(--marigold); }

/* --- Compact list --- */
.dn-list { list-style: none; margin: 0; padding: 0; }
.dn-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.dn-list li:last-child { border-bottom: 0; }
.dn-list img { width: 92px; height: 66px; object-fit: cover; flex: none; border-radius: var(--radius); }
.dn-list h4 { font-size: 18px; margin: 0 0 4px; line-height: 1.35; }
.dn-list h4 a { color: var(--ink); }
.dn-list-rank { counter-reset: dnrank; }
.dn-list-rank li { counter-increment: dnrank; }
.dn-list-rank li::before {
	content: counter(dnrank); font-family: var(--util); font-weight: 700; font-size: 20px;
	color: var(--marigold); flex: none; width: 26px; line-height: 1.2;
}

/* ==========================================================================
   8. Live / Election / Horoscope / Forex modules
   ========================================================================== */
.dn-live { background: var(--karnali-deep); color: #eaf2f7; padding: 30px 0; margin-bottom: 40px; }
.dn-live .dn-section-head { border-bottom-color: rgba(255, 255, 255, .25); }
.dn-live .dn-section-head h2 { color: #fff; }
.dn-live-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--gap); }
.dn-live-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.dn-live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dn-live-note { font-size: 15px; color: #b7cbd7; }
.dn-live-badge {
	display: inline-flex; align-items: center; gap: 7px; background: var(--sindoor);
	color: #fff; font-family: var(--util); font-size: 12px; font-weight: 700;
	letter-spacing: 1px; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.dn-live-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: dn-blink 1.2s infinite; }

.dn-election { border: 2px solid var(--sindoor); background: var(--paper-warm); padding: 22px; margin-bottom: 40px; border-radius: var(--radius); }
.dn-election-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.dn-election-head h2 { margin: 0; font-size: 26px; color: var(--sindoor); }
.dn-election-stamp {
	font-family: var(--util); font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
	background: var(--sindoor); color: #fff; padding: 3px 10px; border-radius: 2px; text-transform: uppercase;
}
.dn-election-table { width: 100%; border-collapse: collapse; font-family: var(--body); }
.dn-election-table th, .dn-election-table td { padding: 9px 12px; text-align: start; border-bottom: 1px solid var(--line); }
.dn-election-table th { font-family: var(--util); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--slate); }
.dn-election-table td.dn-votes { font-family: var(--util); font-weight: 700; font-size: 17px; }
.dn-election-table tr.is-leading td { background: rgba(228, 161, 27, .16); }
.dn-election-table tr.is-leading td:first-child { border-inline-start: 4px solid var(--marigold); }
.dn-party-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 7px; background: var(--slate); }
.dn-election-updated { font-family: var(--util); font-size: 12px; color: var(--slate); margin-top: 10px; }

.dn-rashi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.dn-rashi {
	border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px;
	text-align: center; background: var(--paper-warm); transition: transform .25s ease, border-color .25s ease;
}
.dn-rashi:hover { transform: translateY(-3px); border-color: var(--marigold); }
.dn-rashi-sym { font-size: 26px; line-height: 1; color: var(--marigold); }
.dn-rashi-name { font-family: var(--display); font-size: 19px; margin: 6px 0 2px; }
.dn-rashi-name a { color: var(--ink); }
.dn-rashi-range { font-family: var(--util); font-size: 11px; color: var(--slate); }
.dn-rashi-text { font-size: 14.5px; color: var(--slate); margin-top: 8px; text-align: start; }

.dn-forex-card table { width: 100%; border-collapse: collapse; font-family: var(--util); font-size: 14px; }
.dn-forex-card th, .dn-forex-card td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: end; }
.dn-forex-card th:first-child, .dn-forex-card td:first-child { text-align: start; }
.dn-forex-card th { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--slate); }
.dn-forex-card td.dn-cur { font-weight: 600; }
.dn-forex-date { font-family: var(--util); font-size: 12px; color: var(--slate); margin-top: 8px; }

/* ==========================================================================
   9. Single post
   ========================================================================== */
.dn-article-head { margin-bottom: 22px; }
.dn-breadcrumb { font-family: var(--util); font-size: 12.5px; color: var(--slate); margin-bottom: 12px; }
.dn-breadcrumb a { color: var(--slate); }
.dn-breadcrumb span + span::before { content: '›'; margin-inline: 7px; opacity: .6; }

.dn-article-title { font-size: clamp(28px, 4vw, 44px); line-height: 1.16; margin-bottom: 12px; }
.dn-article-sub { font-size: 19px; color: var(--slate); margin: 0 0 16px; font-weight: 400; }

.dn-byline {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	padding: 12px 0; border-block: 1px solid var(--line); margin-bottom: 20px;
}
.dn-byline img { width: 40px; height: 40px; border-radius: 50%; }
.dn-byline .dn-author { font-family: var(--display); font-size: 19px; }

.dn-figure { margin: 0 0 20px; }
.dn-figure figcaption { font-family: var(--util); font-size: 13px; color: var(--slate); padding-top: 7px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }

.dn-content { font-size: 18.5px; line-height: 1.9; }
.dn-content p { margin: 0 0 1.15em; }
.dn-content h2 { font-size: 27px; margin-top: 1.4em; }
.dn-content h3 { font-size: 23px; margin-top: 1.3em; }
.dn-content blockquote {
	margin: 1.4em 0; padding: 6px 0 6px 20px;
	border-inline-start: 4px solid var(--marigold);
	font-size: 21px; color: var(--karnali); font-style: normal;
}
[data-theme="dark"] .dn-content blockquote { color: var(--marigold); }
.dn-content img { border-radius: var(--radius); }
.dn-content ul, .dn-content ol { padding-inline-start: 1.4em; margin-bottom: 1.15em; }
.dn-content a { text-decoration: underline; text-underline-offset: 3px; }

.dn-tags { margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dn-tags a {
	font-family: var(--util); font-size: 13px; background: var(--paper-warm);
	border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; color: var(--slate);
}
.dn-tags a:hover { border-color: var(--marigold); color: var(--ink); }

/* --- Share --- */
.dn-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 22px 0; }
.dn-share-label { font-family: var(--util); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--slate); margin-inline-end: 4px; }
.dn-share a, .dn-share button {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
	border-radius: 999px; font-family: var(--util); font-size: 13px; font-weight: 600;
	color: #fff; border: 0; cursor: pointer; line-height: 1.4;
}
.dn-share .s-fb { background: #1877f2; }
.dn-share .s-tw { background: #14171a; }
.dn-share .s-wa { background: #25d366; }
.dn-share .s-vb { background: #7360f2; }
.dn-share .s-tg { background: #229ed9; }
.dn-share .s-copy { background: var(--slate); }
.dn-share a:hover, .dn-share button:hover { filter: brightness(1.12); color: #fff; }
.dn-share svg { width: 15px; height: 15px; fill: currentColor; }

.dn-share-float {
	position: fixed; inset-block-start: 50%; inset-inline-start: 12px; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 8px; z-index: 50;
}
.dn-share-float a, .dn-share-float button { width: 40px; height: 40px; justify-content: center; padding: 0; }
.dn-share-float .dn-share-label { display: none; }

.dn-author-box { display: flex; gap: 16px; background: var(--paper-warm); border: 1px solid var(--line); padding: 18px; border-radius: var(--radius); margin: 28px 0; }
.dn-author-box img { width: 68px; height: 68px; border-radius: 50%; flex: none; }

.dn-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 28px 0; }
.dn-prevnext a { display: block; border: 1px solid var(--line); padding: 14px; border-radius: var(--radius); }
.dn-prevnext span { font-family: var(--util); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 5px; }
.dn-prevnext strong { font-family: var(--display); font-size: 19px; font-weight: 500; color: var(--ink); }

/* ==========================================================================
   10. Sidebar & widgets
   ========================================================================== */
.dn-sidebar .dn-widget { margin-bottom: 30px; }
.dn-widget-title {
	font-family: var(--display); font-size: 21px; color: var(--karnali);
	border-bottom: 2px solid var(--karnali); padding-bottom: 5px; margin: 0 0 14px;
	position: relative; padding-inline-start: 12px;
}
.dn-widget-title::before { content: ''; position: absolute; inset-inline-start: 0; top: 5px; bottom: 9px; width: 4px; background: var(--marigold); }
.dn-widget ul { list-style: none; margin: 0; padding: 0; }
.dn-widget ul li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.dn-sidebar-sticky { position: sticky; top: 70px; }

/* ==========================================================================
   11. Ads
   ========================================================================== */
.dn-ad { margin: 0 auto 26px; text-align: center; max-width: 100%; overflow: hidden; }
.dn-ad::before {
	content: attr(data-label); display: block; font-family: var(--util);
	font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
	color: var(--slate); opacity: .7; margin-bottom: 5px;
}
.dn-ad-inarticle { margin-block: 30px; }
.dn-ad-sticky-footer {
	position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 80;
	background: rgba(252, 250, 245, .97); border-top: 1px solid var(--line);
	padding: 8px; margin: 0; box-shadow: 0 -4px 20px -8px rgba(0, 0, 0, .25);
}
.dn-ad-close {
	position: absolute; inset-block-start: -12px; inset-inline-end: 8px;
	width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
	background: var(--paper); cursor: pointer; font-size: 14px; line-height: 1; color: var(--ink);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.dn-footer { background: var(--karnali-deep); color: #b7cbd7; margin-top: 40px; padding-block: 40px 0; }
.dn-footer a { color: #dce8ef; }
.dn-footer a:hover { color: var(--marigold); }
.dn-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 32px; }
.dn-footer h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.dn-footer ul { list-style: none; margin: 0; padding: 0; }
.dn-footer li { padding: 4px 0; }
.dn-footer-contact { font-size: 15px; line-height: 1.9; }
.dn-footer-contact strong { color: #fff; font-weight: 600; }
.dn-social { display: flex; gap: 10px; margin-top: 14px; }
.dn-social a {
	width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1);
	display: grid; place-items: center;
}
.dn-social a:hover { background: var(--marigold); }
.dn-social svg { width: 17px; height: 17px; fill: #fff; }
.dn-colophon {
	border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 16px;
	font-family: var(--util); font-size: 13px;
	display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* --- Masthead / board --- */
.dn-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 20px;
	margin: 28px 0;
}
.dn-team-card {
	text-align: center;
	padding: 22px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper-warm);
	transition: border-color .25s ease, transform .25s ease;
}
.dn-team-card:hover { border-color: var(--marigold); transform: translateY(-3px); }
.dn-team-card img,
.dn-team-card .dn-team-initial {
	width: 88px; height: 88px; border-radius: 50%;
	margin: 0 auto 12px; object-fit: cover;
	display: grid; place-items: center;
}
.dn-team-card .dn-team-initial {
	background: var(--karnali); color: #fff;
	font-family: var(--display); font-size: 38px; line-height: 1;
}
.dn-team-card h3 { font-size: 21px; margin: 0 0 3px; }
.dn-team-card p {
	margin: 0; color: var(--slate);
	font-family: var(--util); font-size: 12.5px;
	letter-spacing: 1px; text-transform: uppercase;
}

.dn-contact-block p { margin: 0 0 .6em; }
.dn-contact-block strong { color: var(--karnali); }
[data-theme="dark"] .dn-contact-block strong { color: var(--marigold); }

/* ==========================================================================
   13. Misc
   ========================================================================== */
.dn-pagination { display: flex; gap: 8px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.dn-pagination .page-numbers {
	padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius);
	font-family: var(--util); font-size: 14px; color: var(--ink);
}
.dn-pagination .page-numbers.current { background: var(--karnali); color: #fff; border-color: var(--karnali); }

.dn-empty { text-align: center; padding: 60px 20px; color: var(--slate); }
.dn-empty h2 { color: var(--ink); }

.dn-scrolltop {
	position: fixed; inset-block-end: 22px; inset-inline-end: 22px; width: 44px; height: 44px;
	border-radius: 50%; background: var(--karnali); color: #fff; border: 0; cursor: pointer;
	display: none; place-items: center; font-size: 20px; z-index: 70; box-shadow: var(--shadow);
}
.dn-scrolltop.is-visible { display: grid; }

.dn-progress { position: fixed; inset-block-start: 0; inset-inline-start: 0; height: 3px; background: var(--marigold); width: 0; z-index: 100; }

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.dn-columns { grid-template-columns: 1fr; }
	.dn-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dn-rashi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.dn-live-grid { grid-template-columns: 1fr; }
	.dn-share-float { display: none; }
	.dn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.dn-masthead .dn-wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.dn-header-ad { order: 3; }
	.dn-nav-toggle { display: block; }
	.dn-menu {
		display: none; position: absolute; inset-inline: 0; top: 100%;
		background: var(--karnali-deep); flex-direction: column; padding: 6px 0; max-height: 70vh; overflow-y: auto;
	}
	.dn-menu.is-open { display: flex; }
	.dn-nav .dn-wrap { position: relative; }
	.dn-menu .sub-menu { position: static; display: block; background: rgba(0, 0, 0, .25); }
	.dn-lead-inner { grid-template-columns: 1fr; }
	.dn-grid-3, .dn-grid-2 { grid-template-columns: 1fr; }
	.dn-prevnext { grid-template-columns: 1fr; }
	.dn-topdate { border: 0; }
	.dn-forex-strip { order: 3; width: 100%; flex-basis: 100%; }
}

@media (max-width: 560px) {
	.dn-grid-4, .dn-rashi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dn-brand-name { font-size: 30px; }
	.dn-content { font-size: 17.5px; }
	.dn-election-table th:nth-child(2), .dn-election-table td:nth-child(2) { display: none; }
}

@media print {
	.dn-nav, .dn-topbar, .dn-ticker, .dn-sidebar, .dn-ad, .dn-share, .dn-footer, .dn-scrolltop { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
