/* ==========================================================================
   INDIA SAMACHAR 24 — styles for the PHP-rendered dynamic pages (index, article,
   category, search). Built entirely on the existing design tokens so it stays
   on-brand and theme-aware (light/dark) without touching style.css.
   ========================================================================== */

.dyn { margin: 22px auto 40px; }
.dyn-layout { display: grid; grid-template-columns: 1fr 330px; gap: 30px; align-items: start; }
@media (max-width: 1000px) { .dyn-layout { grid-template-columns: 1fr; } }

/* ---- Section heads ---- */
.dyn-head { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 30px 0 16px; border-bottom: 2px solid var(--border); }
.dyn-head h1, .dyn-head h2 { font-family: var(--f-serif); font-size: 22px; font-weight: 800; color: var(--ink);
  padding-bottom: 10px; border-bottom: 3px solid var(--brand); margin-bottom: -2px; }
.dyn-head a.more { font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: var(--brand); white-space: nowrap; }

/* ---- Card grid ---- */
.dyn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dyn-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.dyn-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .dyn-grid, .dyn-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dyn-grid, .dyn-grid.cols-4, .dyn-grid.cols-2 { grid-template-columns: 1fr; } }

/* ---- Card ---- */
.dyn-card { display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: box-shadow .18s, transform .18s; }
.dyn-card:hover { box-shadow: 0 8px 26px rgba(0,0,0,.10); transform: translateY(-2px); }
.dyn-card .thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.dyn-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.dyn-card:hover .thumb img { transform: scale(1.05); }
.dyn-card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.dyn-card .play svg { width: 46px; height: 46px; fill: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); opacity: .92; }
.dyn-card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.dyn-tag { align-self: flex-start; font-family: var(--f-ui); font-weight: 700; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .4px; color: #fff; background: var(--c, var(--brand));
  padding: 3px 9px; border-radius: 4px; }
.dyn-card h3 { font-family: var(--f-serif); font-size: 16.5px; line-height: 1.35; font-weight: 700; }
.dyn-card h3 a { color: var(--ink); }
.dyn-card h3 a:hover { color: var(--brand); }
.dyn-card .dek { font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }
.dyn-meta { margin-top: auto; font-family: var(--f-ui); font-size: 12px; color: var(--text-mute); }

/* ---- Hero (lead story) ---- */
.dyn-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; margin-bottom: 8px; }
@media (max-width: 760px) { .dyn-hero { grid-template-columns: 1fr; } }
.dyn-hero .lead .thumb { aspect-ratio: 16 / 9; border-radius: 12px; }
.dyn-hero .lead h2 { font-family: var(--f-serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.22;
  font-weight: 800; margin: 12px 0 8px; }
.dyn-hero .lead h2 a { color: var(--ink); }
.dyn-hero .lead h2 a:hover { color: var(--brand); }
.dyn-hero .lead .dek { font-size: 15.5px; color: var(--text-soft); line-height: 1.6; }
.dyn-hero .side { display: flex; flex-direction: column; gap: 14px; }
.dyn-side-item { display: grid; grid-template-columns: 104px 1fr; gap: 13px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border); align-items: start; }
.dyn-side-item:last-child { border-bottom: 0; }
.dyn-side-item .thumb { aspect-ratio: 4 / 3; border-radius: 8px; }
.dyn-side-item h4 { font-family: var(--f-serif); font-size: 15px; line-height: 1.32; font-weight: 700; }
.dyn-side-item h4 a { color: var(--ink); }
.dyn-side-item h4 a:hover { color: var(--brand); }
.dyn-side-item .dek { font-size: 12.5px; color: var(--text-soft); line-height: 1.45; margin-top: 5px; }

/* ---- Sidebar widgets ---- */
.dyn-widget { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 16px 18px; margin-bottom: 22px; }
.dyn-widget > h3 { font-family: var(--f-ui); font-size: 15px; font-weight: 700; color: var(--ink);
  text-transform: uppercase; letter-spacing: .5px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--brand); }
.dyn-rank { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.dyn-rank li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start;
  padding-bottom: 7px; border-bottom: 1px dashed var(--border); }
.dyn-rank li:last-child { border-bottom: 0; padding-bottom: 0; }
.dyn-rank .n { font-family: var(--f-ui); font-weight: 800; font-size: 20px; color: var(--brand); line-height: 1; }
.dyn-rank a { font-family: var(--f-serif); font-size: 14.5px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.dyn-rank a:hover { color: var(--brand); }

/* ---- Pagination ---- */
.dyn-pager { display: flex; gap: 8px; justify-content: center; margin: 34px 0 8px; flex-wrap: wrap; }
.dyn-pager a, .dyn-pager span { font-family: var(--f-ui); font-weight: 600; font-size: 14px; min-width: 40px;
  text-align: center; padding: 9px 13px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--surface); }
.dyn-pager a:hover { border-color: var(--brand); color: var(--brand); }
.dyn-pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; }
.dyn-pager .disabled { opacity: .45; pointer-events: none; }

/* ---- Article page ---- */
.dyn-article { max-width: 760px; }
.dyn-breadcrumb { font-family: var(--f-ui); font-size: 12.5px; color: var(--text-mute); margin: 4px 0 14px; }
.dyn-breadcrumb a { color: var(--text-soft); }
.dyn-breadcrumb a:hover { color: var(--brand); }
.dyn-article h1 { font-family: var(--f-serif); font-size: clamp(26px, 4vw, 38px); line-height: 1.2; font-weight: 800; margin: 6px 0 12px; }
.dyn-article .lede { font-size: 18px; line-height: 1.6; color: var(--text-soft); margin-bottom: 16px; font-family: var(--f-serif); }
.dyn-article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.dyn-article-meta .av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--f-ui); font-weight: 700; font-size: 17px; }
.dyn-article-meta .who { font-family: var(--f-ui); font-size: 13.5px; }
.dyn-article-meta .who b { color: var(--ink); display: block; font-size: 14px; }
.dyn-article-meta .who span { color: var(--text-mute); }
.dyn-figure { margin: 0 0 20px; }
.dyn-figure img { width: 100%; border-radius: 12px; display: block; }
.dyn-figure figcaption { font-size: 12.5px; color: var(--text-mute); margin-top: 7px; font-family: var(--f-ui); }
.dyn-article-body { font-family: var(--f-body); font-size: 17.5px; line-height: 1.85; color: var(--text); }
.dyn-article-body p { margin: 0 0 18px; }
.dyn-article-body h2 { font-family: var(--f-serif); font-size: 24px; margin: 28px 0 12px; }
.dyn-article-body h3 { font-family: var(--f-serif); font-size: 20px; margin: 24px 0 10px; }
.dyn-article-body img { max-width: 100%; border-radius: 10px; margin: 10px 0; }
.dyn-article-body ul, .dyn-article-body ol { margin: 0 0 18px 22px; }
.dyn-article-body li { margin-bottom: 8px; }
.dyn-article-body blockquote { border-left: 4px solid var(--brand); background: var(--surface-2); margin: 18px 0; padding: 14px 18px; font-family: var(--f-serif); font-size: 18px; color: var(--ink); border-radius: 0 8px 8px 0; }
.dyn-author { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin: 26px 0; }
.dyn-author .av { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--f-ui); font-weight: 700; font-size: 22px; overflow: hidden; }
.dyn-author .av img { width: 100%; height: 100%; object-fit: cover; }
.dyn-author b { font-family: var(--f-ui); color: var(--ink); }
.dyn-author p { font-size: 13.5px; color: var(--text-soft); margin-top: 4px; line-height: 1.55; }

/* ---- Empty state ---- */
.dyn-empty { text-align: center; padding: 60px 20px; color: var(--text-soft); }
.dyn-empty h2 { font-family: var(--f-serif); color: var(--ink); margin-bottom: 8px; }

/* ---- descriptions inside the fsec feature + vcol list rows ---- */
.fsec-body .sb-feat > p { font-family: var(--f-body); font-size: 13.5px; color: var(--text-soft); line-height: 1.5; margin-top: 7px; }
.vrow .vdek { font-family: var(--f-body); font-size: 12.5px; color: var(--text-soft); line-height: 1.45; margin-top: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Most Read — professional 2-column ranked grid with thumbnails ---- */
.mr-pro { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 36px; }
@media (max-width: 760px) { .mr-pro { grid-template-columns: 1fr; } }
.mr-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start;
  padding: 13px 0; border-bottom: 1px solid var(--border); }
.mr-item:hover .mr-title { color: var(--brand); }
.mr-rk { font-family: var(--f-ui); font-weight: 800; font-size: 27px; line-height: 1; color: var(--brand); opacity: .9; text-align: center; }
.mr-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.mr-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mr-item:hover .mr-thumb img { transform: scale(1.06); }
.mr-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mr-tag { font-family: var(--f-ui); font-weight: 700; font-size: 9.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--c, var(--brand)); }
.mr-title { font-family: var(--f-serif); font-size: 14.5px; line-height: 1.32; font-weight: 700; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mr-meta { font-family: var(--f-ui); font-size: 11.5px; color: var(--text-mute); }
.mr-dek { font-family: var(--f-body); font-size: 12px; color: var(--text-soft); line-height: 1.42; margin-top: 1px; min-height: 2.84em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mr-item .mr-thumb { aspect-ratio: 1 / 1; }
.mr-item .mr-meta { margin-top: 2px; }

/* ---- small no-circle social share buttons on cards ---- */
.card-share { display: inline-flex; align-items: center; gap: 13px; margin-top: 9px; }
.card-share .cs { display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--text-mute); line-height: 0; transition: color .15s, transform .15s; }
.card-share .cs svg { width: 15px; height: 15px; fill: currentColor; }
.card-share .cs:hover { transform: translateY(-1px); }
.card-share .cs-fb:hover { color: #1877F2; }
.card-share .cs-x:hover  { color: #0f1419; }
.card-share .cs-wa:hover { color: #25D366; }
[data-theme="dark"] .card-share .cs-x:hover { color: #fff; }
.hsec-feat .card-share, .showbiz .sb-feat .card-share, .viral-grid .sb-feat .card-share { margin-top: 11px; }

/* ---- Most Read: category + reads on one line (facing), 3-line detail ---- */
.mr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mr-reads { font-family: var(--f-ui); font-size: 11px; color: var(--text-mute); white-space: nowrap; }
.mr-dek { -webkit-line-clamp: 2; min-height: 2.84em; }

/* ===== card footer: view/like/comment stats + brand share buttons ===== */
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px;
  flex-wrap: wrap; margin-top: 3px; }
.card-stats { display: inline-flex; align-items: center; gap: 13px; }
.card-stats > span { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-ui);
  font-size: 11.5px; color: var(--text-mute); }
.card-stats svg { width: 13px; height: 13px; fill: currentColor; }
.card-stats span[title="Likes"] svg { fill: #e0436b; }

.card-share { display: inline-flex; align-items: center; gap: 7px; margin-top: 0; }
.card-share .cs { display: grid; place-items: center; width: 14px; height: 14px; padding: 0; border: 0;
  background: none; cursor: pointer; line-height: 0; transition: transform .15s, opacity .15s; }
.card-share .cs:hover { transform: translateY(-1px); opacity: .82; }
.card-share .cs svg { width: 14px; height: 14px; fill: currentColor; }
.card-share .cs-fb { color: #1877F2; }
.card-share .cs-x  { color: #0f1419; }
.card-share .cs-cp { color: #8a929e; }
.card-share .cs-sh { color: #e11d48; }
[data-theme="dark"] .card-share .cs-x { color: #e7eaf0; }
.card-share .cs-cp svg { fill: none; stroke: currentColor; }
/* WhatsApp shown as a green circle with a white glyph */
.card-share .cs-wa { background: #25D366; border-radius: 50%; }
.card-share .cs-wa svg { fill: #fff; width: 9px; height: 9px; }
.card-share .cs-cp.copied { color: #16a34a; }
.ws-row .ws-dek { font-family: var(--f-body); font-size: 13px; color: var(--text-soft); line-height: 1.45; margin: 5px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 2-line content in op-ed rows + video-rail rows ===== */
.ie-oped-row .op-dek, .tvx-row .tv-dek { font-family: var(--f-body); font-size: 12.5px; color: var(--text-soft);
  line-height: 1.45; margin: 5px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tvx-row .tv-dek { font-size: 12px; }

/* ===== Most Read: links + share buttons in body ===== */
.mr-title, a.mr-thumb { text-decoration: none; }
.mr-body .card-share { margin-top: 8px; }

/* ===== IE hero share rows ===== */
.ie-bigstory .card-foot { margin-top: 12px; }
.ie-medstory .card-share { margin-top: 8px; }

/* ===== Article page: dedicated "Share this story" section ===== */
.dyn-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 24px 0; padding: 14px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dyn-share-lbl { font-family: var(--f-ui); font-weight: 700; font-size: 14px; color: var(--ink); }
.dyn-share .card-share { gap: 14px; }
.dyn-share .card-share .cs { width: 22px; height: 22px; }
.dyn-share .card-share .cs svg { width: 22px; height: 22px; }
.dyn-share .card-share .cs-wa svg { width: 14px; height: 14px; }

/* ===== keep card stats + share buttons on ONE line ===== */
.card-foot { flex-wrap: nowrap; gap: 6px; }
.card-stats { gap: 9px; min-width: 0; }
.card-stats > span { font-size: 11px; white-space: nowrap; }
.card-share { flex-shrink: 0; }
.card-stats { overflow: hidden; }

/* ===== card stats: numbers hidden, reveal on hover (always shown on touch) ===== */
.card-stats > span { gap: 0; }
.card-stats .n { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; font-style: normal;
  vertical-align: middle; white-space: nowrap; transition: max-width .22s ease, opacity .2s ease, margin-left .2s ease; }
.card-stats > span:hover .n { max-width: 52px; opacity: 1; margin-left: 4px; }

/* ==========================================================================
   Lightweight, GPU-only animations (transform/opacity). Reduced-motion safe.
   ========================================================================== */
html { scroll-behavior: smooth; }

/* image zoom on card hover */
.imgwrap { overflow: hidden; }
.imgwrap img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.imgwrap:hover img,
article:hover > a .imgwrap img,
.ws-feat:hover .imgwrap img,
.sb-feat:hover .imgwrap img,
.deal-card:hover .imgwrap img { transform: scale(1.05); }

/* gentle lift on feature / deal / video cards */
.sb-feat, .ws-feat, .deal-card, .tv-card, .dyn-side-item { transition: transform .2s ease; }
.sb-feat:hover, .ws-feat:hover, .deal-card:hover { transform: translateY(-2px); }

/* smooth colour/transform on interactive bits */
.tp-menu > li > a, .vall, .more, .dyn-tag, .mr-title, .tp-live, .tp-signin { transition: color .15s ease, background-color .15s ease, transform .15s ease; }
.tp-live:hover { transform: translateY(-1px); }

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

/* ===== pro touches: scroll progress, nav underline, button shine, image hover shadow ===== */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 300; pointer-events: none;
  background: linear-gradient(90deg, var(--brand), #ff5d72); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .08s linear; box-shadow: 0 0 8px rgba(209,26,42,.45); }

.tp-menu > li > a { position: relative; }
.tp-menu > li > a::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 4px;
  width: 0; height: 2px; border-radius: 2px; background: var(--brand); transition: width .24s cubic-bezier(.22,.61,.36,1); }
.tp-menu > li > a:hover::after, .tp-menu > li > a.active::after { width: 56%; }

.tp-live { position: relative; overflow: hidden; }
.tp-live::after { content: ''; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .65s ease; }
.tp-live:hover::after { left: 150%; }

.imgwrap { transition: box-shadow .3s ease; }
article:hover .imgwrap, .deal-card:hover .imgwrap, .tvx-feat:hover .imgwrap { box-shadow: 0 12px 30px rgba(0,0,0,.16); }

/* ===== "Follow Us" app-icon links (YouTube, Facebook, X, Instagram, WhatsApp) ===== */
.dyn-follow { display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.dyn-follow .fl { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  flex-shrink: 0; transition: transform .15s ease, opacity .15s ease; }
.dyn-follow .fl:hover { transform: translateY(-2px); opacity: .9; }
.dyn-follow .fl svg { width: 18px; height: 18px; display: block; }
.dyn-follow .fl-yt { background: #FF0000; }
.dyn-follow .fl-fb { background: #1877F2; }
.dyn-follow .fl-x  { background: #000; }
.dyn-follow .fl-wa { background: #25D366; }
.dyn-follow .fl-ig { background: radial-gradient(circle at 28% 100%, #ffd86e 0%, #fc9f32 24%, #f5274f 44%, #d3268f 66%, #6a3bd6 100%); border-radius: 9px; }
.dyn-follow .fl-ig svg { width: 20px; height: 20px; }
.dyn-follow.sm { gap: 7px; }
.dyn-follow.sm .fl { width: 24px; height: 24px; }
.dyn-follow.sm .fl svg { width: 13px; height: 13px; }
.dyn-follow.sm .fl-ig svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .dyn-follow.sm .fl { width: 20px; height: 20px; } .dyn-follow.sm .fl svg { width: 11px; height: 11px; } }

/* Opinion / Op-Ed section ("show-stats"): keep view·like·comment numbers
   always visible instead of hover-only (per request — applies ONLY here). */
.show-stats .card-stats .n { max-width: 60px; opacity: 1; margin-left: 4px; }

/* Sports / World feature card: 2-line dek below the lead image */
.ws-fdek { font-size: 14.5px; color: var(--text-soft); line-height: 1.5; margin: 11px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Opinion columnist avatar: clean coloured initials instead of a cropped article photo */
.op-av .op-ini { display: grid; place-items: center; width: 100%; height: 100%;
  background: hsl(var(--h, 350), 52%, 44%); color: #fff; font-family: var(--f-ui);
  font-weight: 800; font-size: 19px; letter-spacing: .3px; }

/* Stats-only footer (share icons removed) — keep stats flush left */
.card-foot--stats { justify-content: flex-start; }
/* Share-only footer (likes & comment icons removed) — keep share icons flush right */
.card-foot--share-only { justify-content: flex-end; }

/* vcol feature: longer (~6-line) dek pulled from the article body */
.vcol-fdek { font-size: 14px; color: var(--text-soft); line-height: 1.6; margin: 9px 0 2px; }
/* vcol rows: stat/share footer spans full width, BELOW the content and the photo */
.vrow > .card-foot { grid-column: 1 / -1; margin-top: 5px; }
/* Opinion: a normal rounded-square photo before each item (not a round initials avatar) */
.ie-oped-row { grid-template-columns: 64px 1fr; }
.op-av { width: 64px; height: 64px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.op-av img { width: 100%; height: 100%; object-fit: cover; }

/* India section: larger hero feature image (scoped — City News / other feat-list unaffected) */
.sfl-india .hsec-feat { grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: center; }
.sfl-india .hsec-feat .imgwrap { height: 330px; aspect-ratio: auto; }
@media (max-width: 760px) {
  .sfl-india .hsec-feat { grid-template-columns: 1fr; align-items: stretch; }
  .sfl-india .hsec-feat .imgwrap { height: 240px; }
}

/* Mobile category nav — left/right scroll arrows (overlay edges; show only when scrollable) */
.tp-nav-arrow { display: none; }
@media (max-width: 920px) {
  .tp-nav .wrap { position: relative; }
  .tp-nav-arrow { position: absolute; top: 0; bottom: 0; width: 24px; z-index: 6; border: 0; padding: 0;
    cursor: pointer; color: var(--brand); font-size: 18px; font-weight: 800; line-height: 1; background: transparent; transition: opacity .15s ease; }
  .tp-nav-arrow.show { display: flex; align-items: center; animation: arrow-blink 1.2s ease-in-out infinite; }
  .tp-nav-arrow-left  { left: 0;  justify-content: flex-start; padding-left: 2px;
    background: linear-gradient(to right, rgba(120,128,138,.35) 70%, transparent); }
  .tp-nav-arrow-right { right: 0; justify-content: flex-end;   padding-right: 2px;
    background: linear-gradient(to left, rgba(120,128,138,.35) 70%, transparent); }
  .tp-nav-arrow:active { opacity: .85; }
}
@keyframes arrow-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .tp-nav-arrow.show { animation: none; } }

/* Trending strip → auto-scrolling hashtag ticker (mobile + desktop) */
.tp-trend-links { display: block; overflow: hidden; }
.tp-trend-track { display: flex; width: max-content; animation: trend-marquee 34s linear infinite; }
.tp-trend-set { display: flex; flex-shrink: 0; }
.tp-trend-set a { font-size: 13.5px; font-weight: 600; color: var(--text-soft); white-space: nowrap; padding: 0 15px; border: 0; }
.tp-trend-set a:hover { color: var(--brand); }
.tp-trending:hover .tp-trend-track { animation-play-state: paused; }
@keyframes trend-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tp-trend-track { animation: none; } .tp-trend-links { overflow-x: auto; } }

/* Mobile: tighter header — reduce height of brand row, category nav & trending strip */
@media (max-width: 920px) {
  .tp-top .wrap { min-height: 34px; padding-block: 2px; }
  .tp-brand img { height: 30px; }
  .tp-live { padding: 3px 9px; font-size: 10.5px; }
  .dyn-follow.sm .fl { width: 20px; height: 20px; }
  .dyn-follow.sm .fl svg { width: 11px; height: 11px; }

  .tp-nav .wrap { min-height: 32px; }
  .tp-menu > li > a { padding: 6px 11px; font-size: 13.5px; }

  .tp-trending .wrap { min-height: 31px; gap: 9px; }
  .tp-trend-label { font-size: 11px; }
  .tp-trend-label svg { width: 13px; height: 13px; }
  .tp-trend-set a { font-size: 12.5px; padding: 0 12px; }
}

/* "ADVERTISEMENT" label straddles the ad banner's top edge — half on the image, half outside */
.tp-ad { position: relative; padding: 13px 0 12px; }
.tp-ad .ban { position: relative; z-index: 1; }
.tp-ad .lbl {
  position: absolute; top: 13px; left: 50%; transform: translate(-50%, -50%);   /* centred on the banner's top edge */
  z-index: 2; margin: 0; padding: 1px 12px; background: var(--surface-2);
}
@media (max-width: 920px) { .tp-ad { padding: 11px 0 9px; } .tp-ad .lbl { top: 11px; font-size: 9px; } }

/* Homepage ads: leaderboards capped & centred; small box-ad row */
.tp-ad { text-align: center; }
.tp-ad img { max-width: min(100%, 970px) !important; height: auto !important; margin: 0 auto !important; }
.tp-ad-prefooter { margin: 6px 0 20px; }
.ad-box-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.ad-box { flex: 1 1 280px; max-width: 320px; text-align: center; background: var(--surface-2); padding: 12px; border-radius: 10px; }
.ad-box .lbl { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--text-mute); text-transform: uppercase; margin-bottom: 8px; }
.ad-box img { max-width: min(100%, 300px) !important; height: auto !important; margin: 0 auto !important; }
@media (max-width: 720px) { .ad-box { flex: 1 1 100%; max-width: 100%; } }

/* ---- Public author profile (Zee-style) ---- */
.author-page { max-width: 860px; }
.author-label { font-family: var(--f-serif, Georgia, 'Times New Roman', serif); font-size: 26px; font-weight: 800; margin: 22px 0 14px; }
.author-card { background: var(--surface-2); border: 1px solid var(--bd, #e6e8ec); border-radius: 12px; padding: 26px 28px; margin-bottom: 30px; }
.author-card-top { display: flex; gap: 22px; align-items: center; margin-bottom: 16px; }
.author-av { flex: 0 0 auto; width: 110px; height: 110px; border-radius: 50%; overflow: hidden; background: var(--brand, #d11a2a); display: grid; place-items: center; }
.author-av img { width: 100%; height: 100%; object-fit: cover; }
.author-av span { color: #fff; font-size: 44px; font-weight: 800; }
.author-card-id h1 { font-family: var(--f-serif, Georgia, serif); font-size: 28px; font-weight: 800; margin: 0 0 4px; line-height: 1.15; }
.author-desig { color: var(--text-mute, #888); font-size: 14px; margin: 0 0 7px; font-weight: 600; }
.author-meta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--text-mute, #888); }
.author-meta-row a { color: var(--brand, #d11a2a); font-weight: 600; text-decoration: none; }
.author-meta-row a:hover { text-decoration: underline; }
.author-card-bio { font-size: 15px; line-height: 1.7; margin: 0; color: var(--text, #2a2a2a); white-space: pre-line; }
.author-articles-head { font-family: var(--f-serif, Georgia, serif); font-size: 23px; font-weight: 800; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--brand, #d11a2a); }
.author-list { display: flex; flex-direction: column; margin-bottom: 8px; }
.author-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--bd, #ececec); text-decoration: none; color: inherit; align-items: flex-start; }
.author-row:hover .author-row-body h3 { color: var(--brand, #d11a2a); }
.author-row-img { flex: 0 0 auto; width: 150px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.author-row-img img { width: 100%; height: 100%; object-fit: cover; }
.author-row-body h3 { font-family: var(--f-serif, Georgia, serif); font-size: 17px; font-weight: 700; margin: 0 0 5px; line-height: 1.32; transition: color .15s; }
.author-row-body p { font-size: 13.5px; color: var(--text-mute, #777); margin: 0 0 5px; line-height: 1.5; }
.author-row-meta { font-size: 12px; color: var(--text-mute, #999); }
@media (max-width: 560px) {
  .author-card { padding: 20px 18px; }
  .author-card-top { flex-direction: column; text-align: center; gap: 14px; }
  .author-meta-row { justify-content: center; }
  .author-av { width: 90px; height: 90px; }
  .author-row-img { width: 110px; height: 74px; }
  .author-row-body h3 { font-size: 15px; }
}
.dyn-author .author-more { display: inline-block; margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--brand, #d11a2a); text-decoration: none; }
.dyn-author .author-more:hover { text-decoration: underline; }

/* About Us — editorial team grid */
.team-section { margin: 34px auto 10px; }
.team-head { font-family: var(--f-serif, Georgia, serif); font-size: 26px; font-weight: 800; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--brand, #d11a2a); }
.team-intro { color: var(--text-mute, #777); font-size: 15px; margin: 0 0 22px; line-height: 1.6; }
/* Decorative leadership cards: framed rectangular photo, orange uppercase name
   with an accent underline, soft elevation + animated hover lift. */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card { position: relative; background: var(--surface, #fff); border: 1px solid var(--border, #e8e8ec); border-radius: 16px; padding: 32px 20px 26px; text-align: center; overflow: hidden; box-shadow: 0 3px 14px rgba(20,20,40,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.team-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--team-accent, #e8901b), #f7b65a); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.team-card:hover { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(20,20,40,.14); border-color: rgba(232,144,27,.45); }
.team-card:hover::before { transform: scaleX(1); }
.team-av { position: relative; display: grid; place-items: center; width: 156px; height: 172px; margin: 0 auto 20px; border-radius: 13px; overflow: hidden; background: var(--team-accent, #e8901b); border: 4px solid var(--surface, #fff); box-shadow: 0 8px 20px rgba(232,144,27,.22), 0 0 0 1px rgba(232,144,27,.30); transition: transform .25s ease; }
.team-card:hover .team-av { transform: scale(1.04); }
.team-av img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.team-card:hover .team-av img { transform: scale(1.07); }
.team-av span { color: #fff; font-family: var(--f-ui, sans-serif); font-weight: 700; font-size: 56px; }
.team-name { font-family: var(--f-ui, sans-serif); font-size: 17px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; margin: 0 0 8px; line-height: 1.3; color: var(--team-accent, #e8901b); }
.team-name a { color: inherit; text-decoration: none; }
.team-name a:hover { color: #c9760c; }
.team-name::after { content: ""; display: block; width: 32px; height: 3px; margin: 9px auto 0; border-radius: 2px; background: linear-gradient(90deg, var(--team-accent, #e8901b), #f7b65a); }
.team-desig { color: var(--text-soft, #555); font-family: var(--f-ui, sans-serif); font-weight: 500; font-size: 13.5px; margin: 10px 0 0; line-height: 1.5; }
.team-empty { color: var(--text-mute, #777); font-size: 15px; padding: 18px 0 28px; }
.btn-team-all { display: inline-block; padding: 11px 22px; border-radius: 8px; background: var(--brand, #d11a2a);
  color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; transition: background .15s, transform .15s; }
.btn-team-all:hover { background: #b3141f; transform: translateY(-1px); }

/* Social-link row on team cards */
.team-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.team-social .ts { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface, #fff); border: 1px solid var(--bd, #e6e8ec); color: var(--text-soft, #555);
  transition: background .15s, color .15s, border-color .15s, transform .15s; }
.team-social .ts svg { width: 16px; height: 16px; fill: currentColor; }
.team-social .ts:hover { color: #fff; transform: translateY(-2px); }
.team-social .ts-tw:hover   { background: #000;     border-color: #000; }
.team-social .ts-fb:hover   { background: #1877f2;  border-color: #1877f2; }
.team-social .ts-ig:hover   { background: #e1306c;  border-color: #e1306c; }
.team-social .ts-in:hover   { background: #0a66c2;  border-color: #0a66c2; }
.team-social .ts-yt:hover   { background: #ff0000;  border-color: #ff0000; }
.team-social .ts-web:hover  { background: #0f766e;  border-color: #0f766e; }
.team-social .ts-mail:hover { background: var(--brand, #d11a2a); border-color: var(--brand, #d11a2a); }

@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Desktop (≥921px): brand row, category nav & trending strip ~20% shorter */
@media (min-width: 921px) {
  .tp-top .wrap { min-height: 59px; padding-block: 6px; }   /* 74 → 59 */
  .tp-nav .wrap { min-height: 36px; }                        /* 45 → 36 */
  .tp-menu > li > a { padding: 9px 11px; }                   /* 12.5 → 9 */
  .tp-trending .wrap { min-height: 35px; }                   /* 44 → 35 */
}

/* Functional like (button) + comment (link) — match the views-span styling */
.card-stats > button, .card-stats > a {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--f-ui); font-size: 11px; color: inherit;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.card-stats > *:hover .n { max-width: 52px; opacity: 1; margin-left: 4px; }
.cs-like:hover, .cs-cmt:hover { color: var(--brand); }
.cs-like.liked { color: #e0436b; }
.cs-like.liked svg { fill: #e0436b; }
.cs-like:active { transform: scale(1.2); }

/* Mobile: active category underline centred under the text */
@media (max-width: 920px) {
  .tp-menu > li > a.active::after { left: 50%; right: auto; transform: translateX(-50%); width: calc(100% - 22px); }
}

/* All sidebar / inline ads: "ADVERTISEMENT" label straddles the ad's top edge (like the leaderboard) */
.ad-slot { position: relative; padding-top: 9px; }
.ad-slot .ad-tag {
  position: absolute; top: 9px; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; margin: 0; display: inline-block; background: var(--surface); padding: 1px 11px;
  font-family: var(--f-ui); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-mute); white-space: nowrap;
}

/* World/Sports ws-row: share/stat footer spans full width, below the content + photo */
.ws-row > .card-foot { grid-column: 1 / -1; margin-top: 5px; }

/* Sidebar YouTube live embed (16:9 responsive) */
.yt-live { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 8px; overflow: hidden; background: #000; }
.yt-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Active category underline: always centred and matching the text width (desktop + mobile) */
.tp-menu > li > a.active::after { left: 50%; right: auto; transform: translateX(-50%); width: calc(100% - 22px); }

/* Live TV page — these classes had no CSS (layout was unstyled) */
.livetv-grid { display:grid; grid-template-columns:1fr 330px; gap:30px; align-items:start; margin:18px 0 30px; }
.player-wrap { position:relative; border-radius:14px; overflow:hidden; background:#000; }
.player-wrap .live-badge { position:absolute; top:12px; left:12px; display:inline-flex; align-items:center; gap:6px; background:var(--brand); color:#fff; font-size:12px; font-weight:700; letter-spacing:.5px; padding:4px 11px; border-radius:6px; }
.player-wrap .live-badge .dot { width:7px; height:7px; border-radius:50%; background:#fff; }
.player-title { font-size:23px; font-weight:800; margin:16px 0 6px; }
.livetv-grid .player-title + .meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:13px; color:var(--text-mute); }
.livetv-grid .meta .tag { background:var(--brand); color:#fff; font-weight:700; font-size:11px; padding:2px 8px; border-radius:4px; }
.channel-row { display:grid; grid-template-columns:104px 1fr; gap:12px; padding:11px 0; border-bottom:1px solid var(--border); align-items:center; }
.channel-row:last-child { border-bottom:0; }
.channel-row .imgwrap { aspect-ratio:16/9; border-radius:6px; overflow:hidden; }
.channel-row .imgwrap img { width:100%; height:100%; object-fit:cover; display:block; }
.channel-row h4 { font-size:13.5px; line-height:1.4; margin:0 0 3px; }
.channel-row h4 a { color:inherit; }
.channel-row .meta { font-size:12px; color:var(--text-mute); }
@media (max-width:1000px){ .livetv-grid { grid-template-columns:1fr; } }

/* ── Static DB pages (about-us, terms, privacy …) — body authored in CKEditor ── */
.page-body{ max-width:820px; margin:0 auto; padding:34px 20px 54px; color:var(--text); font-size:16.5px; line-height:1.75 }
.page-body::after{ content:''; display:block; clear:both }            /* contain floated images */
.page-body h1,.page-body h2,.page-body h3,.page-body h4{ font-family:var(--f-serif,Georgia,serif); color:var(--ink); line-height:1.28; margin:1.5em 0 .5em }
.page-body h1{ font-size:30px } .page-body h2{ font-size:23px } .page-body h3{ font-size:19px }
.page-body > :first-child{ margin-top:0 }
.page-body p{ margin:0 0 1.05em }
.page-body a{ color:var(--brand); text-decoration:underline }
.page-body ul,.page-body ol{ margin:0 0 1.1em 1.4em } .page-body li{ margin:.3em 0 }
.page-body blockquote{ margin:1.2em 0; padding:6px 18px; border-left:3px solid var(--brand); color:var(--text-soft); font-style:italic }
.page-body hr{ border:0; border-top:1px solid var(--border); margin:1.8em 0 }
/* images / figures (CKEditor output) */
.page-body img{ max-width:100%; height:auto; border-radius:8px }
.page-body figure{ margin:1.5em 0 }
.page-body figure.image{ display:table; margin:1.5em auto }          /* default: centered block */
.page-body figure.image img{ display:block }
.page-body figure figcaption{ font-size:13.5px; color:var(--text-mute); text-align:center; margin-top:7px }
.page-body figure.image-style-side,.page-body figure.image-style-align-right{ float:right; max-width:46%; margin:.3em 0 1.1em 1.6em }
.page-body figure.image-style-align-left{ float:left; max-width:46%; margin:.3em 1.6em 1.1em 0 }
.page-body figure.image-style-block,.page-body figure.image-style-align-center{ margin-left:auto; margin-right:auto }
.page-body .image_resized{ max-width:100% } .page-body .image_resized img{ width:100% }
@media (max-width:640px){
  .page-body{ padding:24px 16px 40px; font-size:16px }
  .page-body figure.image-style-side,.page-body figure.image-style-align-left,.page-body figure.image-style-align-right{ float:none; max-width:100%; margin:1.2em auto }
}

/* ── CKEditor embedded images inside ARTICLE bodies (same handling as .page-body) ── */
.dyn-article-body img{ height:auto }
.dyn-article-body figure{ margin:22px 0 }
.dyn-article-body figure.image{ display:table; margin:22px auto }
.dyn-article-body figure.image img{ display:block; margin:0 }
.dyn-article-body figure figcaption{ font-size:13.5px; color:var(--text-mute); text-align:center; margin-top:7px }
.dyn-article-body figure.image-style-side,.dyn-article-body figure.image-style-align-right{ float:right; max-width:46%; margin:6px 0 16px 22px }
.dyn-article-body figure.image-style-align-left{ float:left; max-width:46%; margin:6px 22px 16px 0 }
.dyn-article-body figure.image-style-block,.dyn-article-body figure.image-style-align-center{ margin-left:auto; margin-right:auto }
.dyn-article-body .image_resized{ max-width:100% } .dyn-article-body .image_resized img{ width:100% }
.dyn-article-body::after{ content:''; display:block; clear:both }
@media (max-width:640px){
  .dyn-article-body figure.image-style-side,.dyn-article-body figure.image-style-align-left,.dyn-article-body figure.image-style-align-right{ float:none; max-width:100%; margin:18px auto }
}

/* article byline — match stat-icon size to social share icons for a clean 6-icon row */
.dyn-article-meta .share-row{ gap:8px; }
.dyn-article-meta .share-row .card-stats{ gap:15px; margin-right:6px; }
.dyn-article-meta .share-row .card-stats svg{ width:19px; height:19px; }

/* article: multiple category tags (primary + extras) */
.dyn-tags{ display:flex; flex-wrap:wrap; gap:7px; margin-bottom:6px; }
.dyn-tags .dyn-tag{ align-self:auto; }

/* article auto-tags (from meta keywords) */
.dyn-article-tags{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:24px 0 4px; padding-top:18px; border-top:1px solid var(--border); }
.dyn-article-tags .dyn-tags-lbl{ font-family:var(--f-ui); font-weight:700; font-size:13px; color:var(--ink); margin-right:2px; }
.art-tag{ display:inline-block; font-size:13px; font-weight:600; color:var(--text-soft); background:var(--surface-2); border:1px solid var(--border); padding:5px 11px; border-radius:999px; transition:.13s; }
.art-tag:hover{ color:#fff; background:var(--brand); border-color:var(--brand); }

/* article detail — engagement stats bar (views / likes / comments) */
.dyn-article-stats{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin:10px 0 18px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.dyn-article-stats .card-stats{ gap:18px; }
.dyn-article-stats .card-stats svg{ width:18px; height:18px; }
.dyn-article-stats .card-stats .n{ font-size:14px; }
.dyn-article-stats .dyn-art-meta{ margin-left:auto; font-family:var(--f-ui); font-size:13px; color:var(--text-mute); }

/* article detail — News18-style byline (Published By / Last Updated) */
.dyn-byline{ font-family:var(--f-ui); margin:8px 0 18px; padding-bottom:14px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.dyn-byline-info{ min-width:0; }
.dyn-byline p{ margin:0 0 5px; font-size:13px; line-height:1.5; }
.dyn-byline p:last-child{ margin-bottom:0; }
.dyn-byline .lbl{ font-weight:700; color:var(--ink); }
.dyn-byline-pub .auth{ color:var(--ink); font-weight:700; text-decoration:underline; text-underline-offset:2px; }
.dyn-byline-pub .auth:hover{ color:var(--brand); }
.dyn-byline-pub .src{ color:var(--ink); font-weight:700; }
.dyn-byline-upd .date{ color:var(--brand); font-weight:600; }
/* share icons sit at the right of the byline (name/date), like a news byline */
.dyn-byline-share{ flex-shrink:0; }
.dyn-byline-share .card-share{ gap:9px; margin-top:0; }
.dyn-byline-share .card-share .cs{ width:32px; height:32px; border-radius:50%; color:#fff; }
.dyn-byline-share .card-share .cs svg{ width:15px; height:15px; fill:currentColor; }
.dyn-byline-share .cs-fb{ background:#1877F2; }
.dyn-byline-share .cs-x{ background:#0f1419; }
.dyn-byline-share .cs-wa{ background:#25D366; }
.dyn-byline-share .cs-wa svg{ width:15px; height:15px; }
.dyn-byline-share .cs-cp{ background:#6b7280; color:#fff; }
.dyn-byline-share .cs-cp svg{ stroke:#fff; }
.dyn-byline-share .cs-sh{ background:var(--brand); }
.dyn-byline-share .card-share .cs:hover{ transform:translateY(-1px); opacity:.9; }
[data-theme="dark"] .dyn-byline-share .cs-x{ background:#2a2f37; }
@media (max-width:560px){ .dyn-byline-share .card-share .cs{ width:30px; height:30px; } }
