/* =====================================================================
   JONODRISHTI BRAND LAYER
   Colours come from the logo: red "জন", charcoal "দৃষ্টি", blue globe.
   Loaded after header-new.css / home-new.css and overrides them.
   ===================================================================== */
:root {
  --jd-red: #d7141a;
  --jd-red-deep: #a50e13;
  --jd-red-soft: #fdecec;
  --jd-ink: #1e1f22;
  --jd-ink-2: #2b2d31;
  --jd-blue: #1559b0;
  --jd-blue-deep: #0b2f63;
  --jd-grey: #8a8d93;
  --tk-accent: var(--jd-red);
  /* the slash rule under the logo: red bar · slashes · charcoal bar */
  --jd-stripe: linear-gradient(90deg,
      var(--jd-red-deep) 0, var(--jd-red) 48%,
      transparent 48%, transparent 49%,
      var(--jd-red) 49%, var(--jd-red) 51%,
      transparent 51%, transparent 52%,
      var(--jd-grey) 52%, var(--jd-grey) 54%,
      transparent 54%, transparent 55%,
      var(--jd-ink) 55%, var(--jd-ink) 57%,
      transparent 57%, transparent 58%,
      var(--jd-ink) 58%, #55585e 100%);
}
html[data-theme="dark"] {
  --jd-ink: #0e0f11;
  --jd-ink-2: #1b1c20;
  --jd-red-soft: #3a1214;
}

/* ---------------- header: top row ---------------- */
.sh-top { border-bottom: 0; }
.sh-top::before { content: ""; display: block; height: 5px; background: var(--jd-stripe); }
html[data-theme="dark"] .sh-top::before { background: linear-gradient(90deg, var(--jd-red-deep), var(--jd-red) 55%, #55585e 55%, #3a3c41); }
.sh-logo img { height: 86px; }
/* the logo artwork sits on white: keep it on a white plate in dark mode */
html[data-theme="dark"] .sh-logo img,
html[data-theme="dark"] .sh-drawer-head img { background: #fff; border-radius: 8px; padding: 4px 10px; }

@media (min-width: 992px) {
  /* desktop: [☰ logo] .............. [date · tools] */
  .sh-top-inner { grid-template-columns: auto auto 1fr auto; column-gap: 14px; min-height: 108px; }
  .sh-left { display: contents; }
  .sh-menu-toggle { order: 0; }
  .sh-logo { order: 1; justify-self: start; }
  .sh-date {
    order: 2; justify-self: end;
    padding: 6px 14px; border-radius: 999px;
    background: var(--sh-hover); color: var(--sh-text); font-size: 14.5px;
  }
  .sh-date .fa { color: var(--jd-red); }
  .sh-actions { order: 3; padding-left: 10px; border-left: 1px solid var(--sh-line); }
}
.sh-lang .on, .sh-acc-btn, .sh-drawer-search button, .sh-drawer-langs a.active { background: var(--jd-red); }
.sh-acc-btn { box-shadow: 0 0 0 2px var(--sh-bg), 0 0 0 4px var(--jd-red); }

/* ---------------- header: charcoal category bar ---------------- */
.sh-nav { background: var(--jd-ink); border-bottom: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.sh-menu > li > a {
  color: #f1f1f1 !important;
  font-size: 17.5px; font-weight: 600;
  padding: 14px 15px 12px;
  border-bottom: 3px solid transparent;
}
.sh-menu > li > a:hover,
.sh-menu > li.active > a { color: #fff !important; border-bottom-color: var(--jd-red); background: rgba(255, 255, 255, .06); }
.sh-menu > li.sh-home > a { background: var(--jd-red); color: #fff !important; padding-left: 16px; padding-right: 16px; border-bottom-color: var(--jd-red-deep); }
.sh-menu > li.sh-home > a:hover { background: var(--jd-red-deep); }
.sh-sub { border: 0; border-top: 3px solid var(--jd-red); border-radius: 0 0 8px 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .16); }
.sh-sub a:hover { background: var(--jd-red-soft); color: var(--jd-red) !important; }
.sh-nav-tools .sh-icon { color: #fff !important; }
.sh-nav-tools .sh-icon:hover { background: rgba(255, 255, 255, .1); }
.sh-nav-tools .sh-lang { border-color: rgba(255, 255, 255, .25); }
.sh-nav-tools .sh-lang a { color: #cfd0d3 !important; }
.sh-nav-logo img { border-color: transparent; }
.sh-search { border-top: 0; background: var(--jd-ink-2); }
.sh-search-box { border: 0; border-radius: 8px; overflow: hidden; background: #fff; }
.sh-search-box input { color: #1e1f22; }
.sh-search-box .sh-search-go { border-left: 0; background: var(--jd-red); color: #fff !important; }
.sh-search-box button:hover { color: #fff; }
.sh-search-box .sh-search-close { color: #555; }
.sh-search-box .sh-search-close:hover { color: var(--jd-red); }
html[data-theme="dark"] .sh-search-box { background: #232428; }
html[data-theme="dark"] .sh-search-box input { color: #ececec; }

/* ---------------- trending bar ---------------- */
.tk-trend { background: var(--sh-bg); border-bottom: 1px solid var(--sh-line); }
.tk-trend-lbl { background: var(--jd-red); color: #fff !important; padding: 5px 12px 5px 10px; border-radius: 4px; font-size: 15px; }
.tk-trend .tk-trend-dot { background: #fff; width: 9px; height: 9px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); animation: none; }
.tk-trend-tabs button.on { color: var(--jd-red); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.tk-trend-set a { position: relative; }
.tk-trend-set a + a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--jd-blue); }

/* ---------------- homepage ---------------- */
.tk-home { --tk-alt-bg: #f5f6f8; --tk-line: #e4e6ea; --tk-radius: 4px; }
html[data-theme="dark"] .tk-home { --tk-alt-bg: #17181b; --tk-line: #2c2e33; }
.tk-thumb, .tk-lead .tk-thumb, .tk-video .tk-thumb, .tk-photo .tk-thumb { border-radius: 4px; }
.tk-photo-cap { border-radius: 0 0 4px 4px; }
.tk-lead .tk-thumb { box-shadow: none; }
.tk-card:hover { transform: none; }
.tk-card:hover .tk-card-title a, .jd-mini:hover .tk-card-title a { color: var(--jd-red); }
.tk-section { padding: 28px 0; }
.tk-top { padding-top: 22px; }

/* section heading: red bar + title, then the logo's slash rule */
.tk-head { gap: 14px; margin-bottom: 20px; align-items: center; }
.tk-head h2 { font-size: 23px; font-weight: 800; padding: 0 0 0 13px; color: var(--jd-ink); }
html[data-theme="dark"] .tk-head h2 { color: #f1f1f1; }
.tk-head h2::before { display: block; content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 5px; height: auto; margin: 0; border-radius: 0; background: var(--jd-red); box-shadow: none; }
.tk-head h2::after { display: none; }
.tk-head::after {
  align-self: center; height: 3px;
  background: linear-gradient(90deg, var(--jd-red) 0 34px, transparent 34px 40px, var(--jd-grey) 40px 48px, transparent 48px 54px, var(--tk-line) 54px);
}
.tk-more { border-radius: 4px; border-color: var(--tk-line); font-weight: 600; }
.tk-more:hover { background: var(--jd-red); border-color: var(--jd-red); }

/* lead: image beside the text on wide screens */
.jd-lead { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: center; }
.jd-lead .tk-lead-body { padding: 0; }
.jd-lead .tk-lead-title { font-size: 30px; line-height: 1.35; }
.jd-lead .tk-summary { -webkit-line-clamp: 4; line-clamp: 4; }
.tk-kicker { border-radius: 3px; background: var(--jd-red); padding: 3px 10px; }

/* two compact stories under the lead */
.jd-sub { margin-top: 22px; }
.jd-sub > div { margin-bottom: 0; }
.jd-mini { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: start; padding-top: 18px; border-top: 1px solid var(--tk-line); }
.jd-mini .tk-card-cat { margin-top: 0; }
.jd-mini .tk-card-title { font-size: 16.5px; }
.tk-card-cat { color: var(--jd-red); }

/* latest / popular */
.tk-tabs { border-radius: 6px; border-color: var(--tk-line); box-shadow: none; border-top: 3px solid var(--jd-red); }
.tk-tab-head { background: var(--tk-bg); padding: 0; gap: 0; border-bottom: 1px solid var(--tk-line); }
.tk-tab-head button { border-radius: 0; padding: 12px 6px 10px; border-bottom: 3px solid transparent; font-size: 16px; color: var(--tk-muted); }
.tk-tab-head button.active { box-shadow: none; color: var(--jd-ink); border-bottom: 3px solid var(--jd-red); }
html[data-theme="dark"] .tk-tab-head button.active { color: #fff; }
.jd-live { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--jd-red); vertical-align: 2px; animation: jdLive 1.4s ease-in-out infinite; }
@keyframes jdLive { 0%, 100% { box-shadow: 0 0 0 0 rgba(215, 20, 26, .45); } 50% { box-shadow: 0 0 0 5px rgba(215, 20, 26, 0); } }
@media (prefers-reduced-motion: reduce) { .jd-live { animation: none; } }
.tk-feed li::before { border-radius: 0; width: 6px; height: 6px; background: var(--jd-blue); transform: rotate(45deg); }
.tk-feed .tk-feed-cat { color: var(--jd-red); }
.tk-rank-no { border-radius: 4px; background: transparent; border: 1.5px solid var(--jd-blue); color: var(--jd-blue); font-size: 14px; width: 28px; height: 28px; min-width: 28px; }
.tk-rank li:nth-child(-n+3) .tk-rank-no { background: var(--jd-red); border-color: var(--jd-red); color: #fff; }
html[data-theme="dark"] .tk-rank-no { border-color: #6c9be0; color: #9cbcf0; }

.tk-row-4 { border-top: 0; padding-top: 6px; }
.tk-row-4 .tk-card { padding-top: 14px; border-top: 3px solid var(--jd-ink); }
html[data-theme="dark"] .tk-row-4 .tk-card { border-top-color: #3a3c41; }
.tk-row-4 .tk-col:first-child .tk-card { border-top-color: var(--jd-red); }

.tk-inline-list li::before { background: var(--jd-blue); transform: rotate(45deg); }

/* video band in the globe's deep blue */
.tk-video { background: linear-gradient(135deg, var(--jd-blue-deep), #071a36) !important; }
.tk-video .tk-head h2 { color: #fff; }
.tk-video .tk-head::after { background: linear-gradient(90deg, var(--jd-red) 0 34px, transparent 34px 40px, rgba(255,255,255,.5) 40px 48px, transparent 48px 54px, rgba(255,255,255,.18) 54px); }
.tk-video .tk-more { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .3); }
.tk-play-lg { background: var(--jd-red); box-shadow: 0 0 0 8px rgba(215, 20, 26, .25); }

.tk-widget-head { background: var(--jd-ink); }
.tk-btn { background: var(--jd-red); border-color: var(--jd-red); }
.tk-btn-ghost { background: transparent; color: var(--jd-red); }

/* ---------------- top slider ---------------- */
.jd-slider { position: relative; border-radius: 6px; overflow: hidden; background: var(--jd-ink); }
.jd-slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none;
}
.jd-slides::-webkit-scrollbar { display: none; }
.jd-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 9; min-height: 260px; }
.jd-slide-img { position: absolute; inset: 0; display: block; }
.jd-slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jd-slide-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.9) 100%); }
.jd-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 28px 44px; color: #fff; pointer-events: none; }
.jd-slide-cap a { pointer-events: auto; }
.jd-slide-cap .tk-kicker { margin-bottom: 10px; }
.jd-slide-title { margin: 0; font-size: 30px; line-height: 1.35; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.tk-home .jd-slide-title a { color: #fff !important; }
.tk-home .jd-slide-title a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 5px; }
.jd-slide-time { display: inline-block; margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.85); }
.jd-sl-btn {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease, opacity .15s ease;
}
.jd-sl-btn:hover, .jd-sl-btn:focus-visible { background: var(--jd-red); outline: none; }
.jd-sl-prev { left: 14px; }
.jd-sl-next { right: 14px; }
.jd-sl-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.jd-sl-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s ease, background .2s ease; }
.jd-sl-dots button.on { width: 26px; background: var(--jd-red); }
@media (hover: hover) { .jd-sl-btn { opacity: 0; } .jd-slider:hover .jd-sl-btn, .jd-sl-btn:focus-visible { opacity: 1; } }
@media (max-width: 767px) {
  .jd-slide { aspect-ratio: 4 / 3; min-height: 230px; }
  .jd-slide-cap { padding: 16px 16px 38px; }
  .jd-slide-title { font-size: 20px; }
  .jd-sl-btn { width: 36px; height: 36px; font-size: 22px; }
  .jd-sl-prev { left: 8px; } .jd-sl-next { right: 8px; }
}

/* ---------------- first category section (lead · list · sidebar) ---------------- */
.jd-cb-head { border-bottom: 1px solid var(--jd-ink); margin-bottom: 16px; padding-bottom: 8px; }
html[data-theme="dark"] .jd-cb-head { border-bottom-color: #3a3c41; }
.jd-cb-head h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; padding-left: 12px; border-left: 4px solid var(--jd-red); }
.jd-cb-head h2 a { color: var(--jd-ink) !important; }
html[data-theme="dark"] .jd-cb-head h2 a { color: #f1f1f1 !important; }
.jd-cb-head h2 a:hover { color: var(--jd-red) !important; }
.jd-cb-title { font-size: 24px; line-height: 1.45; font-weight: 700; margin: 14px 0 0 !important; }
.jd-cb-lead .tk-summary { -webkit-line-clamp: 3; line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.jd-cb-list { border-left: 1px solid var(--tk-line); }
.jd-cb-item { display: grid; grid-template-columns: 1fr 48%; gap: 14px; align-items: start; padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--tk-line); }
.jd-cb-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.jd-cb-item h4 { margin: 0; font-size: 17.5px; line-height: 1.55; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.jd-cb-item h4 a:hover, .jd-cb-title a:hover { color: var(--jd-red) !important; }

.jd-side { border-left: 1px solid var(--tk-line); padding-left: 16px; height: 100%; }
.jd-side-tabs { display: flex; border-bottom: 1px solid var(--tk-line); margin-bottom: 4px; }
.jd-side-tabs button {
  flex: 1; border: 0; background: transparent; padding: 10px 6px 9px;
  font-size: 19px; font-weight: 600; color: var(--tk-muted); cursor: pointer; font-family: inherit;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.jd-side-tabs button.active { color: var(--jd-ink); background: var(--tk-alt-bg); border-bottom-color: var(--jd-red); }
html[data-theme="dark"] .jd-side-tabs button.active { color: #fff; }
.jd-side-list { list-style: none; margin: 0; padding: 0; max-height: none; overflow: visible; }
.jd-side-list li { border-bottom: 1px solid var(--tk-line); }
.jd-side-list li:last-child { border-bottom: 0; }
.jd-side-list a { display: grid; grid-template-columns: 1fr 42%; gap: 12px; align-items: center; padding: 12px 0; }
.jd-side-list span { font-size: 16.5px; line-height: 1.5; font-weight: 500; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.jd-side-list a:hover span { color: var(--jd-red); }
.jd-side-list img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; background: var(--tk-line); }
.jd-side-list .jd-more-item { display: none; }
.jd-open .jd-side-list .jd-more-item { display: block; }
.jd-side-none { padding: 14px 0; color: var(--tk-muted); }
.jd-side-more {
  display: block; width: 100%; margin-top: 10px; padding: 11px; border: 0; border-radius: 3px;
  background: var(--jd-ink); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.jd-side-more:hover { background: var(--jd-red); }
html[data-theme="dark"] .jd-side-more { background: #2b2d31; }
@media (max-width: 991px) {
  .jd-side { border-left: 0; padding-left: 0; }
}
@media (max-width: 767px) {
  .jd-cb-list { border-left: 0; margin-top: 18px; }
  .jd-cb-title { font-size: 20px; }
  .jd-cb-item h4 { font-size: 16px; }
  .jd-cb-head h2 { font-size: 22px; }
}

/* ---------------- category sections (সারাদেশ · খেলা · আন্তর্জাতিক · বিনোদন layouts) ---------------- */
.jd-sec { padding: 26px 0 8px; }
.jd-sec > .container { padding-bottom: 22px; border-bottom: 1px solid var(--tk-line); }
.jd-cols > .jd-col { margin-bottom: 18px; }
@media (min-width: 992px) {
  .jd-cols > .jd-col + .jd-col { border-left: 1px solid var(--tk-line); }
}
.jd-cb-item-sm { grid-template-columns: 1fr 34%; }
.jd-cb-item-sm h4 { font-size: 16.5px; -webkit-line-clamp: 3; line-clamp: 3; }

/* সারাদেশ: wide lead, photo left · text right */
.jd-cb-lead-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--tk-line); }
.jd-cb-lead-wide .jd-cb-title { margin-top: 0 !important; font-size: 25px; }
@media (min-width: 992px) { .jd-cb-lead-wide { grid-template-columns: 37% 1fr; } .jd-cb-lead-wide .jd-cb-lead-body { max-width: 560px; } }
.jd-cards { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.jd-card { padding: 0 16px; }
.jd-card:first-child { padding-left: 0; }
.jd-card:last-child { padding-right: 0; }
.jd-card + .jd-card { border-left: 1px solid var(--tk-line); }
.jd-card h4 { margin: 12px 0 0; font-size: 17px; line-height: 1.55; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.jd-card h4 a:hover { color: var(--jd-red) !important; }

/* সারাদেশ area filter */
.jd-area { display: grid; grid-template-columns: repeat(3, 1fr) minmax(160px, 1fr); gap: 14px; margin-bottom: 18px; }
.jd-area select {
  height: 48px; padding: 0 36px 0 14px; border: 1px solid var(--tk-line); border-radius: 4px;
  background: var(--tk-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none; appearance: none; color: var(--tk-text); font-size: 15.5px; font-family: inherit; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.jd-area select:disabled { opacity: .6; }
.jd-area select:focus { outline: 2px solid var(--jd-red); outline-offset: 1px; }
.jd-area button { height: 48px; border: 0; border-radius: 4px; background: var(--jd-ink); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; font-family: inherit; }
.jd-area button:hover { background: var(--jd-red); }
html[data-theme="dark"] .jd-area button { background: #2b2d31; }

@media (max-width: 991px) {
  .jd-area { grid-template-columns: 1fr 1fr; }
  .jd-cards { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .jd-card { padding: 0 8px !important; border-left: 0 !important; }
}
@media (max-width: 767px) {
  .jd-cb-lead-wide { grid-template-columns: 1fr; }
  .jd-cb-lead-wide .jd-cb-title { margin-top: 12px !important; font-size: 20px; }
  .jd-area { grid-template-columns: 1fr; gap: 10px; }
  .jd-card h4 { font-size: 15px; }
}

/* =====================================================================
   NEWS LISTING PAGES (category · sub-category · area · tag · date · search · details sidebar)
   — same look as the homepage sections
   ===================================================================== */
.np {
  --np-ac: var(--jd-red);
  --tk-bg: #ffffff; --tk-alt-bg: #f5f6f8; --tk-text: #1b1b1b; --tk-muted: #6b6f76; --tk-line: #e4e6ea;
}
html[data-theme="dark"] .np { --tk-bg: #121212; --tk-alt-bg: #17181b; --tk-text: #e8e8e8; --tk-muted: #9a9a9a; --tk-line: #2c2e33; }
.np a { text-decoration: none; }
/* shared thumbnail box (also defined for the homepage) */
.np .tk-thumb { display: block; position: relative; overflow: hidden; border-radius: 4px; background: var(--tk-line); }
.np .tk-ratio { padding-top: 56.25%; }
.np .tk-ratio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.np .tk-thumb:hover img { transform: scale(1.04); }
.np .tk-tab-pane { display: none; }
.np .tk-tab-pane.active { display: block; }

/* page heading: red bar · title · rule */
.np-head { margin: 22px 0 20px; }
.np-crumb { font-size: 13.5px; margin-bottom: 10px; }
.np-crumb a:hover { color: var(--jd-red) !important; }
.np-head h1 { display: block; font-size: 28px; font-weight: 700; padding-left: 13px; border-left: 5px solid var(--jd-red); line-height: 1.25; color: var(--jd-ink); }
html[data-theme="dark"] .np-head h1 { color: #f1f1f1; }
.np-head h1 .dot { display: none; }
.np-head-line { height: 1px; margin-top: 12px; background: var(--jd-ink); border-radius: 0; }
html[data-theme="dark"] .np-head-line { background: #3a3c41; }
.np-head .np-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.np-head .np-tags a {
  display: inline-block; padding: 5px 14px; border: 1px solid var(--tk-line); border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--tk-text) !important; background: var(--tk-bg);
}
.np-head .np-tags a:hover { background: var(--jd-red); border-color: var(--jd-red); color: #fff !important; }

/* page 1: lead + three headlines */
.jd-np-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--tk-line); }
.jd-np-lead { padding-right: 20px; }
.jd-np-lead h2 { margin: 14px 0 0; font-size: 26px; line-height: 1.42; font-weight: 700; }
.jd-np-lead h2 a { color: var(--tk-text) !important; }
.jd-np-lead p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--tk-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.jd-np-side { padding-left: 20px; border-left: 1px solid var(--tk-line); }
.jd-np-side .jd-cb-item { grid-template-columns: 1fr 42%; }
.jd-np-side .jd-cb-item h4 { font-size: 17px; -webkit-line-clamp: 3; line-clamp: 3; }
.jd-np-side .jd-cb-item h4 a, .jd-np-card h3 a { color: var(--tk-text) !important; }
.jd-np-lead h2 a:hover, .jd-np-side h4 a:hover, .jd-np-card h3 a:hover { color: var(--jd-red) !important; }
.jd-np-cat { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--jd-red); }
.jd-np-side .jd-np-cat { margin: 0 0 3px; }
.jd-np-time { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13px; color: var(--tk-muted); }

/* card grid */
.jd-np-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.jd-np-card h3 { margin: 10px 0 0; font-size: 17.5px; line-height: 1.5; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.jd-np-card .jd-np-cat + h3 { margin-top: 2px; }

/* sidebar */
.jd-np-aside .jd-side-box { border: 1px solid var(--tk-line); border-top: 3px solid var(--jd-red); border-radius: 4px; padding: 0 14px 14px; margin-bottom: 22px; background: var(--tk-bg); }
.jd-np-aside .jd-side-tabs { margin: 0 -14px 4px; }
.jd-np-aside .jd-side-tabs button { font-size: 17px; }
.jd-np-aside .jd-side-list span { font-size: 15.5px; color: var(--tk-text); }
.np-box { border-radius: 4px; border-color: var(--tk-line); }
.np-box-title::before { background: var(--jd-red); border-radius: 0; }

/* area filter (সারাদেশ pages) */
.np-loc { border-radius: 4px !important; border-color: var(--tk-line) !important; background: var(--tk-alt-bg) !important; padding: 12px !important; gap: 10px !important; }
.np-loc select { height: 44px !important; border-radius: 4px !important; border-color: var(--tk-line) !important; }
.np-loc-ic { color: var(--jd-red) !important; }

/* page numbers */
.np-pager a, .np-pager span { border-radius: 4px; }
.np-pager a:hover, .np-pager .active span { background: var(--jd-red); }
.np-pager .np-more a { background: var(--jd-ink); border-color: var(--jd-ink); color: #fff; }
.np-pager .np-more a:hover { background: var(--jd-red); border-color: var(--jd-red); }

@media (max-width: 991px) {
  .jd-np-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .jd-np-top { grid-template-columns: 1fr; }
  .jd-np-lead { padding-right: 0; }
  .jd-np-lead h2 { font-size: 21px; }
  .jd-np-side { padding-left: 0; border-left: 0; margin-top: 18px; }
  .np-head h1 { font-size: 23px; }
}
@media (max-width: 480px) {
  .jd-np-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .jd-np-card h3 { font-size: 15px; }
}

/* ---------------- top area: smaller slider · 2 beside · 3 below ---------------- */
.jd-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; }
.jd-top .jd-slide { aspect-ratio: 16 / 10; min-height: 220px; }
.jd-top .jd-slide-title { font-size: 24px; }
.jd-top .jd-slide-cap { padding: 18px 20px 38px; }
.jd-top-side { display: flex; flex-direction: column; gap: 14px; }
.jd-top-side .jd-tcard + .jd-tcard { padding-top: 14px; border-top: 1px solid var(--tk-line); }
.jd-tcard h3 { margin: 8px 0 0; font-size: 17px; line-height: 1.5; font-weight: 700; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.jd-tcard .tk-card-cat { margin-top: 8px; }
.jd-tcard .tk-card-cat + h3 { margin-top: 2px; }
.jd-tcard h3 a:hover { color: var(--jd-red) !important; }
.jd-top-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tk-line); }
.jd-top-row .jd-tcard { padding: 0 16px; }
.jd-top-row .jd-tcard:first-child { padding-left: 0; }
.jd-top-row .jd-tcard:last-child { padding-right: 0; }
.jd-top-row .jd-tcard + .jd-tcard { border-left: 1px solid var(--tk-line); }
.jd-top-row .jd-tcard h3 { -webkit-line-clamp: 3; line-clamp: 3; }
.jd-slider-one .jd-slides { overflow: hidden; }
.jd-top-main:only-child { grid-column: 1 / -1; }

/* wider screens: slider and the two stories beside it share one fixed height, so both columns end together */
@media (min-width: 768px) {
  .jd-top { height: 400px; align-items: stretch; }
  .jd-top-main, .jd-top-main .jd-slider, .jd-top-main .jd-slides { height: 100%; }
  .jd-top .jd-slide { aspect-ratio: auto; height: 100%; min-height: 0; }
  .jd-top-side { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; min-height: 0; }
  .jd-top-side .jd-tcard { display: flex; flex-direction: column; min-height: 0; }
  .jd-top-side .jd-tcard .tk-thumb.tk-ratio { flex: 1 1 auto; min-height: 90px; padding-top: 0; }
  .jd-top-side .jd-tcard h3 { flex: 0 0 auto; font-size: 16.5px; -webkit-line-clamp: 2; line-clamp: 2; }
  .jd-top-side .jd-tcard .tk-card-cat { flex: 0 0 auto; margin-top: 7px; }
  .jd-top-side .jd-tcard + .jd-tcard { padding-top: 14px; }
}
@media (min-width: 1200px) { .jd-top { height: 440px; } }
@media (min-width: 768px) and (max-width: 991px) { .jd-top { height: 360px; } }
@media (max-width: 767px) {
  .jd-top { grid-template-columns: 1fr; }
  .jd-top-side { flex-direction: row; gap: 12px; }
  .jd-top-side .jd-tcard { flex: 1 1 0; min-width: 0; }
  .jd-top-side .jd-tcard + .jd-tcard { padding-top: 0; border-top: 0; }
  .jd-top .jd-slide-title { font-size: 19px; }
  .jd-top-row { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .jd-top-row .jd-tcard { padding: 0 6px !important; border-left: 0 !important; }
  .jd-top-row .jd-tcard:nth-child(3) { grid-column: 1 / -1; }
  .jd-tcard h3 { font-size: 15.5px; }
}

/* the top-area সর্বশেষ / জনপ্রিয় box */
.jd-side-top { border: 1px solid var(--tk-line); border-top: 3px solid var(--jd-red); border-radius: 4px; padding: 0 14px 14px; background: var(--tk-bg); height: auto; }
.jd-side-top .jd-side-tabs { margin: 0 -14px 4px; }
.jd-side-top .jd-side-tabs button { font-size: 17.5px; }
.jd-side-top .jd-side-list span { font-size: 15.5px; }
.jd-side-top .jd-side-list a { padding: 10px 0; }
.jd-side-top .jd-live { margin-right: 6px; }
.tk-home .jd-side .tk-tab-pane { padding: 0; max-height: none; overflow: visible; }

/* ---------------- homepage polish ---------------- */
/* breaking ticker */
.jd-breaking { background: var(--tk-bg, #fff); border-bottom: 1px solid var(--sh-line, #e9e9e9); }
html[data-theme="dark"] .jd-breaking { background: #151517; }
.jd-br-in { display: flex; align-items: stretch; min-height: 44px; overflow: hidden; }
.jd-br-lbl {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 2px; padding: 0 16px 0 12px; margin: 7px 14px 7px 0;
  background: var(--jd-red); color: #fff; font-weight: 700; font-size: 15.5px; border-radius: 3px; position: relative;
}
.jd-br-lbl .jd-live { background: #fff; }
.jd-br-track { flex: 1 1 auto; min-width: 0; overflow: hidden; position: relative; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.jd-br-move { display: flex; width: max-content; animation: jdTicker var(--jd-br-dur, 40s) linear infinite; }
.jd-br-track:hover .jd-br-move, .jd-br-track:focus-within .jd-br-move { animation-play-state: paused; }
.jd-br-set { display: flex; align-items: center; }
.jd-br-set a { position: relative; padding: 0 22px 0 18px; white-space: nowrap; font-size: 16px; font-weight: 600; color: var(--sh-text, #1d1d1f) !important; text-decoration: none !important; }
.jd-br-set a::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; background: var(--jd-red); transform: rotate(45deg); }
.jd-br-set a:hover { color: var(--jd-red) !important; }
@keyframes jdTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .jd-br-move { animation: none; }
  .jd-br-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .jd-br-set[aria-hidden] { display: none; }
}
@media (max-width: 767px) { .jd-br-lbl { font-size: 14px; padding: 0 10px; margin-right: 10px; } .jd-br-set a { font-size: 14.5px; } }

/* every section heading: red bar · title · "সব খবর ›" · rule */
.jd-cb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.jd-cb-head h2 { flex: 0 1 auto; min-width: 0; }
.jd-cb-head h2 .fa { color: var(--jd-red); margin-right: 4px; font-size: .85em; }
.jd-cb-more { flex: 0 0 auto; font-size: 14.5px; font-weight: 600; color: var(--tk-muted, #6b6f76) !important; padding-bottom: 2px; white-space: nowrap; }
.jd-cb-more .fa { margin-left: 3px; transition: transform .15s ease; }
.jd-cb-more:hover { color: var(--jd-red) !important; }
.jd-cb-more:hover .fa { transform: translateX(3px); }
.jd-cb-head-light { border-bottom-color: rgba(255,255,255,.25); }
.jd-cb-head-light h2 a, .jd-cb-head-light .jd-cb-more { color: #fff !important; }
.jd-cb-head-light h2 .fa { color: #fff; }

/* video band + photos in the same frame as the news sections */
.tk-video { padding: 30px 0 18px; margin: 10px 0; }
.tk-video-main h3 { font-size: 22px; font-weight: 700; }
.tk-video-small h4 { font-size: 15.5px; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.jd-photos .tk-photo-cap { font-size: 15.5px; }

/* calmer rhythm between sections; the last one has no rule under it */
.tk-top { padding-bottom: 8px; }
.tk-top > .container { padding-bottom: 24px; border-bottom: 1px solid var(--tk-line); }
.jd-sec:last-of-type > .container { border-bottom: 0; }
.tk-top .tk-col { margin-bottom: 0; }
.jd-cb-lead .tk-thumb, .jd-tcard .tk-thumb, .jd-cb-item .tk-thumb, .jd-card .tk-thumb { border-radius: 4px; }
.jd-cb-lead .tk-thumb img, .jd-tcard .tk-thumb img, .jd-cb-item .tk-thumb img, .jd-card .tk-thumb img { transition: transform .4s ease; }
.jd-cb-lead:hover .tk-thumb img, .jd-tcard:hover .tk-thumb img, .jd-cb-item:hover .tk-thumb img, .jd-card:hover .tk-thumb img { transform: scale(1.04); }
.jd-cb-lead:hover .jd-cb-title a, .jd-tcard:hover h3 a, .jd-cb-item:hover h4 a, .jd-card:hover h4 a { color: var(--jd-red) !important; }
@media (max-width: 991px) { .tk-top .tk-col + .tk-col { margin-top: 22px; } }

/* ---------------- category page v2: hero (text · photo) + two-column list + "আরও দেখুন" ---------------- */
/* sub-categories as plain links with separators */
.np-head .np-tags { gap: 0; margin-top: 10px !important; }
.np-head .np-tags a { padding: 0 12px; border: 0; border-left: 1px solid var(--tk-line); border-radius: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--tk-text) !important; }
.np-head .np-tags a:first-child { padding-left: 0; border-left: 0; }
.np-head .np-tags a:hover { background: transparent; color: var(--jd-red) !important; }

.jd-np-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: start; padding-bottom: 20px; margin-bottom: 4px; border-bottom: 1px solid var(--tk-line); }
.jd-np-hero h2 { margin: 0; font-size: 25px; line-height: 1.45; font-weight: 700; }
.jd-np-hero h2 a { color: var(--tk-text) !important; }
.jd-np-hero h2 a:hover { color: var(--jd-red) !important; }
.jd-np-hero p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--tk-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.jd-np-hero .jd-np-cat { margin: 0 0 6px; }

.jd-np-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; }
.jd-np-row { display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--tk-line); }
.jd-np-row:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--tk-line); }
.jd-np-row:nth-child(even) { padding-left: 18px; }
.jd-np-row h3 { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 600; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.jd-np-row h3 a { color: var(--tk-text) !important; }
.jd-np-row:hover h3 a { color: var(--jd-red) !important; }
.jd-np-row .jd-np-cat { margin: 0 0 3px; }
.jd-np-row .tk-thumb img, .jd-np-hero .tk-thumb img { transition: transform .4s ease; }
.jd-np-row:hover .tk-thumb img, .jd-np-hero:hover .tk-thumb img { transform: scale(1.04); }

.jd-np-morewrap { text-align: center; margin: 22px 0 6px; }
.jd-np-more { display: inline-block; min-width: 160px; padding: 11px 26px; border-radius: 4px; background: var(--jd-ink); color: #fff !important; font-size: 16.5px; font-weight: 700; text-decoration: none !important; transition: background .15s; }
.jd-np-more:hover { background: var(--jd-red); }
.jd-np-more.busy { opacity: .7; pointer-events: none; }
html[data-theme="dark"] .jd-np-more { background: #2b2d31; }

@media (max-width: 767px) {
  .jd-np-hero { grid-template-columns: 1fr; }
  .jd-np-hero .tk-thumb { order: -1; }
  .jd-np-hero h2 { font-size: 21px; }
  .jd-np-rows { grid-template-columns: 1fr; }
  .jd-np-row:nth-child(odd), .jd-np-row:nth-child(even) { padding-left: 0; padding-right: 0; border-right: 0; }
  .jd-np-row h3 { font-size: 16px; }
}

/* সারাদেশ: area filter as a compact 2×2 box in the sidebar */
.jd-area-box { margin: 20px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--tk-line); }
.jd-area-compact { grid-template-columns: 1fr 1fr !important; gap: 10px !important; margin: 0 !important; }
.jd-area-compact select, .jd-area-compact button { height: 42px; font-size: 15px; }
.jd-area-compact button { font-size: 16px; }
.jd-loc-clear { display: inline-flex; align-items: center; gap: 6px; margin: -4px 0 14px; font-size: 14px; font-weight: 600; color: var(--jd-red) !important; text-decoration: none !important; }
.jd-loc-clear:hover { text-decoration: underline !important; }

/* =====================================================================
   NEWS STORY PAGE
   ===================================================================== */
.np-story .jd-d-crumb { margin: 18px 0 8px; gap: 10px; }
.np-story .jd-d-crumb .np-cat { color: var(--jd-red) !important; font-weight: 700; font-size: 15px; }
.np-story .jd-d-place { font-size: 13.5px; color: var(--tk-muted); }
.np-story .np-title { font-size: 34px; line-height: 1.38; font-weight: 800; color: var(--tk-text); margin: 0 0 16px; }

.jd-d-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 18px;
  padding: 12px 0; margin-bottom: 18px; border-top: 1px solid var(--tk-line); border-bottom: 1px solid var(--tk-line); }
.jd-d-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.jd-d-pic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 1px solid var(--tk-line); background: #fff; }
.jd-d-pic img { width: 100%; height: 100%; object-fit: cover; }
.jd-d-who strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--tk-text); line-height: 1.3; }
.jd-d-who strong a { color: inherit !important; }
.jd-d-who strong a:hover { color: var(--jd-red) !important; }
.jd-d-role { font-weight: 500; font-size: 13px; color: var(--tk-muted); margin-left: 6px; }
.jd-d-who small { display: block; font-size: 13px; color: var(--tk-muted); margin-top: 2px; }
.jd-d-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.jd-d-tools > a, .jd-d-tools > button, .jd-d-tools .np-fs button {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--tk-line); border-radius: 4px; background: var(--tk-bg); color: var(--tk-text) !important;
  font-size: 15px; cursor: pointer; font-family: inherit; transition: background .15s, color .15s, border-color .15s;
}
.jd-d-tools .np-fs { display: inline-flex; gap: 6px; margin-left: 4px; }
.jd-d-tools .np-fs button { font-size: 14px; font-weight: 700; }
.jd-d-tools > a:hover, .jd-d-tools > button:hover, .jd-d-tools .np-fs button:hover { background: var(--jd-red); border-color: var(--jd-red); color: #fff !important; }
.jd-d-tools .fb:hover { background: #1877f2; border-color: #1877f2; }
.jd-d-tools .wa:hover { background: #25d366; border-color: #25d366; }

.np-story .np-figure { margin: 0 0 16px; }
.np-story .np-figure img { border-radius: 4px; width: 100%; }
.np-story .np-figure figcaption { font-size: 13.5px; color: var(--tk-muted); padding-top: 8px; }
.jd-d-lede { font-size: 19px; line-height: 1.75; font-weight: 700; color: var(--tk-text); margin: 0 0 16px; }

.np-story .np-tags { border-top: 1px solid var(--tk-line); padding-top: 14px; }
.np-story .np-tags a { border-radius: 3px; background: var(--tk-alt-bg); border: 1px solid var(--tk-line); color: var(--tk-text) !important; }
.np-story .np-tags a:hover { background: var(--jd-red); border-color: var(--jd-red); color: #fff !important; }

/* জনপ্রিয় · সর্বশেষ under the story */
.jd-d-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 28px 0 10px; padding-top: 18px; border-top: 3px solid var(--jd-ink); }
html[data-theme="dark"] .jd-d-lists { border-top-color: #3a3c41; }
.jd-d-lists section + section { border-left: 1px solid var(--tk-line); padding-left: 28px; }
.jd-d-lh { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--tk-text); padding-left: 10px; border-left: 4px solid var(--jd-red); line-height: 1.2; }
.jd-d-list { list-style: none; margin: 0; padding: 0; }
.jd-d-list li { border-bottom: 1px solid var(--tk-line); }
.jd-d-list li:last-child { border-bottom: 0; }
.jd-d-list a { display: grid; grid-template-columns: auto 1fr 96px; gap: 12px; align-items: center; padding: 12px 0; text-decoration: none !important; }
.jd-d-list ul a, ul.jd-d-list a { grid-template-columns: 1fr 96px; }
.jd-d-list .n { width: 28px; height: 28px; border-radius: 4px; background: var(--jd-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.jd-d-list li:nth-child(-n+3) .n { background: var(--jd-red); }
.jd-d-list .t { font-size: 15.5px; line-height: 1.5; font-weight: 600; color: var(--tk-text); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.jd-d-list a:hover .t { color: var(--jd-red); }
.jd-d-list img { width: 96px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; background: var(--tk-line); }

/* আরও পড়ুন (right side) */
.jd-d-side { position: sticky; top: 70px; }
.jd-d-more { margin-top: 18px; padding-top: 4px; border-top: 3px solid var(--jd-red); }
.jd-d-more .jd-d-lh { border-left: 0; padding-left: 0; margin: 10px 0 4px; font-size: 18px; }
.jd-d-more ul { list-style: none; margin: 0; padding: 0; }
.jd-d-more li { border-bottom: 1px solid var(--tk-line); }
.jd-d-more a { display: block; padding: 11px 0; font-size: 15.5px; line-height: 1.5; font-weight: 600; color: var(--tk-text) !important; text-decoration: none !important; }
.jd-d-more a:hover { color: var(--jd-red) !important; }

@media (max-width: 767px) {
  .np-story .np-title { font-size: 25px; }
  .jd-d-bar { flex-direction: column; align-items: flex-start; }
  .jd-d-lede { font-size: 17.5px; }
  .jd-d-lists { grid-template-columns: 1fr; }
  .jd-d-lists section + section { border-left: 0; padding-left: 0; margin-top: 18px; }
  .jd-d-side { position: static; }
}

/* a section that has no news yet */
.jd-empty {
  margin: 0; padding: 18px 20px; border: 1px dashed var(--tk-line, #e4e6ea); border-radius: 6px;
  color: var(--tk-muted, #757575); font-size: 15.5px; text-align: center;
}
.jd-empty .fa { color: var(--jd-red); margin-right: 6px; }
.jd-empty-lg { padding: 60px 20px; font-size: 18px; font-weight: 600; }

/* stories imported from RSS: source line with a link to the original */
.jd-rss-source {
  margin-top: 18px !important; padding: 10px 14px;
  border-left: 4px solid var(--jd-red); background: var(--jd-red-soft);
  font-size: 15px; border-radius: 0 4px 4px 0;
}
.jd-rss-source a { color: var(--jd-red) !important; font-weight: 700; text-decoration: none; }
.jd-rss-source a:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .jd-lead .tk-lead-title { font-size: 25px; }
}
@media (max-width: 767px) {
  .jd-lead { grid-template-columns: 1fr; gap: 14px; }
  .jd-lead .tk-lead-title { font-size: 22px; }
  .jd-sub { margin-top: 6px; }
  .jd-sub > div + div .jd-mini { margin-top: 14px; }
  .jd-mini { grid-template-columns: 38% 1fr; gap: 12px; padding-top: 14px; }
  .jd-mini .tk-card-title { font-size: 15px; }
  .tk-head h2 { font-size: 20px; }
}
