/* MDMN NEWS - public site. Mobile-first. Palette taken from the logo: navy, orange, sky blue. */
:root {
  --navy: #0b1a40;
  --navy-2: #13275c;
  --orange: #f47b20;
  --orange-dark: #d9650f;
  --blue: #2e8fe6;
  --alert: #d92d20;
  --bg: #f3f5fa;
  --card: #ffffff;
  --text: #101828;
  --muted: #5b6577;
  --line: #e2e6ee;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 14px rgba(16, 24, 40, .06);
  --font: "Mukta", "Noto Sans Devanagari", "Nirmala UI", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
}
img, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 800; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: #cfd8ee; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar .date { opacity: .85; white-space: nowrap; font-size: 13px; }
.social { display: flex; gap: 8px; align-items: center; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 10px;
  border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; font-weight: 700;
}
.social a:hover { background: var(--orange); color: #fff; }
.social a.wa { background: #1faa59; }
.social a.wa:hover { background: #178a47; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; flex: none; box-shadow: 0 2px 10px rgba(11,26,64,.25); }
.brand b { display: block; font-size: 24px; line-height: 1; font-weight: 800; color: var(--navy); letter-spacing: .5px; }
.brand b i { font-style: normal; color: var(--orange); }
.brand small { display: block; color: var(--muted); font-size: 11px; line-height: 1.3; margin-top: 3px; }
.search-form.header-search { margin-left: auto; display: none; }
.search-form { display: flex; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.search-form input { border: 0; padding: 8px 16px; font: inherit; font-size: 15px; width: 230px; background: transparent; }
.search-form input:focus { outline: none; }
.search-form:focus-within { border-color: var(--blue); }
.search-form button { border: 0; background: var(--navy); color: #fff; padding: 0 18px; font: inherit; font-weight: 700; cursor: pointer; }
.search-form button:hover { background: var(--orange); }
.menu-toggle {
  margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px;
  width: 44px; height: 44px; font-size: 22px; cursor: pointer; color: var(--navy);
}

/* ---------- navigation ---------- */
.mainnav { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: none; flex-direction: column; }
.mainnav.open ul { display: flex; }
.mainnav a { display: block; padding: 11px 16px; color: #e8edf9; font-weight: 700; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mainnav a:hover, .mainnav a.active { background: var(--orange); color: #fff; }
.mobile-search { padding: 10px 16px; }
.mobile-search .search-form input { width: 100%; }
.mobile-search .search-form { width: 100%; }

/* ---------- breaking ticker ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; overflow: hidden; }
.ticker-label {
  flex: none; background: var(--alert); color: #fff; font-weight: 800; font-size: 14px;
  padding: 2px 12px; border-radius: 6px; letter-spacing: .3px;
}
.ticker-track { overflow: hidden; flex: 1; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-block; padding-left: 100%; animation: ticker 38s linear infinite; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { font-weight: 700; margin-right: 42px; }
.ticker-move a::before { content: "●"; color: var(--alert); margin-right: 8px; font-size: 10px; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; padding-left: 0; } .ticker-track { overflow-x: auto; } }

/* ---------- sections ---------- */
main { padding: 20px 0 44px; }
.section { margin-top: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--line); }
.section-head h2 { margin: 0; font-size: 22px; padding-bottom: 8px; border-bottom: 4px solid var(--orange); margin-bottom: -2px; color: var(--navy); }
.section-head a.more { font-weight: 800; color: var(--blue); font-size: 15px; }
.section-head.dark { border-color: rgba(255,255,255,.2); }
.section-head.dark h2 { color: #fff; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(16,24,40,.12); }
.card-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #dfe5f1; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img img.ph { object-fit: contain; padding: 14%; opacity: .55; background: var(--navy); }
.play {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(217, 45, 32, .95); color: #fff; display: grid; place-items: center; font-size: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 18px; margin: 0; }
.card h3 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chip {
  align-self: flex-start; background: #fff1e6; color: var(--orange-dark); font-weight: 800; font-size: 13px;
  padding: 1px 10px; border-radius: 999px;
}
.chip:hover { background: var(--orange); color: #fff; }
.meta { color: var(--muted); font-size: 14px; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.badge-breaking { background: var(--alert); color: #fff; font-size: 12px; font-weight: 800; padding: 0 8px; border-radius: 4px; }

/* hero + side list */
.hero-grid { display: grid; gap: 16px; }
.hero { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); min-height: 260px; display: block; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero img.ph { object-fit: contain; padding: 16% 24%; opacity: .35; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,64,0) 25%, rgba(11,26,64,.92)); }
.hero-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 18px; }
.hero h2 { font-size: 24px; margin: 8px 0 6px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero .meta { color: #d5dcef; }
.hero .chip { background: var(--orange); color: #fff; }
.hero .play { width: 54px; height: 54px; font-size: 20px; top: 16px; right: 16px; bottom: auto; }
.side-list { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 14px; }
.side-item { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.side-item:last-child { border-bottom: 0; }
.side-item .thumb { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #dfe5f1; position: relative; }
.side-item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-item .thumb img.ph { object-fit: contain; padding: 14%; background: var(--navy); opacity: .6; }
.side-item h3 { font-size: 16px; margin: 0 0 2px; }
.side-item h3 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* video band */
.video-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 22px 0 28px; margin-top: 38px; }
.video-band .card { background: #fff; color: var(--text); }

/* WhatsApp CTA */
.cta {
  margin-top: 36px; border-radius: var(--radius); padding: 22px; color: #fff;
  background: linear-gradient(120deg, #138a4b, #1faa59); display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  box-shadow: var(--shadow);
}
.cta h3 { margin: 0; font-size: 22px; }
.cta p { margin: 0; opacity: .95; }
.btn {
  display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 800; border-radius: 999px;
  padding: 9px 22px; background: var(--orange); color: #fff;
}
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn.light { background: #fff; color: #138a4b; }
.btn.light:hover { background: #eafff2; color: #0e6e3b; }
.btn.outline { background: transparent; border: 2px solid var(--line); color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- list page ---------- */
.page-title { font-size: 28px; color: var(--navy); margin-bottom: 4px; }
.page-sub { color: var(--muted); margin: 0 0 18px; }
.empty { background: #fff; border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.pager span { color: var(--muted); font-weight: 700; }

/* ---------- article ---------- */
.article-wrap { display: grid; gap: 26px; }
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px 26px; min-width: 0; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 10px; }
.crumbs a:hover { text-decoration: underline; }
.article h1 { font-size: 28px; color: var(--navy); margin: 6px 0 10px; }
.byline { color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.byline b { color: var(--text); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.share a, .share button {
  border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800; color: #fff; border-radius: 999px; padding: 6px 16px;
}
.share .s-wa { background: #1faa59; } .share .s-fb { background: #1877f2; } .share .s-x { background: #111; } .share .s-copy { background: var(--navy-2); }
.share a:hover, .share button:hover { filter: brightness(1.12); color: #fff; }
.lead-image { margin: 10px 0 18px; }
.lead-image img { width: 100%; border-radius: 10px; display: block; background: #dfe5f1; }
.lead-image figcaption { font-size: 14px; color: var(--muted); padding-top: 6px; }
.summary { font-size: 19px; font-weight: 600; color: #26324f; border-left: 4px solid var(--orange); padding-left: 14px; margin: 14px 0 18px; }

.content { font-size: 19px; line-height: 1.85; overflow-wrap: anywhere; }
.content p { margin: 0 0 1.05em; }
.content h2 { font-size: 24px; margin: 1.4em 0 .5em; color: var(--navy); }
.content h3 { font-size: 20px; margin: 1.2em 0 .4em; }
.content img { border-radius: 8px; margin: .4em 0; }
.content a { color: var(--blue); text-decoration: underline; }
.content blockquote { margin: 1.2em 0; padding: 10px 18px; background: #f3f7ff; border-left: 5px solid var(--blue); border-radius: 0 8px 8px 0; font-style: normal; color: #26324f; }
.content ul, .content ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.content th, .content td { border: 1px solid var(--line); padding: 6px 10px; }
.content pre { background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 8px; overflow-x: auto; }
.content .ql-align-center { text-align: center; } .content .ql-align-right { text-align: right; } .content .ql-align-justify { text-align: justify; }
.content .ql-indent-1 { padding-left: 2em; } .content .ql-indent-2 { padding-left: 4em; }

/* embeds */
.embeds { display: grid; gap: 18px; margin: 18px 0; }
.embed { border-radius: 12px; overflow: hidden; background: #000; }
.embed .frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.embed.vertical .frame { aspect-ratio: 9 / 16; max-width: 360px; margin: 0 auto; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.embed-sm { background: #fff; border: 1px solid var(--line); text-align: center; }
.embed.embed-sm .frame { aspect-ratio: auto; height: 620px; max-width: 540px; margin: 0 auto; background: #fff; }
.embed.embed-sm.fb-video .frame { aspect-ratio: 16 / 9; height: auto; max-width: none; }
.embed-link { display: block; padding: 8px 12px; font-size: 14px; font-weight: 700; background: #f7f8fb; color: var(--muted); text-align: center; }
.embed-link:hover { color: var(--orange-dark); }
.yt { position: absolute; inset: 0; display: block; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .2s; display: block; }
.yt:hover img { opacity: 1; }
.yt-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 52px; border-radius: 14px;
  background: #e62117; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.5);
}
.yt-btn::after { content: ""; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.yt:hover .yt-btn { background: #ff0000; }
.yt.noimg { background: linear-gradient(135deg, #1b2438, #3a2a4d); }
.yt-label { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff; font-weight: 700; font-size: 15px; opacity: .85; }

.preview-bar { background: #fff3cd; border: 1px solid #f1d27a; color: #6b4e00; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-weight: 700; }

/* sidebar */
.sidebar { display: grid; gap: 18px; align-content: start; }
.box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.box h3 { font-size: 18px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 3px solid var(--orange); display: inline-block; }
.box ul { list-style: none; margin: 0; padding: 0; }
.box li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.box li:last-child a { border: 0; }

/* static pages */
.prose { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px 28px; max-width: 860px; }
.prose h2 { color: var(--navy); font-size: 22px; margin-top: 1.4em; }
.contact-grid { display: grid; gap: 14px; margin: 16px 0; }
.contact-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fafbff; }
.contact-card b { display: block; color: var(--muted); font-size: 14px; }
.contact-card a, .contact-card span { font-size: 18px; font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #c3cde6; padding: 34px 0 20px; margin-top: 30px; }
.footer .cols { display: grid; gap: 26px; }
.footer h4 { color: #fff; font-size: 17px; margin: 0 0 10px; }
.footer a { color: #c3cde6; }
.footer a:hover { color: var(--orange); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; }
.footer-brand b { color: #fff; font-size: 24px; display: block; line-height: 1.1; }
.footer .small { font-size: 14px; opacity: .85; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 24px; padding-top: 14px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.wa-float {
  position: fixed; right: 14px; bottom: 14px; z-index: 60; background: #1faa59; color: #fff; font-weight: 800;
  padding: 10px 16px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.28); font-size: 15px;
}
.wa-float:hover { background: #178a47; color: #fff; }

.error-page { text-align: center; padding: 50px 16px; }
.error-page .code { font-size: 90px; font-weight: 800; color: var(--orange); line-height: 1; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .menu-toggle, .mobile-search { display: none; }
  .search-form.header-search { display: flex; }
  .mainnav ul { display: flex; flex-direction: row; flex-wrap: wrap; }
  .mainnav a { border-bottom: 0; padding: 12px 18px; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1.7fr 1fr; }
  .hero { min-height: 420px; }
  .hero h2 { font-size: 32px; }
  .article-wrap { grid-template-columns: minmax(0, 1fr) 320px; }
  .article { padding: 26px 30px 34px; }
  .article h1 { font-size: 36px; }
  .footer .cols { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .brand img { width: 74px; height: 74px; }
  .brand b { font-size: 34px; }
  .brand small { font-size: 13px; }
}
@media print {
  .topbar, .mainnav, .share, .wa-float, .footer, .sidebar, .ticker { display: none !important; }
  body { background: #fff; }
  .article { box-shadow: none; padding: 0; }
}

/* ---- podcast / audio embeds ---- */
.embed.audio { background: #fff; border: 1px solid var(--line); }
.embed.audio .frame { aspect-ratio: auto; height: 232px; background: #fff; }
.embed.audio.tall .frame { height: 352px; }
.play.pod { font-size: 20px; }
.credit-box { margin: 10px 0 16px; padding: 10px 14px; background: #fff7ee; border-left: 4px solid var(--orange); border-radius: 6px; font-size: 15px; }
.credit-box a { color: var(--orange-dark); font-weight: 700; text-decoration: underline; }

/* ---- comments ---- */
.comments { margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--line); }
.comments h2 { font-size: 22px; margin: 0 0 12px; }
.comment-form { display: grid; gap: 10px; background: #f7f8fb; padding: 14px; border-radius: 10px; margin-bottom: 18px; }
.comment-form label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.comment-form input, .comment-form textarea { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; width: 100%; }
.comment-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comment-list li { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.comment-list time { font-size: 12px; color: var(--muted); margin-left: 8px; }
.comment-list p { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.cmsg { padding: 9px 12px; border-radius: 8px; font-weight: 700; margin: 0 0 12px; }
.cmsg.ok { background: #e7f6ec; color: #17653a; }
.cmsg.err { background: #fdeaea; color: #a61b1b; }

/* ---- advertisements ---- */
.ad-slot { margin: 14px 0; text-align: center; }
.ad-slot .ad { display: block; margin: 0 auto 8px; max-width: 100%; }
.ad-slot img { display: block; margin: 0 auto; max-width: 100%; height: auto; border-radius: 6px; }
.ad-label { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 14px 0 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; box-shadow: var(--shadow); }
.team-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 3px solid var(--orange); margin: 0 auto 10px; display: block; }
.team-card h3 { margin: 4px 0 2px; font-size: 19px; }
.team-card .role { color: var(--orange-dark); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.team-card p { font-size: 14px; margin: 0 0 8px; text-align: left; }

.daily-date { display: inline-block; margin: 6px 0 0; padding: 3px 12px; border-radius: 999px; background: #0b1a40; color: #fff; font-weight: 800; font-size: 14px; }
