/*
Theme Name: Jogajog News
Description: A responsive editorial theme for the Jogajog news portal.
Version: 1.4.0
Author: Rhythm
Text Domain: jogajog-news
*/
@font-face {
  font-family: "SolaimanLipi";
  src: url("https://cdn.jsdelivr.net/gh/qnabangla/font-solaimanlipi@main/SolaimanLipi.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0980-09FF;
}
:root {
  --font-body: "SolaimanLipi", "Vrinda", "Nirmala UI", Arial, sans-serif;
  --ink: #242424;
  --muted: #737373;
  --paper: #fff;
  --soft: #f7f7f7;
  --line: #e3e3e3;
  --accent: #df1d2c;
  --brand: #285965;
  --wrap: 1280px;
  color-scheme: light;
}
html[data-theme=dark] {
  --ink: #eef1f4;
  --muted: #b4bdc7;
  --paper: #171a1e;
  --soft: #22272d;
  --line: #343b44;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f8f8f8;
  color: var(--ink);
  font: 16px/1.6 var(--font-body);
}
button, input, select, textarea { font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
.site-frame {
  width: min(var(--wrap), 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
}
.wrap { width: calc(100% - 20px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; z-index: 20; }
.skip:focus { top: 8px; left: 8px; padding: 8px 12px; background: var(--paper); }

/* Masthead and category navigation */
.site-header { background: var(--paper); }
.header-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 108px;
}
.header-actions { display: grid; justify-self: start; gap: 5px; }
.header-buttons { display: flex; align-items: center; gap: 10px; }
.header-buttons button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 26px/1 Arial, sans-serif;
}
.header-buttons .nav-search-toggle { font-size: 28px; }
.header-date { color: var(--ink); font-size: 14px; white-space: nowrap; }
.header-date span { color: currentColor; margin-right: 4px; }
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 5px;
  color: var(--brand);
  max-width: 100%;
  white-space: nowrap;
}
.brand:hover { color: var(--brand); }
.brand-mark {
  align-self: stretch;
  display: flex;
  align-items: center;
  color: var(--accent);
  font: 800 37px/.9 Arial, sans-serif;
  letter-spacing: -4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.brand-name {
  color: var(--brand);
  font: 700 clamp(30px, 4vw, 50px)/1 var(--font-body);
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.custom-logo-link { display: block; }
.custom-logo-link img { width: auto; max-width: min(440px, 48vw); max-height: 86px; object-fit: contain; }
.brand > .custom-logo { width: auto; max-width: min(440px, 48vw); max-height: 86px; object-fit: contain; }
.header-social { justify-self: end; }
.social-links { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.social-links .social-link { display: inline-grid; min-width: 22px; height: 28px; place-items: center; color: #303030; font-size: 0; line-height: 1; text-decoration: none; }
.social-links .social-link::before { display: grid; place-items: center; font-family: Arial, sans-serif; font-weight: 700; line-height: 1; }
.social-links .social-link--facebook::before { content: "f"; font-size: 20px; }
.social-links .social-link--x::before { content: "𝕏"; font-size: 18px; }
.social-links .social-link--youtube::before { content: "▶"; width: 22px; height: 16px; border-radius: 5px; background: #303030; color: #fff; font-size: 10px; }
.social-links .social-link--instagram::before { content: "◎"; font-size: 23px; }
.social-links .social-link:hover { color: var(--accent); }
.social-links .social-link--youtube:hover::before { background: var(--accent); }
.social-links .social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.header-top > .search-form {
  display: none;
  position: absolute;
  z-index: 1001;
  top: calc(100% - 5px);
  left: 0;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 8px 16px #00000012;
}
.header-top > .search-form.is-open { display: flex; }
.search-field { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; }
.search-submit { padding: 8px 13px; border: 0; background: var(--brand); color: #fff; cursor: pointer; }
.primary-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
body.admin-bar .primary-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .primary-nav { top: 46px; }
}
@media screen and (max-width: 600px) {
  body.admin-bar .primary-nav { top: 0; }
}
.nav-inner { min-height: 48px; }
.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav li { position: relative; flex: 0 0 auto; }
.primary-nav li > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  font-size: 16px;
  white-space: nowrap;
}
.primary-nav .menu-home > a { justify-content: center; min-width: 44px; padding: 0 12px; }
.home-nav-icon { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.primary-nav li > a:hover, .primary-nav li.current-menu-item > a { color: var(--accent); }
.primary-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 180px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 8px 18px #00000012;
}
.primary-nav li:hover > ul, .primary-nav li:focus-within > ul { display: block; }
.primary-nav ul ul li > a { min-height: 40px; border-bottom: 1px solid var(--line); }

/* Breaking News Ticker */
.news-ticker-wrapper-container {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 2px solid var(--accent);
  margin-bottom: 18px;
  overflow: hidden;
}
.ticker-wrap {
  display: flex;
  align-items: center;
  min-height: 42px;
}
.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 6px 14px;
  position: relative;
  z-index: 2;
  margin-right: 12px;
  border-radius: 2px;
}
.breaking-box {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.breaking-box marquee {
  display: block;
  font-size: 16px;
  line-height: 40px;
  color: var(--ink);
}
.breaking-box marquee a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
  padding: 0 4px;
}
.breaking-box marquee a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.ticker-divider {
  margin: 0 16px;
  color: var(--accent);
  font-size: 14px;
}
.menu-toggle { cursor: pointer; }
.drawer-scrim[hidden] { display: none; }
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #00000012;
  cursor: default;
}
.nav-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1001;
  width: min(250px, 82vw);
  overflow-y: auto;
  padding: 28px 15px 24px;
  background: var(--brand);
  color: #fff;
  box-shadow: 4px 0 18px #00000018;
  transform: translateX(-105%);
  transition: transform .24s ease;
  overscroll-behavior: contain;
}
.nav-drawer.is-open { transform: translateX(0); }
.drawer-menu ul { display: block; margin: 0; padding: 0; list-style: none; }
.drawer-menu li { display: block; margin: 0; padding: 0; border-bottom: 1px solid #ffffff36; }
.drawer-menu li > a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 3px 9px;
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
  white-space: normal;
}
.drawer-menu li > a:hover, .drawer-menu li.current-menu-item > a { color: #fff; background: #ffffff12; }
.drawer-menu ul ul { display: block; position: static; min-width: 0; padding-left: 13px; border: 0; background: transparent; box-shadow: none; }
.drawer-menu ul ul li > a { min-height: 36px; font-size: 17px; }
.drawer-close {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 1002;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 32px/1 Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
}
body.nav-drawer-open .drawer-close {
  opacity: 1;
  pointer-events: auto;
}
body.nav-drawer-open { overflow: hidden; }

/* Homepage lead stories */
.home-main { padding-top: 30px; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 28px; }
.home-primary { min-width: 0; }
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.8fr);
  align-items: start;
  column-gap: 16px;
  row-gap: 0;
  padding-bottom: 20px;
}
.story-card { min-width: 0; }
.lead-grid > .story-card--lead { grid-column: 1; grid-row: 1; padding-bottom: 18px; }
.lead-grid > .story-card--feature { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: minmax(120px, .58fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 6px 13px; padding: 0 0 18px 15px; border-left: 1px solid var(--line); }
.story-image {
  display: block;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 16 / 9;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-card:hover .story-image img { transform: scale(1.015); }
.story-image img { transition: transform .25s ease; }
.story-body { min-width: 0; }
.story-category { margin: 8px 0 4px; color: var(--brand); font-size: 13px; font-weight: 700; }
.story-category a { color: var(--brand); }
.story-category a:hover { color: var(--accent); }
.story-body h2 { margin: 0 0 5px; font-size: 18px; line-height: 1.55; font-weight: 700; }
.story-body small { color: var(--muted); font: 11px/1.4 var(--font-body); }
.story-body p, .story-excerpt { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.story-card--lead .story-body h2 { font-size: 20px; }
.story-card--feature .story-image { grid-column: 2; grid-row: 1; }
.story-card--feature .story-body { grid-column: 1; grid-row: 1 / span 2; }
.story-card--feature .story-body .story-category { margin-top: 0; }
.story-card--feature .story-body h2 { font-size: 19px; }
.story-card--feature .story-excerpt { grid-column: 2; grid-row: 2; }
.lead-grid > .story-card:nth-child(n+3) {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: start;
  gap: 0 13px;
  min-height: 94px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.lead-grid > .story-card:nth-child(n+3):nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.lead-grid > .story-card:nth-child(n+3) .story-image { grid-column: 1; grid-row: 1; aspect-ratio: 1.55 / 1; }
.lead-grid > .story-card:nth-child(n+3) .story-body { grid-column: 2; grid-row: 1; }
.lead-grid > .story-card:nth-child(n+3) .story-category,
.lead-grid > .story-card:nth-child(n+3) .story-body small,
.lead-grid > .story-card:nth-child(n+3) .story-body p { display: none; }
.lead-grid > .story-card:nth-child(n+3) .story-body h2 { font-size: 16px; line-height: 1.5; }
.home-sidebar { width: 300px; flex-shrink: 0; }
.sidebar .widget { margin: 0 0 22px; }
.ad-widget { border: 0 !important; padding: 0 !important; }
.ad-space--square {
  display: flex;
  width: 100%;
  aspect-ratio: 6 / 5;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border: 1px solid var(--line);
  color: #aaa;
  font: 12px/1.4 var(--font-body);
}
.ad-space--square small { margin-top: 5px; color: #c0c0c0; font-size: 10px; }
.latest-widget { border-top: 1px solid var(--line); padding-top: 14px; }
.widget-title { margin: 0 0 10px; padding: 0 0 7px; border-bottom: 2px solid var(--accent); font-size: 18px; }
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.sidebar li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.sidebar li a { font-size: 14px; line-height: 1.5; }
.sidebar li small { display: block; margin-top: 2px; color: var(--muted); font: 11px var(--font-body); }

/* Sidebar Opinion Section */
.sidebar-opinion-widget { margin-bottom: 20px; }
.sidebar-opinion-header { margin: 0 0 10px; padding: 0 0 6px; border-bottom: 1px solid var(--line); }
.sidebar-opinion-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  padding-left: 9px;
  border-left: 4px solid var(--ink);
  color: var(--ink);
}
.sidebar-opinion-title a { color: var(--ink); text-decoration: none; }
.sidebar-opinion-title a:hover { color: var(--accent); }
.sidebar-story-item--opinion { padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.sidebar-story-item--opinion .sidebar-story-thumb { width: 95px; height: 60px; }
.sidebar-story-item--opinion .sidebar-story-title { font-size: 15px; font-weight: 600; line-height: 1.35; }

/* Sidebar Tabbed Widget */
.sidebar-tabs-widget { margin-bottom: 22px; }
.sidebar-tabs-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
:root[data-theme=dark] .sidebar-tabs-container { background: var(--surface); border-color: var(--line); }
.sidebar-tabs-header { display: flex; background: #cfd6df; border-bottom: 1px solid #cbd5e1; }
:root[data-theme=dark] .sidebar-tabs-header { background: #2a3441; border-color: #3b4758; }
.sidebar-tab-btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-align: center;
  background: #cfd6df;
  color: #475569;
  border: 0;
  border-right: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}
:root[data-theme=dark] .sidebar-tab-btn { background: #2a3441; color: #94a3b8; border-right: 1px solid #3b4758; }
.sidebar-tab-btn:last-child { border-right: 0; }
.sidebar-tab-btn:hover { background: #dfe5ec; color: #1e293b; }
:root[data-theme=dark] .sidebar-tab-btn:hover { background: #334155; color: #f1f5f9; }
.sidebar-tab-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  border-top: 3px solid #0f172a;
}
:root[data-theme=dark] .sidebar-tab-btn.is-active {
  background: var(--surface);
  color: #f8fafc;
  border-top: 3px solid var(--accent);
}

/* Sidebar Story List */
.sidebar-story-list { display: flex; flex-direction: column; }
.sidebar-story-item { padding: 9px 8px; border-bottom: 1px solid #eef2f6; transition: background-color 0.15s ease; }
:root[data-theme=dark] .sidebar-story-item { border-bottom-color: rgba(255,255,255,0.06); }
.sidebar-story-item:last-child { border-bottom: 0; }
.sidebar-story-item:hover { background-color: #f8fafc; }
:root[data-theme=dark] .sidebar-story-item:hover { background-color: rgba(255,255,255,0.03); }
.sidebar-story-link { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; color: inherit; }
.sidebar-story-thumb {
  width: 90px;
  height: 56px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 2px;
  background-color: #f1f5f9;
  position: relative;
}
.sidebar-story-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s ease; }
.sidebar-story-link:hover .sidebar-story-thumb img { transform: scale(1.04); }
.sidebar-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  background: #e2e8f0;
}
:root[data-theme=dark] .sidebar-thumb-fallback { background: #334155; color: #64748b; }
.sidebar-thumb-fallback svg { width: 22px; height: 22px; }
.sidebar-story-body { flex: 1; min-width: 0; }
.sidebar-story-title { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 500; color: #1a202c; word-break: break-word; }
:root[data-theme=dark] .sidebar-story-title { color: #e2e8f0; }
.sidebar-story-link:hover .sidebar-title-text { color: var(--accent); }
.sidebar-kicker { color: #df1d2c; font-weight: 700; margin-right: 4px; display: inline; }
.sidebar-title-text { color: inherit; }
.sidebar-empty { padding: 16px; text-align: center; color: var(--muted); font-size: 13px; margin: 0; }

/* Category sections and secondary templates */
.home-sections { padding-top: 6px; }
.category-section { margin: 20px 0 32px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; padding: 0 0 7px; border-bottom: 2px solid var(--accent); color: var(--ink); font-size: 21px; }
.section-heading > a { color: var(--accent); font-size: 13px; white-space: nowrap; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.story-grid .story-card { overflow: hidden; border-bottom: 1px solid var(--line); }
.story-grid .story-image { aspect-ratio: 16 / 9; }
.story-grid .story-body { padding: 6px 0 14px; }
.story-grid .story-body h2 { font-size: 17px; }
.story-grid .story-body p { display: block; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding: 24px 0 40px; }
.sidebar:not(.home-sidebar) .widget { margin-bottom: 18px; padding: 14px; border: 1px solid var(--line); }
.side-tabs { display: flex; gap: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.side-tab { padding: 6px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.side-tab.is-active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.dont-miss-track { display: grid; grid-auto-columns: minmax(220px, 30%); grid-auto-flow: column; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.dont-miss-track .story-card { scroll-snap-align: start; }
.article h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.35; }
.subheading { color: var(--muted); font-size: 18px; }
.article figure { margin: 18px 0; }
.article figcaption { color: var(--muted); font-size: 12px; }
.entry-content { font-size: 18px; line-height: 1.9; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.album-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.album-gallery figure { margin: 0; }
.album-gallery img { width: 100%; }
.album-gallery figcaption { color: var(--muted); font-size: 13px; }
.site-footer {
  margin-top: 40px;
  padding: 0 0 30px;
  background: #fff;
  color: #4b5159;
  font: 13px/1.85 var(--font-body);
}
.footer-wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.footer-top {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #d1d1d1;
}
.footer-brand { display: inline-flex; align-items: center; gap: 3px; color: var(--brand); white-space: nowrap; }
.footer-brand:hover { color: var(--brand); }
.footer-custom-logo { width: auto; max-width: min(320px, 48vw); max-height: 64px; object-fit: contain; }
.footer-brand-the {
  color: #df1d2c;
  font: 800 16px/1 Arial, sans-serif;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.footer-brand-name { font: 700 clamp(32px, 3.8vw, 48px)/1 Arial, sans-serif; letter-spacing: -1.5px; }
.footer-logo-o { position: relative; }
.footer-logo-o::after { position: absolute; top: 47%; left: 47%; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #df1d2c; content: ""; }
.footer-apps { display: flex; align-items: center; gap: 8px; }
.footer-apps a { display: block; line-height: 0; }
.footer-apps img { width: auto; height: 40px; object-fit: contain; }
.footer-app-badge { display: flex !important; min-width: 142px; min-height: 42px; flex-direction: column; justify-content: center; padding: 4px 11px; border: 1px solid #5d6063; border-radius: 5px; background: #202124; color: #fff !important; line-height: 1.05 !important; text-decoration: none; }
.footer-app-badge small { font: 10px/1.2 Arial,sans-serif; }
.footer-app-badge strong { font: 700 16px/1.2 Arial,sans-serif; }
.footer-main { display: grid; grid-template-columns: 25% 40% 16.6% 18.4%; min-height: 218px; padding-top: 10px; }
.footer-main > * { min-width: 0; padding-top: 19px; border-right: 1px solid #d1d1d1; }
.footer-contact { padding-right: 28px; }
.footer-contact p { margin: 0 0 2px; }
.footer-contact a { color: inherit; }
.footer-categories { padding-right: 18px; padding-left: 18px; }
.footer-categories ul { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 18px; margin: 0; padding: 0; list-style: none; }
.footer-categories a { color: #171717; font: 20px/1.55 var(--font-body); white-space: nowrap; }
.footer-extra { padding-right: 18px; padding-left: 18px; }
.footer-extra .widget { margin: 0 0 16px; }
.footer-extra .widget-title { margin: 0 0 8px; font-size: 15px; }
.footer-social { padding-right: 26px; padding-left: 26px; border-right: 0; }
.footer-social ul { margin: 0; padding: 0; list-style: none; }
.footer-social li { border-bottom: 1px dashed #d3d3d3; }
.footer-social li > a, .footer-social li > span { display: flex; min-height: 33px; align-items: center; gap: 9px; color: #626b73; font: 16px/1.3 var(--font-body); }
.footer-social-icon { display: inline-grid; width: 12px; place-items: center; color: #69727a; font: 700 14px/1 Arial, sans-serif; }
:root[data-theme=dark] .site-footer { background: #fff; color: #4b5159; }
:root[data-theme=dark] .footer-categories a { color: #171717; }
:focus-visible { outline: 3px solid #f1a340; outline-offset: 2px; }

@media (max-width: 900px) {
  .home-columns, .layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
  .home-sidebar { width: 260px; }
  .lead-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr); column-gap: 12px; }
  .lead-grid > .story-card:nth-child(n+3) { grid-template-columns: 86px minmax(0,1fr); gap: 0 10px; }
  .lead-grid > .story-card:nth-child(n+3) .story-body h2 { font-size: 14px; }
  .primary-nav li > a { padding: 0 8px; font-size: 15px; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 16px); }
  .header-top { grid-template-columns: minmax(0,1fr); grid-template-rows: 32px 66px; min-height: 98px; }
  .header-actions { display: contents; }
  .header-buttons { gap: 3px; }
  .header-buttons { grid-column: 1; grid-row: 2; justify-self: start; z-index: 1; }
  .header-buttons button { width: 34px; height: 38px; font-size: 24px; }
  .header-buttons .nav-search-toggle { display: grid; position: absolute; top: 6px; right: 7px; }
  .header-date { display: block; grid-column: 1; grid-row: 1; align-self: stretch; width: 100%; padding: 4px 0 6px; border-bottom: 1px solid var(--ink); font-size: 13px; }
  .brand { grid-column: 1; grid-row: 2; }
  .brand-mark { font-size: 25px; letter-spacing: -3px; }
  .brand-name { font-size: clamp(24px, 7.5vw, 32px); letter-spacing: -1px; }
  .custom-logo-link img { max-width: min(320px, 76vw); max-height: 58px; }
  .brand > .custom-logo { max-width: min(320px, 76vw); max-height: 58px; }
  .header-social { position: absolute; top: 3px; right: 0; z-index: 2; display: flex; }
  .social-links { gap: 7px; }
  .social-links .social-link { min-width: 18px; height: 24px; }
  .social-links .social-link--facebook::before { font-size: 18px; }
  .social-links .social-link--x::before { font-size: 16px; }
  .social-links .social-link--youtube::before { width: 19px; height: 14px; font-size: 9px; }
  .social-links .social-link--instagram::before { font-size: 20px; }
  .header-date { padding-right: 104px; overflow: hidden; text-overflow: ellipsis; }
  .header-buttons .nav-search-toggle { position: static; }
  .header-top > .search-form { top: 100%; }
  .primary-nav { position: sticky; }
  .nav-inner { width: 100%; min-height: 47px; }
  .primary-nav ul { justify-content: flex-start; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .primary-nav ul::-webkit-scrollbar { display: none; }
  .primary-nav li > a { min-height: 47px; padding: 0 11px; font-size: 16px; }
  .primary-nav .menu-home > a { min-width: 46px; }
  .menu-toggle { display: grid; width: 34px; height: 38px; place-items: center; border: 0; background: transparent; color: var(--ink); font: 23px Arial, sans-serif; }
  .home-main { padding-top: 30px; }
  .home-columns, .layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .home-sidebar { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 12px; }
  .home-sidebar .sidebar-opinion-widget, .home-sidebar .sidebar-tabs-widget, .home-sidebar .latest-widget, .home-sidebar .ad-widget { grid-column: 1 / -1; }
  .ad-space--square { aspect-ratio: 1 / 1; }
  .lead-grid { grid-template-columns: minmax(0,1fr); row-gap: 0; padding-bottom: 8px; }
  .lead-grid > .story-card--feature { grid-column: 1; grid-row: 1; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto; gap: 0; padding: 0 0 16px; border: 0; }
  .lead-grid > .story-card--feature .story-image { grid-column: 1; grid-row: 1; }
  .lead-grid > .story-card--feature .story-body { grid-column: 1; grid-row: 2; }
  .lead-grid > .story-card--feature .story-excerpt { grid-column: 1; grid-row: 3; }
  .lead-grid > .story-card--feature .story-body h2 { font-size: 20px; }
  .lead-grid > .story-card--lead { grid-column: 1; grid-row: 2; padding: 0 0 16px; }
  .lead-grid > .story-card--lead .story-body h2 { font-size: 20px; }
  .lead-grid > .story-card:nth-child(n+3) { grid-column: 1; grid-row: auto; grid-template-columns: 104px minmax(0,1fr); min-height: 86px; gap: 0 12px; padding: 12px 0; border-left: 0; }
  .lead-grid > .story-card:nth-child(n+3):nth-child(even) { padding-left: 0; border-left: 0; }
  .lead-grid > .story-card:nth-child(n+3) .story-body h2 { font-size: 15px; }
  .home-sections { padding-top: 0; }
  .category-section { margin: 16px 0 25px; }
  .section-heading h2 { font-size: 19px; }
  .story-grid { gap: 12px; }
  .story-grid .story-body h2 { font-size: 15px; }
  .story-grid .story-body p { font-size: 13px; }
  .dont-miss-track { grid-auto-columns: 80%; }
  .album-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-wrap { width: calc(100% - 24px); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > * { min-height: 190px; }
  .footer-main > :nth-child(2) { border-right: 0; }
  .footer-extra { border-right: 1px solid #d1d1d1; }
  .footer-social { padding-left: 20px; }
}
@media (max-width: 420px) {
  .lead-grid > .story-card:nth-child(n+3) { grid-template-columns: 94px minmax(0,1fr); }
  .story-grid { grid-template-columns: minmax(0,1fr); }
  .album-gallery { grid-template-columns: minmax(0,1fr); }
  .site-footer { margin-top: 28px; }
  .footer-top { min-height: 0; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 0; }
  .footer-brand-name { font-size: clamp(30px, 9vw, 40px); letter-spacing: -1px; }
  .footer-brand-the { font-size: 12px; }
  .footer-apps { gap: 4px; }
  .footer-apps img { height: 28px; max-width: 105px; }
  .footer-custom-logo { max-width: min(320px, calc(100vw - 32px)); max-height: 56px; }
  .footer-main { grid-template-columns: 1fr; padding-top: 0; }
  .footer-main > * { min-height: 0; padding: 16px 4px; border-right: 0; border-bottom: 1px solid #d1d1d1; }
  .footer-contact { padding-right: 4px; }
  .footer-categories { padding-right: 4px; padding-left: 4px; }
  .footer-categories ul { gap: 3px 9px; }
  .footer-categories a { font-size: 17px; }
  .footer-extra { display: none; }
  .footer-social { padding-left: 4px; border-bottom: 0 !important; }
}


/* ==================== EXACT AMADERKHOBOR24 HERO & SIDEBAR LAYOUT ==================== */
.lead-news-row {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  margin-bottom: 25px;
}
.lead-news-left {
  flex: 1;
  min-width: 0;
}
.lead-news-right {
  width: 320px;
  flex-shrink: 0;
}

/* Top Row: Main Lead + 2 Sub-leads */
.lead-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}
.lead-news {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.lead-news a, .left-other-lead-news a, .other-lead-news a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.lead-news-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}
.lead-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lead-news-image-text {
  padding: 10px 4px 6px;
}
.lead-news-image-text h1 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111;
}
.lead-news a:hover h1 {
  color: var(--accent);
}
.lead-news-image-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.lead-news-sub {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.left-other-lead-news {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.left-other-lead-news-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}
.left-other-lead-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.left-other-lead-news-text {
  padding: 8px 2px 2px;
}
.left-other-lead-news-text h2 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  color: #111;
}
.left-other-lead-news a:hover h2 {
  color: var(--accent);
}

/* 6 Grid stories (3x2) */
.lead-grid-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.other-lead-news {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.other-lead-news-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}
.other-lead-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.other-lead-news-text {
  padding: 8px 2px 2px;
}
.other-lead-news-text span {
  color: #df1d2c;
  font-size: 13px;
  font-weight: 700;
  margin-right: 4px;
  display: inline;
}
.other-lead-news-text h2 {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  color: #111;
  display: inline;
}
.other-lead-news a:hover h2 {
  color: var(--accent);
}

/* SECTION TITLES (| মতামত, | জাতীয়, | রাজনীতি) */
.new-sports-title-style {
  background: #fff;
  margin-bottom: 14px;
}
:root[data-theme=dark] .new-sports-title-style {
  background: transparent;
}
.new-sports-title-style h2 {
  border-left: 5px solid #2d292a;
  border-bottom: 1px solid #2d292a;
  padding: 0 12px;
  margin: 0;
}
:root[data-theme=dark] .new-sports-title-style h2 {
  border-left-color: #e2e8f0;
  border-bottom-color: #3b4758;
}
.new-sports-title-style a {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  line-height: 38px;
  text-decoration: none;
}
:root[data-theme=dark] .new-sports-title-style a {
  color: #fff;
}
.new-sports-title-style a:hover {
  color: var(--accent);
}
.opinion-news-title {
  margin-top: 0;
  margin-bottom: 12px;
}

/* Opinion Story in Sidebar */
.opinion-news {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.opinion-news a {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.opinion-news-img {
  width: 95px;
  height: 62px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
}
.opinion-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.opinion-news-text {
  flex: 1;
  min-width: 0;
}
.opinion-news-text h2 {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  color: #111;
}
.opinion-news a:hover h2 {
  color: var(--accent);
}

/* Tabs: সর্বশেষ / জনপ্রিয় */
.side-tab-main {
  width: 100%;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.side-tab-main .nav-item {
  flex: 1;
  text-align: center;
}
.side-tab-main .nav-item .nav-link {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: #444;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: #d7d7d7;
  border-radius: 0;
  padding: 8px 10px;
  border-top: 3px solid transparent;
  transition: all 0.2s ease;
}
:root[data-theme=dark] .side-tab-main .nav-item .nav-link {
  background: #2a3441;
  color: #94a3b8;
}
.side-tab-main .nav-item.active .nav-link,
.side-tab-main .nav-item .nav-link.active {
  background: #ffffff !important;
  color: #000000 !important;
  border-top: 3px solid #2d292a !important;
}
:root[data-theme=dark] .side-tab-main .nav-item.active .nav-link,
:root[data-theme=dark] .side-tab-main .nav-item .nav-link.active {
  background: var(--surface) !important;
  color: #ffffff !important;
  border-top-color: var(--accent) !important;
}

/* Scrollable News list in tabs */
.latest-news {
  overflow-y: scroll;
  height: 720px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 0;
}
:root[data-theme=dark] .latest-news {
  background: var(--surface);
  border-color: var(--line);
}
.latest-news-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-news-ul li {
  list-style: none;
}
.latest-news-ul li a {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: #000;
  transition: background 0.15s ease;
}
:root[data-theme=dark] .latest-news-ul li a {
  color: #e2e8f0;
  border-bottom-color: rgba(255,255,255,0.06);
}
.latest-news-ul li a:hover {
  background: #f8fafc;
}
:root[data-theme=dark] .latest-news-ul li a:hover {
  background: rgba(255,255,255,0.03);
}
.latest-news-left {
  width: 90px;
  height: 58px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
}
.latest-news-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-news-right {
  flex: 1;
  min-width: 0;
}
.latest-news-right h3 {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  margin: 0;
  color: #111;
}
:root[data-theme=dark] .latest-news-right h3 {
  color: #e2e8f0;
}
.latest-news-ul li a:hover .latest-news-right h3 {
  color: var(--accent);
}
.latest-news-right span {
  color: #df1d2c;
  font-size: 13px;
  font-weight: 700;
  margin-right: 4px;
  display: inline;
}

/* SECTION 2: জাতীয় + রাজনীতি */
.categories-two-col-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 20px;
  margin: 25px 0 35px;
}
.national-top-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}
.national-card-large a, .national-card-small a, .politics-lead-card a, .politics-list-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.national-card-large .card-img, .politics-lead-card .card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}
.national-card-large .card-img img, .politics-lead-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.national-card-large .card-text, .politics-lead-card .card-text {
  padding: 8px 2px;
}
.national-card-large .card-text h2, .politics-lead-card .card-text h2 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  color: #111;
  display: inline;
}
.national-card-large .card-text span, .national-card-small .card-text span, .politics-lead-card .card-text span, .politics-list-item .item-text span {
  color: #df1d2c;
  font-weight: 700;
  font-size: 13px;
  margin-right: 4px;
  display: inline;
}

.national-bottom-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.national-card-small .card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}
.national-card-small .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.national-card-small .card-text {
  padding: 6px 2px;
}
.national-card-small .card-text h3 {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  color: #111;
  display: inline;
}

/* Politics Column */
.politics-lead-card {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.politics-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.politics-list-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.politics-list-item a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.politics-list-item .item-thumb {
  width: 90px;
  height: 58px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
}
.politics-list-item .item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.politics-list-item .item-text {
  flex: 1;
  min-width: 0;
}
.politics-list-item .item-text h3 {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  color: #111;
  display: inline;
}

.category-four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

/* Reference home page: ordered news desks, image led cards and media bands. */
.home-main { padding-top: 8px; }
.lead-news-row { margin-top: 8px; }
.jn-ad-slot { position: relative; display: grid; min-height: var(--jn-ad-height, 180px); place-items: center; margin: 18px 0 24px; overflow: hidden; background: #fff; }
.jn-ad-slot > a, .jn-ad-slot > img, .jn-ad-embed { width: 100%; height: 100%; }
.jn-ad-slot img { width: 100%; height: var(--jn-ad-height, 180px); object-fit: contain; }
.jn-ad-slot--home_sidebar { margin: 0 0 20px; }
.jn-ad-label { position: absolute; top: 4px; right: 7px; z-index: 1; padding: 1px 5px; background: #ffffffd9; color: #686868; font: 11px/1.5 Arial, sans-serif; }
.jn-ad-embed { display: grid; place-items: center; min-height: var(--jn-ad-height, 180px); }
.jn-ad-embed iframe { max-width: 100%; }
.home-sections { padding-top: 4px; }
.jn-section-row { display: grid; align-items: start; gap: 20px; margin: 0 0 24px; }
.jn-section-row--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.jn-section-row .jn-category-section { margin-bottom: 0; }
.jn-category-section { min-width: 0; margin: 0 0 26px; }
.jn-category-section > .new-sports-title-style { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; margin-bottom: 12px; }
.jn-category-section > .new-sports-title-style h2 { flex: 1; min-width: 0; }
.jn-category-section > .new-sports-title-style h2 a { font-size: 22px; }
.jn-category-section .new-sports-title-style .jn-section-more { padding: 0 8px; color: #606060; font-size: 14px; white-space: nowrap; }
.jn-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.jn-category-card:first-child:last-child { grid-column: 1 / -1; }
.jn-category-grid:not(.jn-category-grid--featured) .jn-category-card:first-child:last-child { grid-column: auto; }
.jn-category-card { min-width: 0; overflow: hidden; padding: 0 0 8px; background: #fff; border-bottom: 1px solid #d5d5d5; }
.jn-category-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e7e8e9; }
.jn-category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.jn-category-image:hover img { transform: scale(1.035); }
.jn-category-card h3 { margin: 5px 5px 0; color: #171717; font-size: 17px; font-weight: 600; line-height: 1.4; }
.jn-category-card p { margin: 6px 5px 0; color: #494949; font-size: 15px; line-height: 1.6; }
.jn-category-card--lead { grid-column: span 2; grid-row: span 2; }
.jn-category-card--lead .jn-category-image { aspect-ratio: 16 / 9; }
.jn-category-card--lead h3 { font-size: 21px; line-height: 1.38; }
.jn-section-third .jn-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.jn-section-third .jn-category-card--lead { grid-column: span 2; grid-row: auto; }
.jn-section-third .jn-category-card--lead .jn-category-image { aspect-ratio: 16 / 9; }
.jn-section-third .jn-category-card h3 { font-size: 16px; }
.jn-section-wide .jn-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.jn-section-wide .jn-category-card--lead { grid-column: span 2; grid-row: span 2; }
.jn-regional-band { display: grid; grid-template-columns: minmax(0,3fr) minmax(200px,1fr); gap: 20px; align-items: start; margin: 0 0 22px; padding: 20px; background: #fff; }
.jn-section-regional { margin: 0; }
.jn-district-panel { min-height: 190px; padding: 18px; border-top: 4px solid var(--accent); background: #f0f2f3; }
.jn-district-panel h2 { margin: 0 0 10px; font-size: 22px; }
.jn-district-panel p { color: #444; font-size: 16px; }
.jn-district-panel a { color: var(--accent); font-size: 16px; font-weight: 700; }
.jn-district-search { display: grid; gap: 7px; }
.jn-district-search label { color: #434343; font-size: 14px; font-weight: 700; }
.jn-district-search select { width: 100%; min-height: 40px; padding: 7px 9px; border: 1px solid #d4d7da; border-radius: 3px; background: #fff; color: #222; font: inherit; }
.jn-district-search button { min-height: 40px; border: 0; border-radius: 3px; background: #292929; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.jn-district-search button:hover { background: var(--accent); }
.jn-district-panel a.jn-district-reset { display: inline-block; margin-top: 10px; font-size: 14px; }
.jn-section-dark, .jn-video-section { width: 100vw; position: relative; left: 50%; margin: 0 0 30px -50vw; padding: 24px max(20px, calc((100vw - var(--wrap)) / 2)); background: #353535; color: #fff; }
.jn-section-dark > .new-sports-title-style { background: transparent; }
.jn-section-dark > .new-sports-title-style h2 { border-color: #fff; }
.jn-section-dark > .new-sports-title-style h2 a, .jn-section-dark .jn-category-card h3 a { color: #fff; }
.jn-section-dark .jn-category-grid { max-width: var(--wrap); margin: auto; grid-template-columns: repeat(4,minmax(0,1fr)); }
.jn-section-dark .jn-category-card { position: relative; padding: 0; border: 3px solid #fff; background: #282828; }
.jn-section-dark .jn-category-card--lead { grid-column: span 2; grid-row: span 2; }
.jn-section-dark .jn-category-card h3 { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 24px 9px 7px; background: linear-gradient(transparent,#111d); font-size: 17px; }
.jn-section-dark .jn-category-card p { display: none; }
.jn-video-section { background: #202020; }
.jn-video-heading { display: flex; max-width: var(--wrap); align-items: center; justify-content: space-between; margin: 0 auto 15px; border-left: 4px solid var(--accent); }
.jn-video-heading h2 { margin: 0; padding-left: 9px; font-size: 24px; }
.jn-video-heading a { color: #fff; }
.jn-video-grid { display: grid; max-width: var(--wrap); grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: auto; }
.jn-video-grid article { overflow: hidden; background: #323232; }
.jn-video-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.jn-video-grid h3 { margin: 8px; font-size: 17px; line-height: 1.45; }
.jn-photo-grid { display: grid; grid-template-columns: 2fr repeat(2,1fr); gap: 12px; }
.jn-photo-grid article { position: relative; min-width: 0; overflow: hidden; background: #242424; }
.jn-photo-grid article:first-child { grid-row: span 2; }
.jn-photo-grid img { width: 100%; height: 100%; min-height: 150px; aspect-ratio: 16 / 9; object-fit: cover; }
.jn-photo-grid h3 { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 24px 10px 9px; background: linear-gradient(transparent,#111d); color: #fff; font-size: 17px; }
.jn-category-empty { margin: 0; padding: 16px; background: #f2f3f4; color: #555; font-size: 15px; }
.jn-ad-placeholder { display: flex; min-height: var(--jn-ad-height,220px); width: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 22px; background: linear-gradient(140deg,#f7f8f9,#eceff1); color: #51565b; text-align: center; }
.jn-ad-placeholder strong { font-size: 19px; }
.jn-ad-placeholder span { font-size: 15px; }
.home-main { background: #f1f1f1; }
.home-main .lead-news, .home-main .left-other-lead-news, .home-main .other-lead-news { padding: 6px; background: #fff; }
.home-main .categories-two-col-row { padding: 0 4px; }
.jn-category-card:first-child:last-child .jn-category-image { aspect-ratio: 16 / 9; }
.footer-categories ul { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px 12px; }
.footer-categories a { font-size: 17px; white-space: normal; }
.details-page-side-banner { margin-bottom: 20px; }
.details-page-side-banner .jn-ad-slot { margin: 0; border: 1px solid var(--line); background: #fafafa; }

@media (max-width: 960px) {
  .jn-section-row--three { gap: 14px; }
  .jn-category-grid, .jn-section-wide .jn-category-grid, .jn-section-dark .jn-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jn-category-card--lead, .jn-section-wide .jn-category-card--lead, .jn-section-dark .jn-category-card--lead { grid-row: auto; }
  .jn-category-card h3 { font-size: 16px; }
}
@media (max-width: 680px) {
  .home-main { padding-top: 8px; }
  .jn-section-row--three, .jn-regional-band { grid-template-columns: 1fr; }
  .jn-category-section { margin-bottom: 20px; }
  .jn-category-card h3 { font-size: 16px; }
  .jn-category-card--lead h3 { font-size: 19px; }
  .jn-section-dark, .jn-video-section { padding-right: 12px; padding-left: 12px; }
  .jn-video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .jn-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jn-photo-grid article:first-child { grid-column: span 2; grid-row: auto; }
  .jn-photo-grid img { min-height: 115px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-categories ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .lead-news-row {
    flex-direction: column;
  }
  .lead-news-right {
    width: 100%;
  }
  .latest-news {
    height: 460px;
  }
  .categories-two-col-row {
    grid-template-columns: 1fr;
  }
  .national-bottom-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Three-column footer */
.site-footer {
  margin-top: 40px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 var(--font-body);
}
.footer-wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(280px, .95fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  min-height: 0;
  padding: 40px 10px 34px;
  border-bottom: 1px solid var(--line);
}
.footer-main > * { min-width: 0; min-height: 0; padding: 0; border: 0; }
.footer-brand { display: inline-flex; max-width: 100%; align-items: center; color: var(--brand); white-space: normal; }
.footer-brand:hover { color: var(--brand); }
.footer-brand-name { color: var(--brand); font: 700 clamp(28px, 3vw, 40px)/1.15 var(--font-body); letter-spacing: 0; overflow-wrap: anywhere; }
.footer-custom-logo { width: auto; max-width: min(340px, 100%); max-height: 78px; object-fit: contain; object-position: left center; }
.footer-social-links { margin-top: 18px; }
.footer-social-links .social-links { justify-content: flex-start; gap: 10px; }
.footer-social-links .social-link { width: 36px; min-width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; }
.footer-social-links .social-link::before { color: #fff; }
.footer-social-links .social-link--youtube::before { background: var(--accent); }
.footer-social-links .social-link:hover { background: var(--accent); color: #fff; }
.footer-social-links .social-link--youtube:hover::before { background: #fff; color: var(--accent); }
.footer-contact { padding: 0 4px; color: var(--ink); font-family: "Hind Siliguri", var(--font-body), sans-serif; text-align: center; }
.footer-contact p { margin: 0 0 5px; overflow-wrap: anywhere; }
.footer-contact strong { font-weight: 700; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .footer-address { margin: 8px 0; }
.footer-extra .widget { margin: 0 0 14px; padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); color: var(--ink); }
.footer-extra .widget-title { margin: 0 0 8px; color: var(--ink); font-size: 18px; }
.footer-extra a { color: var(--brand); }
.footer-follow-card { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); }
.footer-follow-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--brand); color: #fff; font: 700 24px/1 Arial,sans-serif; }
.footer-follow-copy { display: grid; gap: 2px; }
.footer-follow-copy strong { color: var(--ink); font-size: 18px; }
.footer-follow-copy span { color: var(--muted); font-size: 14px; }
.footer-follow-card > a { grid-column: 1 / -1; display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 7px 14px; border-radius: 3px; background: var(--brand); color: #fff; font-weight: 700; text-align: center; }
.footer-follow-card > a:hover { filter: brightness(1.08); color: #fff; }
.footer-bottom { display: flex; min-height: 60px; align-items: center; justify-content: flex-start; padding: 12px 10px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }

@media (max-width: 900px) {
  .footer-wrap { width: calc(100% - 32px); }
  .footer-main { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 30px 24px; }
  .footer-extra, .footer-follow-card { grid-column: 1 / -1; width: min(100%, 520px); justify-self: center; }
  .footer-main > * { min-height: 0; }
}
@media (max-width: 680px) {
  .site-footer { margin-top: 28px; }
  .footer-wrap { width: calc(100% - 28px); }
  .footer-main { grid-template-columns: minmax(0,1fr); gap: 26px; padding: 30px 2px 24px; }
  .footer-identity { text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-custom-logo { max-width: min(340px, calc(100vw - 48px)); max-height: 68px; object-position: center; }
  .footer-social-links .social-links { justify-content: center; }
  .footer-contact { padding: 0; }
  .footer-extra, .footer-follow-card { grid-column: 1; }
  .footer-bottom { min-height: 54px; justify-content: center; padding: 10px 2px; text-align: center; }
}
.back-to-top[hidden] { display: none; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 998; display: grid; width: 50px; height: 50px; place-items: center; padding: 0; border: 0; border-radius: 3px; background: var(--brand); color: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.2); cursor: pointer; touch-action: manipulation; transition: background-color .18s ease, transform .18s ease; }
.back-to-top:hover { transform: translateY(-2px); background: var(--accent); }
.back-to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.back-to-top svg { display: block; width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 680px) { .back-to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; } }
@media (max-width: 600px) {
  .lead-top-row {
    grid-template-columns: 1fr;
  }
  .lead-grid-row {
    grid-template-columns: 1fr;
  }
  .national-top-two {
    grid-template-columns: 1fr;
  }
  .national-bottom-four {
    grid-template-columns: 1fr;
  }
  .category-four-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile homepage: compact lead cards and full-width news desks. */
@media (max-width: 680px) {
  .lead-news-row { gap: 12px; margin-top: 8px; margin-bottom: 16px; }
  .lead-news-left, .lead-news-right, .home-sidebar { width: 100%; min-width: 0; max-width: 100%; }
  .lead-top-row { gap: 8px; margin-bottom: 8px; }
  .lead-news-sub { display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; }
  .home-main .left-other-lead-news { margin: 0; padding: 5px; }
  .left-other-lead-news a { display: grid; grid-template-columns: 94px minmax(0,1fr); align-items: center; gap: 9px; line-height: 1.3; }
  .left-other-lead-news-image { width: 94px; height: 60px; aspect-ratio: auto; }
  .left-other-lead-news-text { min-width: 0; padding: 0; }
  .left-other-lead-news-text h2 { font-size: 14px; line-height: 1.35; }
  .lead-grid-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .home-main .other-lead-news { min-width: 0; padding: 4px 4px 7px; }
  .other-lead-news-text { padding: 5px 1px 1px; }
  .other-lead-news-text span { font-size: 12px; }
  .other-lead-news-text h2 { font-size: 14px; line-height: 1.35; }

  .home-sidebar { display: block; overflow-x: clip; }
  .home-sidebar > * { min-width: 0; max-width: 100%; }
  .opinion-news-title, .opinion-news, .home-sidebar .tab-content-wrapper { width: 100%; margin-right: 0; margin-left: 0; }
  .opinion-news-title { margin-bottom: 8px; }
  .opinion-news { padding: 0 0 8px; margin-bottom: 10px; }
  .opinion-news-img { width: 92px; height: 60px; }
  .opinion-news-text h2 { font-size: 14px; }
  .latest-news { height: 380px; }
  .latest-news-ul li > a { min-width: 0; }
  .latest-news-right { min-width: 0; }
  .latest-news-right h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 14px; line-height: 1.4; }

  .categories-two-col-row { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .national-top-two { grid-template-columns: minmax(0,1fr); }
  .national-bottom-four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .national-card-small { min-width: 0; }
  .politics-grid { grid-template-columns: minmax(0,1fr); }
  .politics-list-item a { grid-template-columns: 96px minmax(0,1fr); }

  .jn-section-row--three, .jn-regional-band { grid-template-columns: minmax(0,1fr); }
  .jn-section-row { gap: 14px; margin-bottom: 18px; }
  .jn-category-section > .new-sports-title-style { margin-bottom: 8px; }
  .jn-category-section > .new-sports-title-style h2 a { font-size: 20px; }
  .jn-section-third .jn-category-grid { grid-template-columns: minmax(0,1fr); gap: 7px; }
  .jn-section-third .jn-category-card--lead { grid-column: 1; grid-row: auto; }
  .jn-section-third .jn-category-card:not(.jn-category-card--lead),
  .jn-section-third .jn-category-grid:not(.jn-category-grid--featured) .jn-category-card:first-child:last-child {
    display: grid; grid-template-columns: 100px minmax(0,1fr); align-items: start; gap: 8px; padding: 5px; border-bottom: 0;
  }
  .jn-section-third .jn-category-card:not(.jn-category-card--lead) .jn-category-image,
  .jn-section-third .jn-category-grid:not(.jn-category-grid--featured) .jn-category-card:first-child:last-child .jn-category-image { grid-column: 1; grid-row: 1; width: 100px; aspect-ratio: 16 / 10; }
  .jn-section-third .jn-category-card:not(.jn-category-card--lead) h3,
  .jn-section-third .jn-category-grid:not(.jn-category-grid--featured) .jn-category-card:first-child:last-child h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 14px; }
  .jn-section-third .jn-category-card--lead .jn-category-image { aspect-ratio: 16 / 9; }
  .jn-section-third .jn-category-card--lead h3 { font-size: 17px; }
  .jn-section-wide .jn-category-grid, .jn-section-dark .jn-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .jn-section-wide .jn-category-card--lead, .jn-section-dark .jn-category-card--lead { grid-column: 1 / -1; grid-row: auto; }
  .jn-section-dark .jn-category-grid:not(.jn-category-grid--featured) .jn-category-card:first-child:last-child { grid-column: 1 / -1; }
  .jn-section-wide .jn-category-card h3, .jn-section-dark .jn-category-card h3 { font-size: 14px; }
  .jn-section-regional .jn-category-grid { grid-template-columns: minmax(0,1fr); gap: 7px; }
  .jn-section-regional .jn-category-card--lead { grid-column: 1; grid-row: auto; }
  .jn-section-regional .jn-category-grid:not(.jn-category-grid--featured) .jn-category-card:first-child:last-child { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 8px; padding: 5px; }
  .jn-section-regional .jn-category-grid:not(.jn-category-grid--featured) .jn-category-card:first-child:last-child .jn-category-image { width: 100px; aspect-ratio: 16 / 10; }
  .jn-section-regional .jn-category-grid:not(.jn-category-grid--featured) .jn-category-card:first-child:last-child h3 { margin: 0; font-size: 14px; }
  .jn-regional-band { gap: 12px; padding: 12px; }
  .jn-district-panel { min-height: 0; padding: 14px; }
  .jn-district-search { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .jn-district-search label { display: grid; gap: 4px; font-size: 13px; }
  .jn-district-search button { grid-column: 1 / -1; }
  .jn-section-dark, .jn-video-section { width: auto; left: auto; margin-left: -8px; margin-right: -8px; padding: 16px 12px; }
  .jn-video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .jn-video-grid h3 { font-size: 14px; }
  .jn-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .jn-photo-grid article:first-child { grid-column: 1 / -1; grid-row: auto; }
  .jn-photo-grid img { min-height: 0; }
}

/* ==========================================================================
   SINGLE NEWS ARTICLE PAGE (Crafted to match amaderkhobor24.com)
   ========================================================================== */

.details-page-wrap {
  margin-top: 15px;
  margin-bottom: 35px;
}
.details-row {
  display: flex;
  gap: 24px;
}
.details-left-content-area {
  flex: 1;
  min-width: 0;
}
.details-right-content-area {
  width: 320px;
  flex-shrink: 0;
}

/* Category Breadcrumb Tag */
.details-category-title {
  margin-bottom: 12px;
}
.details-category-title a {
  color: #ee1d22;
  border-bottom: 1px solid #ee1d22;
  font-size: 17px;
  font-weight: 600;
  display: inline-block;
  padding-bottom: 2px;
  text-decoration: none;
}
.details-category-title a:hover {
  color: #c41217;
  border-bottom-color: #c41217;
}

/* Article Header & Metadata */
.details-content-top {
  background: #ffffff;
  padding: 16px 20px 0;
  border: 1px solid var(--line);
  border-bottom: none;
}
:root[data-theme=dark] .details-content-top {
  background: var(--paper);
  border-color: var(--line);
}
.details-content-top h1 {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.35;
  color: #222222;
  margin: 0 0 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dbdbdb;
  font-weight: 700;
}
:root[data-theme=dark] .details-content-top h1 {
  color: #f1f5f9;
  border-bottom-color: var(--line);
}
.details-content-top .subheading {
  font-size: 18px;
  color: #555555;
  margin: 0 0 10px;
}
:root[data-theme=dark] .details-content-top .subheading {
  color: #94a3b8;
}

.details-content-top .small {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #dbdbdb;
  padding: 12px 0;
  margin: 0;
  width: 100%;
}
:root[data-theme=dark] .details-content-top .small {
  border-bottom-color: var(--line);
}
.small-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.details-author {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.details-author p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666666;
  margin: 0;
}
:root[data-theme=dark] .details-author p {
  color: #94a3b8;
}
.details-author p a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.details-author p a:hover {
  color: var(--accent);
}
.details-author svg {
  fill: currentColor;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Social Share Buttons */
.small-right {
  display: flex;
  align-items: center;
}
.social-media-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-media-icons a,
.social-media-icons button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  padding: 0;
  outline: none;
}
.social-media-icons a:hover,
.social-media-icons button:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}
.social-media-icons .facebook { background: #3b5998; }
.social-media-icons .twitter { background: #000000; }
.social-media-icons .whatsapp { background: #25d366; }
.social-media-icons .copy-link { background: #3578e5; }
.social-media-icons .print-link { background: #373737; }
.social-media-icons svg {
  fill: #ffffff;
  width: 16px;
  height: 16px;
}

/* Article Body Content */
.details-content {
  background: #ffffff;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: none;
  margin-bottom: 25px;
}
:root[data-theme=dark] .details-content {
  background: var(--paper);
  border-color: var(--line);
}
.details-main-image {
  margin-bottom: 20px;
  overflow: hidden;
}
.details-main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.image-caption {
  font-size: 13px;
  color: #777777;
  margin: 8px 0 0;
  font-style: italic;
  line-height: 1.4;
}
:root[data-theme=dark] .image-caption {
  color: #94a3b8;
}

.details-content .entry-content {
  font-size: 18px;
  line-height: 1.85;
  color: #111111;
  text-align: justify;
  word-break: break-word;
}
:root[data-theme=dark] .details-content .entry-content {
  color: #cbd5e1;
}
.details-content .entry-content p {
  margin: 16px 0;
}
.details-content .entry-content strong {
  font-weight: 700;
  color: #000000;
}
:root[data-theme=dark] .details-content .entry-content strong {
  color: #f8fafc;
}
.details-content .entry-content a {
  color: #1a0dab;
  text-decoration: underline;
}
.details-content .entry-content a:hover {
  color: var(--accent);
}
:root[data-theme=dark] .details-content .entry-content a {
  color: #60a5fa;
}

.details-media-embed {
  margin: 20px 0;
}
.details-media-embed iframe {
  width: 100%;
  max-width: 100%;
  border: none;
}
.details-media-embed audio {
  width: 100%;
}

.details-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 24px 0 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.details-tags span {
  font-weight: 700;
  color: #333333;
}
:root[data-theme=dark] .details-tags span {
  color: #cbd5e1;
}
.details-tags a {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.details-tags a:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
:root[data-theme=dark] .details-tags a {
  background: #1e293b;
  color: #94a3b8;
  border-color: #334155;
}

/* Related Stories Section */
.details-related-section {
  margin-top: 30px;
  margin-bottom: 30px;
}
.details-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

/* Single Sidebar Styles */
.details-page-side-banner {
  margin-bottom: 20px;
}
.details-ad-box {
  background: linear-gradient(135deg, #f8fafc, #edf2f7);
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  padding: 24px 15px;
  text-align: center;
  position: relative;
}
:root[data-theme=dark] .details-ad-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-color: #334155;
}
.details-ad-tag {
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 11px;
  color: #94a3b8;
}
.details-ad-promo strong {
  display: block;
  font-size: 17px;
  color: #1e293b;
  margin-bottom: 4px;
}
:root[data-theme=dark] .details-ad-promo strong {
  color: #f1f5f9;
}
.details-ad-promo p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}
:root[data-theme=dark] .details-ad-promo p {
  color: #94a3b8;
}

.detils-right-title {
  background: #ffffff;
  margin-bottom: 14px;
}
:root[data-theme=dark] .detils-right-title {
  background: transparent;
}
.detils-right-title h2 {
  border-left: 5px solid #2d292a;
  border-bottom: 1px solid #2d292a;
  padding: 0 12px;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #000000;
  line-height: 38px;
}
:root[data-theme=dark] .detils-right-title h2 {
  border-left-color: #e2e8f0;
  border-bottom-color: #3b4758;
  color: #ffffff;
}
.detils-right-title a {
  text-decoration: none;
  color: inherit;
}
.detils-right-title a:hover {
  color: var(--accent);
}

.more-news-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.more-news-single {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
:root[data-theme=dark] .more-news-single {
  background: transparent;
  border-bottom-color: var(--line);
}
.more-news-single a {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.more-news-single-image {
  width: 95px;
  height: 62px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
}
.more-news-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.more-news-single-text {
  flex: 1;
  min-width: 0;
}
.more-news-single-text h3 {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  color: #111111;
  transition: color 0.2s ease;
}
:root[data-theme=dark] .more-news-single-text h3 {
  color: #f1f5f9;
}
.more-news-single a:hover h3 {
  color: var(--accent);
}

.details-btn {
  text-align: center;
  margin: 12px 0 24px;
}
.btn-more-details-category {
  display: block;
  width: 100%;
  background: #242424;
  color: #ffffff;
  text-align: center;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease;
  border: 1px solid #000000;
}
.btn-more-details-category:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.details-tab-content-wrapper {
  margin-top: 15px;
}

/* Floating copy link toast */
.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .details-row {
    flex-direction: column;
  }
  .details-right-content-area {
    width: 100%;
  }
  .details-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .details-content-top .small {
    flex-direction: column;
    align-items: flex-start;
  }
  .small-right {
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
  }
  .details-related-grid {
    grid-template-columns: 1fr;
  }
}


