/* Narail Kantho — Bengali news typography */
html { font-size: 112.5%; }

:root {
  --guardsman-red: #d60000;
  --fun-green: #00722d;
  --pastel-green: #70e9a0;
  --lochmara-blue: #0573e6;
  --light-grey: #595959;
  --black68: rgba(0, 0, 0, 0.68);
  --palo-red: #d60000;
  --palo-black: #121212;
  --palo-white: #ffffff;
  --palo-scorpion: #5e5e5e;
  --palo-gray: #929292;
  --palo-gray-light: #9b9b9b;
  --palo-silver: #c4c4c4;
  --palo-border: #e8e8e8;
  --palo-blue: #0573e6;
  --palo-bg-grey: #f6f6f6;
  --palo-max: 1200px;
  --palo-gutter: 16px;
  --palo-gap: 15px;
  --font-headline: "Hind Siliguri", "Kalpurush", sans-serif;
  --font-body: "Noto Sans Bengali", "Kalpurush", sans-serif;
  --font-meta: "Noto Sans Bengali", "Kalpurush", sans-serif;
  --font-ui: var(--font-headline);
}

/* Headlines — Hind Siliguri Bold */
.news-headline,
h1, h2, h3,
.card-title,
.palo-lead-headline,
.palo-article-title,
.palo-cat-card h3,
.palo-category-lead-body h2,
.palo-search-heading,
.palo-home-h1,
.palo-section-title,
.palo-bd-card h4,
.palo-duo-card h4,
.palo-four-card h4,
.palo-ent-item h4,
.palo-ent-lead h3,
.palo-nine-lead h3,
.palo-nine-item h4,
.palo-business-lead h3,
.palo-opinion-full-featured h3,
.palo-opinion-full-list-item h4,
.palo-sports-mini h4,
.palo-bottom-item h4,
.palo-trending-list li a,
.palo-snippet span,
.palo-also-read-text h2,
.palo-category-sidebar-item span {
  font-family: var(--font-headline);
  font-weight: 700;
}

/* Body text — Noto Sans Bengali Regular */
.news-body,
p,
article,
.content,
.palo-article-body,
.palo-lead-summary,
.palo-article-bullets li,
.nk-footer-text,
.palo-cookie {
  font-family: var(--font-body);
  font-weight: 400;
}

/* Meta info — Noto Sans Bengali Medium */
.news-meta,
.date,
.views,
.tags,
.category-label,
.meta,
.palo-article-meta,
.palo-cat-card-meta,
.palo-article-category,
.palo-lead-time,
.nk-topbar-date,
.palo-bd-card time,
.palo-duo-card time,
.palo-four-card time,
.palo-ent-item time,
.palo-sports-mini time,
.palo-business-card time,
.palo-bottom-item time,
.palo-also-read-text time,
.palo-article-author-role,
.palo-search-meta {
  font-family: var(--font-meta);
  font-weight: 500;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--palo-black);
  background: var(--palo-white);
  line-height: 1.4;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--palo-red); }
img { max-width: 100%; display: block; }

.palo-container {
  width: 100%;
  max-width: var(--palo-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
@media (min-width: 1200px) {
  .palo-container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ========== BREAKING NEWS TICKER ========== */
.palo-breaking {
  background: var(--palo-red);
  color: var(--palo-white);
  height: 32px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  font-size: 12px;
}
.palo-breaking-label {
  background: var(--palo-black);
  padding: 0 12px;
  display: flex;
  align-items: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 11px;
}
.palo-breaking-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.palo-breaking-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: palo-ticker 45s linear infinite;
  padding-left: 100%;
}
.palo-breaking-inner a {
  color: var(--palo-white);
  padding: 0 32px;
}
.palo-breaking-inner a:hover {
  color: var(--palo-white);
  text-decoration: underline;
}
@keyframes palo-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Homepage SEO H1 / section heading */
.palo-home-h1,
.news-section-heading,
.section-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: #111;
  border-left: 4px solid #d0021b;
  padding-left: 12px;
  margin: 24px 0;
  line-height: 1.35;
}

/* ========== HERO — Prothom Alo 3-column (25% | 50% | 25%) ========== */
.main-content,
.content-wrapper,
.container-main,
.palo-hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 20px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

/* Featured headline — large, NO underline */
.center-column .featured-title,
.center-column .main-headline,
.center-column .palo-lead-headline,
.hero-section .center-column h2 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  color: #111;
  margin: 0 0 12px;
  text-decoration: none;
}

.center-column .featured-caption,
.center-column .palo-img-caption {
  font-size: 12px;
  color: #999;
  margin: 6px 0 12px;
  line-height: 1.45;
}

.center-column .featured-excerpt,
.center-column .palo-lead-summary {
  font-family: var(--font-body);
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin: 0 0 10px;
}

.center-column .featured-image img,
.center-column .palo-lead-img img {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.center-column .palo-lead-img {
  height: auto;
  margin-bottom: 0;
}

/* Left column — text-only list */
.left-column .news-item,
.left-column .palo-side-story {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
  margin-bottom: 24px;
  display: block;
}

.left-column .palo-side-thumb,
.left-column .news-item img,
.left-column .news-item .thumbnail,
.left-column .palo-excerpt {
  display: none !important;
}

.left-column h3,
.left-column h4,
.left-column .news-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.6;
  margin: 0 0 6px;
  text-decoration: none;
}

.left-column .news-meta,
.left-column .time,
.left-column time {
  font-size: 13px;
  color: #999;
  font-family: var(--font-body);
  font-weight: 400;
}

.left-column a:hover h3,
.left-column a:hover .news-title {
  color: #d0021b;
}

/* Secondary cards — image left, headline right */
.hero-section .secondary-grid,
.hero-section .palo-center-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.hero-section .secondary-card,
.hero-section .palo-center-duo .palo-duo-card {
  margin-bottom: 0;
}

.hero-section .secondary-card-link,
.hero-section .palo-center-duo .palo-duo-card > a,
.hero-section .palo-center-duo .secondary-card-link {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
}

.hero-section .secondary-card-img,
.hero-section .palo-center-duo .secondary-card-img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.hero-section .palo-center-duo .palo-duo-img {
  display: none;
}

.hero-section .secondary-card h4,
.hero-section .palo-center-duo .palo-duo-card h4 {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.55;
  margin: 0;
  text-decoration: none;
}

.hero-section .secondary-card a:hover h4,
.hero-section .palo-center-duo a:hover h4 {
  color: #d0021b;
}

/* Extra trio row below duo — compact like PA lower hero */
.hero-section .palo-center-trio {
  display: none;
}

/* Right column — opinion */
.right-column .section-label,
.right-column .palo-opinion-heading {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: #d0021b;
  border-bottom: 2px solid #d0021b;
  padding-bottom: 8px;
  margin: 0 0 16px;
}

.right-column .palo-opinion-heading a {
  color: #d0021b;
}

.right-column .opinion-item,
.right-column .palo-opinion-item {
  display: block;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.right-column .palo-opinion-item a {
  padding: 0;
}

.right-column .palo-opinion-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.right-column .opinion-item h4,
.right-column .palo-opinion-row h4 {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.right-column .palo-opinion-thumb,
.right-column .opinion-thumb {
  width: 70px;
  height: 55px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}

.right-column .palo-ad-slot,
.right-column .palo-hero-ad {
  display: none;
}

/* Card headlines elsewhere on site (not hero featured / left list) */
.palo-header,
.site-header {
  background: var(--palo-white);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.logo-row,
.palo-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 16px;
  gap: 16px;
  min-height: 100px;
  border-bottom: none;
}
.logo-row-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}
.palo-header-snippets--inline,
.header-snippet-row {
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.palo-logo,
.site-logo { flex-shrink: 0; }
.palo-logo-img,
.site-logo img {
  height: 60px;
  width: auto;
  max-width: 300px;
  display: block;
  object-fit: contain;
}
.palo-header-snippets--inline {
  overflow: hidden;
}
.palo-snippet,
.header-snippet {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  min-width: 0;
  flex: 1;
  flex-shrink: 1;
  padding-right: 12px;
  margin-right: 0;
  border-right: 1px solid #e0e0e0;
}
.palo-header-snippets .palo-snippet:last-child,
.header-snippet-row .header-snippet:last-child {
  border-right: none;
  padding-right: 0;
}
.palo-snippet img,
.header-snippet img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}
.palo-snippet span,
.header-snippet span {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--palo-black);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.palo-snippet:hover span,
.header-snippet:hover span { color: var(--palo-red); }

/* Full-width navbar */
.palo-nav-row,
.main-nav-bar,
.navbar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  min-height: 64px;
  width: 100%;
}
.nav-row-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 8px;
}
.palo-main-nav,
.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: stretch;
}
.palo-main-nav::-webkit-scrollbar { display: none; }
.palo-navbar-list,
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: stretch;
  height: 100%;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
}
.palo-menu-item {
  display: flex;
  align-items: stretch;
}
.palo-menu-item > a,
.palo-menu-item > a.nav-link,
nav a.nav-link {
  display: flex;
  align-items: center;
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 13px;
  padding-bottom: 9px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: #222;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.35;
}
.palo-menu-item > a:hover,
.palo-menu-item > a.nav-link:hover,
nav a.nav-link:hover {
  color: #d0021b;
}
.palo-menu-item.active > a,
.palo-menu-item.active > a.nav-link,
.palo-menu-item > a.active,
.palo-menu-item > a.nav-link.active,
nav a.nav-link.active {
  color: #d0021b;
  border-bottom-color: #d0021b;
  font-weight: 700;
}

.palo-menu-item--has-dropdown { position: relative; }
.palo-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--palo-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 1100;
}
.palo-menu-item--has-dropdown:hover .palo-nav-dropdown { display: block; }
.palo-nav-dropdown li a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}
.palo-nav-dropdown li a:hover { background: #f6f6f6; color: var(--palo-red); }

.palo-mega-menu {
  background: #fff;
  border-bottom: 1px solid var(--palo-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 16px 0;
}
.palo-mega-menu[hidden] { display: none !important; }
.palo-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 16px;
}
.palo-mega-list a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
}
.palo-mega-list a:hover { color: var(--palo-red); }

.palo-nav-utils,
.nav-utils {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  gap: 2px;
  align-self: center;
  padding: 6px 0;
}
.palo-util-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--palo-scorpion);
  line-height: 1.2;
  white-space: nowrap;
}
.palo-util-link span { font-size: 14px; }
.palo-epaper-label { font-size: 14px; font-weight: 700; }
.palo-util-eng,
.nav-util-eng {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  margin: 0 2px;
  font-size: 13px;
  font-weight: 700;
  background: #fce8e8;
  border-radius: 2px;
  color: var(--palo-black);
  line-height: 1.2;
}
.palo-util-login,
.nav-util-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--palo-white);
  color: var(--palo-scorpion) !important;
  border: 1px solid var(--palo-silver);
  padding: 7px 14px;
  border-radius: 2px;
  font-size: 13px;
  margin-left: 2px;
  line-height: 1.2;
}
.palo-util-login:hover {
  color: var(--palo-black) !important;
  border-color: var(--palo-gray);
}
.palo-login-text { font-weight: 400; }
.palo-icon { width: 18px; height: 18px; flex-shrink: 0; }
.palo-icon-globe { width: 16px; height: 16px; }
.palo-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  margin-left: 6px;
}
.palo-hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--palo-black);
  margin: 4px 0;
  border-radius: 4px;
}

.palo-top-ad {
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.palo-top-ad .palo-container {
  display: flex;
  justify-content: center;
  padding-top: 4px;
  padding-bottom: 4px;
}
.palo-ad-slot {
  background: var(--palo-bg-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--palo-gray-light);
  font-size: 0.6875rem;
  position: relative;
  box-sizing: border-box;
}
.palo-ad-slot--728 {
  width: 728px;
  max-width: 100%;
  height: 90px;
  min-height: 90px;
  max-height: 90px;
  margin: 0 auto;
}

/* Hero bottom leaderboard (Home_468x60_B1) above আলোচিত বিষয় tags */
.palo-hero-stack-ad {
  position: relative;
  display: block;
  margin: 0 calc(var(--palo-gutter) * -1) 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--palo-bg-grey);
}
.palo-hero-stack-ad-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100px;
}
.palo-ad-slot--970 {
  width: 100%;
  max-width: 728px;
  height: 100px;
  min-height: 100px;
  max-height: 100px;
  margin: 0 auto;
}
.palo-hero-stack-ad .palo-ad-slot::before {
  top: -20px;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--light-grey);
}
@media (min-width: 834px) {
  .palo-hero-stack-ad {
    margin-bottom: 24px;
  }
  .palo-hero-stack-ad-inner {
    height: 90px;
  }
  .palo-ad-slot--970 {
    height: 90px;
    min-height: 90px;
    max-height: 90px;
  }
}
@media (min-width: 1264px) {
  .palo-hero-stack-ad {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 24px;
  }
  .palo-ad-slot--970 {
    width: 970px;
    max-width: 970px;
  }
}
.palo-ad-slot::before {
  content: attr(data-lang);
  position: absolute;
  top: 2px;
  font-size: 0.625rem;
  color: var(--palo-gray-light);
}
.palo-ad-live {
  width: 100%;
  min-height: 50px;
  overflow: hidden;
  text-align: center;
}
.palo-ad-live ins.adsbygoogle {
  display: block;
  margin: 0 auto;
}
.palo-adsense-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}
.palo-ad-live ins.adsbygoogle {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
/* Prothom Alo–style ad slots (বিজ্ঞাপন label + sizes) */
.nk-ad-slot {
  text-align: center;
  margin: 12px 0;
}
.nk-ad-label {
  font-size: 11px;
  color: #999;
  text-align: center;
  display: block;
  margin-bottom: 3px;
}
.nk-ad-leaderboard {
  max-width: 728px;
  margin: 0 auto;
}
.nk-ad-rectangle {
  width: 300px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.nk-ad-incontent {
  max-width: 600px;
  margin: 20px auto;
}
.nk-ad-slot .palo-ad-live,
.nk-ad-slot .palo-adsense-wrap {
  width: 100%;
}
.palo-article-sidebar .nk-ad-slot {
  margin-bottom: 20px;
}
.palo-category-sidebar .nk-ad-slot {
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .nk-ad-rectangle {
    width: 100%;
    max-width: 336px;
  }
  .nk-ad-leaderboard {
    max-width: 100%;
  }
}
.palo-article-bottom-ad {
  margin: 24px 0 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .palo-adsense-wrap {
    min-height: 50px;
  }
  .palo-ad-slot--728,
  .palo-ad-live .palo-adsense-wrap {
    width: 100%;
    max-width: 100%;
  }
  .palo-sidebar-ad .palo-adsense-wrap,
  .palo-article-ad .palo-adsense-wrap {
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========== EID / E-PAPER APP BANNER (live ~72px) ========== */
.palo-eid-banner {
  border-bottom: 1px solid var(--palo-border);
  margin-bottom: 0;
}
.palo-eid-banner .palo-container {
  max-width: var(--palo-max);
}
.palo-eid-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: stretch;
  height: 72px;
  max-height: 72px;
}
.palo-eid-left {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #e8dff5 0%, #ddd0ef 100%);
  overflow: hidden;
}
.palo-eid-phone img {
  height: 56px;
  width: auto;
  display: block;
}
.palo-eid-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--palo-black);
}
.palo-eid-center {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: #f0f0f0;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}
.palo-eid-center p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--palo-black);
}
.palo-eid-center strong { font-weight: 700; }
.palo-eid-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #f5f5f5;
}
.palo-eid-btn {
  background: #e12127;
  color: var(--palo-white) !important;
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.palo-eid-btn:hover { color: var(--palo-white) !important; background: #c41e1c; }

/* ========== Card titles & shared news typography ========== */
.news-card-title,
.card-title,
.news-list-title,
.palo-trio-card h4,
.palo-cat-card h3,
.palo-featured-card h4,
.palo-bd-card h4,
.palo-ent-item h4,
.palo-four-card h4,
.palo-bottom-item h4,
.palo-duo-card h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
  color: #111;
  text-decoration: none;
}

.palo-side-story a:hover h3,
.palo-trio-card a:hover h4,
.palo-cat-card a:hover .card-title,
.palo-cat-card a:hover h3,
.news-card-title:hover,
.card-title:hover,
.news-list-title:hover,
a:hover .news-card-title,
a:hover .news-list-title {
  text-decoration: underline;
  text-decoration-color: #d0021b;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  color: #111;
}

.palo-cat-card,
.palo-duo-card,
.palo-trio-card,
.palo-side-story,
.palo-featured-card,
.news-card,
.article-card {
  margin-bottom: 0;
}
.palo-category-grid .palo-cat-card {
  margin-bottom: 0;
}
.palo-cat-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.palo-cat-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #ececec;
}
.palo-cat-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.palo-cat-card-img img.img-placeholder,
img.img-placeholder {
  object-fit: contain !important;
  object-position: center !important;
  background: #f3f3f3;
  padding: 14%;
  box-sizing: border-box;
}
.palo-cat-card h3,
.palo-cat-card .card-title {
  position: relative;
  z-index: 1;
  margin: 10px 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
  background: #fff;
}

.news-section,
.latest-news,
.collection-section {
  margin-top: 32px;
}

.palo-kicker {
  color: var(--palo-red);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  line-height: 1.29;
}
.palo-excerpt {
  font-size: 13px;
  color: var(--black68);
  margin: 3px 0 2px;
  line-height: 1.45;
}
time {
  font-size: 12px;
  color: #595959;
  line-height: 1.29;
}

/* Left column */
.palo-col-left { border-right: none; }
.palo-side-story {
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
}
.palo-side-story--with-thumb {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.palo-side-body { min-width: 0; }
.palo-side-story--with-thumb .palo-side-body { flex: 1; }
.palo-side-story h3 {
  margin: 0;
  color: var(--palo-black);
}
.palo-side-story h3:hover { color: #111; }
.palo-side-story .palo-excerpt {
  font-size: 13px;
  margin: 3px 0 3px;
  line-height: 1.45;
  color: var(--palo-scorpion);
}
.palo-side-thumb {
  flex-shrink: 0;
  width: 80px;
}
.palo-side-thumb img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  display: block;
}

/* Center lead */
.palo-col-center { min-width: 0; }
.palo-lead { margin-bottom: 0; }
.palo-lead-img {
  position: relative;
  height: 280px;
  background: #ececec;
  margin-bottom: 8px;
  overflow: hidden;
}
.palo-lead-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.palo-img-caption {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--palo-scorpion);
}
.palo-img-caption span {
  display: block;
  color: var(--palo-gray-light);
  margin-top: 2px;
}
.palo-kicker-inline {
  color: var(--palo-red);
  font-weight: 700;
}
.palo-lead h1,
.palo-lead-headline {
  margin: 0 0 10px;
}
.palo-lead h1:hover,
.palo-lead-headline:hover {
  color: #111;
}
.palo-lead-summary {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--palo-scorpion);
}
.palo-lead-time {
  font-size: 0.6875rem;
  color: var(--palo-gray-light);
}

.palo-center-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.palo-duo-img {
  padding-top: 58%;
  position: relative;
  background: #ececec;
  margin-bottom: 6px;
  overflow: hidden;
}
.palo-duo-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.palo-duo-card h4 {
  margin: 0 0 3px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.32;
}
.palo-duo-card time {
  font-size: 0.6875rem;
  color: var(--palo-gray-light);
}

.palo-center-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.palo-trio-img {
  padding-top: 68%;
  position: relative;
  background: #ececec;
  margin-bottom: 5px;
  overflow: hidden;
}
.palo-trio-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.palo-trio-card h4 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}
.palo-play-sm {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 24px;
  height: 24px;
  background: var(--palo-red);
  border-radius: 50%;
}
.palo-play-sm::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  border: 6px solid transparent;
  border-left: 9px solid #fff;
  border-right: 0;
}

/* Right column: ad + opinion */
.palo-col-right { min-width: 0; }
.palo-hero-ad {
  background: #ebebeb;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
}
.palo-hero-ad::before {
  content: attr(data-lang);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  color: var(--palo-gray-light);
}
.palo-hero-ad span {
  font-size: 0.75rem;
  color: #bbb;
}
.palo-hero-opinion { border-top: none; }
.palo-opinion-heading {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--palo-red);
}
.palo-opinion-heading a { color: var(--palo-red); }
.palo-opinion-item { border-bottom: 1px solid #eeeeee; }
.palo-opinion-item a {
  display: block;
  padding: 10px 0;
}
.palo-opinion-item--featured a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.palo-opinion-item--featured h4 {
  margin: 0;
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}
.palo-opinion-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.palo-opinion-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.palo-opinion-row h4 {
  margin: 0;
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}
.palo-opinion-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}

.palo-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.palo-mini-grid--4 { grid-template-columns: repeat(4, 1fr); }
.palo-mini-img {
  padding-top: 66%;
  position: relative;
  background: #eee;
  margin-bottom: 8px;
  overflow: hidden;
}
.palo-mini-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.palo-mini-card h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

/* Split row */
.palo-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--palo-border);
}
.palo-split-main h2 {
  margin: 8px 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}
.palo-horizontal-card a {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--palo-border);
}
.palo-horizontal-card img {
  width: 100px;
  height: 72px;
  object-fit: cover;
}
.palo-horizontal-card h4 { margin: 0; font-size: 0.9rem; font-weight: 700; }

/* Body + sidebar */
.palo-body-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--palo-gap);
  padding: 24px 0 48px;
  width: 100%;
}
.palo-section { margin-top: 32px; margin-bottom: 36px; }
.palo-section-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-ui);
  border-bottom: none;
  padding: 18px 0 0;
  display: block;
  border-top: 1px solid #e0e0e0;
}
.palo-section:first-of-type .palo-section-title,
.palo-hero-grid + .palo-tags-bar ~ .palo-section--video-blue .palo-section-title {
  border-top: none;
  padding-top: 0;
}
.palo-section-title a { color: var(--palo-black); }
.palo-section-title a:hover { color: var(--palo-red); }
.palo-arrow { color: var(--guardsman-red); font-weight: 400; margin-left: 2px; }
.palo-section-title--sports a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--palo-black);
}
.palo-sq-icon {
  width: 10px;
  height: 10px;
  background: var(--palo-blue);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* World grid */
.palo-world-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}
.palo-world-grid--solo {
  grid-template-columns: 1fr;
}
.palo-world-lead img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 4px;
  background: #f3f3f3;
}
.palo-world-lead h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
}
.palo-world-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.palo-world-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 6px;
  border-radius: 3px;
  background: #f3f3f3;
}
.palo-world-card h4 { margin: 0; font-size: 0.9rem; font-weight: 700; line-height: 1.35; }

/* Tags bar */
.palo-tags-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 12px 0;
  border-top: 1px solid var(--palo-border);
  border-bottom: 1px solid var(--palo-border);
}
.palo-tags-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  flex: 1;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.palo-tags-scroll::-webkit-scrollbar { display: none; }
.palo-tag {
  flex-shrink: 0;
  padding: 5px 14px;
  background: var(--palo-white);
  border: 1px solid #d0d0d0;
  border-radius: 20px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--palo-black);
}
.palo-tag:hover { background: #eee; color: var(--palo-black); }
.palo-tags-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* Video carousel */
.palo-carousel-wrap {
  position: relative;
  padding: 0;
}
.palo-video-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.palo-video-card {
  flex: 0 0 calc(25% - 12px);
  scroll-snap-align: start;
  background: #eef4f8;
  padding: 0 0 10px;
}
.palo-video-thumb {
  position: relative;
  padding-top: 56.25%;
  background: #222;
  margin-bottom: 10px;
  overflow: hidden;
}
.palo-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.palo-play {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  background: var(--palo-red);
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.palo-video-card h4 {
  margin: 0 8px 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--palo-black);
}
.palo-video-card p {
  margin: 0 8px 4px;
  font-size: 13px;
  color: var(--light-grey);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.palo-video-card time {
  margin: 0 8px;
  font-size: 12px;
}
.palo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.palo-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  padding: 0;
  cursor: pointer;
}
.palo-carousel-dot.active { background: var(--palo-black); }
.palo-carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius:    50%;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  font-size: 22px;
  line-height: 1;
}
.palo-carousel-prev { left: 0; }
.palo-carousel-next { right: 0; }

/* Sports */
.palo-sports-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.palo-sports-feature {
  position: relative;
}
.palo-sports-feature img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.palo-sports-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}
.palo-sports-overlay h3 { margin: 6px 0 0; font-size: 1.1rem; color: #fff; }
.palo-sports-overlay:hover h3 { color: #fff; }
.palo-sports-badge {
  background: #f5c518;
  color: #000;
  font-size: 0.7rem;
  padding: 2px 6px;
  font-weight: 700;
}
.palo-sports-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 6px;
}
.palo-sports-card h4 { margin: 0; font-size: 0.88rem; font-weight: 700; }
.palo-sports-list-item a {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--palo-border);
  align-items: start;
}
.palo-sports-list-item h4 { margin: 0 0 4px; font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.palo-sports-list-item time { font-size: 12px; color: var(--light-grey); display: block; }
.palo-sports-list-item img { width: 72px; height: 54px; object-fit: cover; }

/* Area filter */
.palo-area-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #e8f4fc;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.palo-area-label { font-weight: 700; font-size: 0.875rem; color: var(--palo-red); }
.palo-area-filter select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: #fff;
}
.palo-area-filter button {
  background: var(--palo-blue);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-body);
  cursor: pointer;
}

/* Trending sidebar */
.palo-trending-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}
.palo-trending-tabs {
  display: flex;
  border-bottom: 2px solid var(--palo-border);
  margin-bottom: 0;
}
.palo-trending-tabs button {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.palo-trending-tabs button.active {
  font-weight: 700;
  border-bottom-color: var(--palo-red);
  color: var(--palo-red);
}
.palo-trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.palo-trending-list li {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--palo-border);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}
.palo-rank {
  color: #c4c4c4;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 28px;
  line-height: 1;
  min-width: 28px;
}
.palo-trending-list li a {
  color: inherit;
}
.palo-trending-list .palo-kicker-inline::after {
  content: ' ';
}
.palo-trend-video-icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-left: 4px;
  color: var(--palo-red);
  display: inline-block;
}
.palo-trending-foot {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--palo-border);
}
.palo-trending-foot a {
  color: var(--palo-red);
  font-weight: 700;
  font-size: 0.875rem;
}
.palo-ad {
  margin-top: 20px;
  background: #f5f5f5;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--palo-gray-light);
  font-size: 0.8125rem;
}

/* Cookie bar — light like live GDPR widget */
.palo-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #333;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2000;
  font-size: 0.875rem;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}
.palo-cookie.hidden { display: none; }
.palo-cookie button {
  background: var(--lochmara-blue);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
}

.palo-bulletin-card:nth-child(1) { background: #1a3a5c; }
.palo-bulletin-card:nth-child(2) { background: #c9a227; }
.palo-bulletin-card:nth-child(2) a { color: #000; }

/* Footer — Narail Kantho light */
.nk-header-topbar {
  background: #f5f5f5;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.8125rem;
  color: #666;
}
.nk-header-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 6px 0;
  min-height: 32px;
}
.nk-topbar-date {
  font-weight: 500;
}
.nk-topbar-contact {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.nk-topbar-contact a {
  color: #0066cc;
  text-decoration: none;
}
.nk-footer {
  background: #ffffff;
  color: #1a1a1a;
  margin-top: 24px;
  border-top: 1px solid #dddddd;
}
.nk-footer,
.nk-footer .nk-footer-label,
.nk-footer .nk-footer-text,
.nk-footer .nk-footer-copyright {
  color: #1a1a1a;
}
.nk-footer .nk-footer-text,
.nk-footer .nk-footer-copyright {
  color: #1a1a1a;
}
.nk-footer-main {
  padding: 40px 16px 32px;
}
.nk-footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 40px;
}
.nk-footer-col {
  flex: 1 1 280px;
  min-width: 0;
  color: #1a1a1a;
}
.nk-footer-col--left {
  flex: 1 1 320px;
  max-width: 420px;
}
.nk-footer-col--contact {
  flex: 1 1 280px;
  max-width: 480px;
}
/* Align যোগাযোগ with প্রকাশক text (below logo: ~52px image + 20px margin) */
.nk-footer-right {
  padding-top: 90px;
}
.nk-footer-label {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #222222;
  line-height: 1.5;
}
.nk-footer-col--left .nk-footer-label:first-of-type {
  margin-top: 0;
}
.nk-footer-label:not(:first-child) {
  margin-top: 14px;
}
.nk-footer-text {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.6;
}
.nk-footer-link {
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.nk-footer-link:hover {
  color: #004499;
}
.nk-footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
  line-height: 0;
}
.nk-footer-logo {
  display: block;
  height: auto;
  width: 100%;
  max-width: 220px;
  object-fit: contain;
}
.nk-footer-bar {
  border-top: 1px solid #dddddd;
  padding: 20px 16px 88px;
}
.nk-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.nk-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.nk-footer-nav-link {
  color: #1a1a1a;
  font-size: 14px;
  text-decoration: none;
}
.nk-footer-nav-link:hover {
  text-decoration: underline;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.social-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.social-btn.facebook {
  background-color: #1877F2;
}
.social-btn.twitter {
  background-color: #000000;
}
.social-btn.youtube {
  background-color: #FF0000;
}
.nk-footer-copyright {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.65;
}
.nk-footer-bar-inner .nk-footer-copyright {
  text-align: left;
  flex: 1 1 240px;
}
@media (max-width: 768px) {
  .nk-footer-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .nk-footer-col--left {
    max-width: none;
  }
  .nk-footer-col--contact {
    max-width: none;
  }
  .nk-footer-right {
    padding-top: 0;
  }
  .nk-footer-copyright {
    font-size: 12px;
  }
}

/* ========== FULL HOMEPAGE STACKS (live prothomalo.com) ========== */
.palo-tags-bar--labeled { align-items: center; margin: 16px 0 24px; }
.palo-tags-label { font-size: 13px; font-weight: 700; color: var(--palo-black); flex-shrink: 0; margin-right: 8px; }
.palo-section-title--inline { border-top: none; padding-top: 0; margin-bottom: 12px; }
.palo-section-title--inline a { display: inline-flex; align-items: center; gap: 6px; }
.palo-sports-mini h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.palo-sports-mini time { font-size: 12px; color: var(--light-grey); }
.palo-sports-overlay time { color: rgba(255,255,255,0.8); font-size: 12px; display: block; margin-top: 4px; }
.palo-business-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 6px; }
.palo-business-card time { font-size: 11px; color: var(--light-grey); }
.palo-video-dark-lead .palo-video-row-thumb { margin-bottom: 0; }
.palo-video-dark-card .palo-video-row-thumb { margin-bottom: 0; }
.palo-cookie button { background: #0573e6; }
.palo-tiny-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--palo-border);
}
.palo-tiny-card { position: relative; overflow: hidden; }
.palo-tiny-card a { display: block; position: relative; }
.palo-tiny-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
}
.palo-tiny-label--1 { background: #f5c518; color: #000; }
.palo-tiny-label--2 { background: #4caf50; }
.palo-tiny-label--3 { background: #ff9800; }
.palo-tiny-label--4 { background: #795548; }
.palo-tiny-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.palo-tiny-card h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 24px 10px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.palo-top-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--palo-border);
}
.palo-sports-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 14px;
}
.palo-sports-feature {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
}
.palo-sports-feature > a { display: block; height: 100%; }
.palo-sports-feature img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}
.palo-sports-right-col {
  grid-column: 2;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.palo-sports-bottom {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.palo-sports-bottom .palo-sports-mini img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 6px; }
.palo-top-sidebar { align-self: start; }
.palo-sidebar-ad {
  margin-top: 16px;
  min-height: 250px;
  background: var(--palo-bg-grey);
  position: relative;
}
.palo-sidebar-ad::before {
  content: attr(data-lang);
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--palo-gray-light);
}

.palo-section-head { display: block; margin-bottom: 0; }
.palo-section-head .palo-section-title { margin: 0 0 12px; border-top: 1px solid #e0e0e0; }
.palo-area-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #eef5fa;
  padding: 10px 14px;
  margin-bottom: 16px;
  width: 100%;
}
.palo-area-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--guardsman-red);
  display: flex;
  align-items: center;
  gap: 4px;
}
.palo-area-label::before {
  content: "📍";
  font-size: 12px;
}
.palo-area-filter select {
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  background: #fff;
  min-width: 100px;
}
.palo-area-search {
  background: #00509d;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  margin-left: auto;
}
.palo-bangladesh-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.palo-bd-card--lead { grid-row: span 1; }
.palo-bd-card--list a {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.palo-bd-card--list img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  margin-bottom: 0;
  grid-column: 2;
  grid-row: 1 / span 3;
}
.palo-bd-card--list h4 { grid-column: 1; margin: 0 0 4px; font-size: 14px; }
.palo-bd-card--list p { grid-column: 1; margin: 0 0 4px; font-size: 13px; color: var(--palo-scorpion); }
.palo-bd-card--list time { grid-column: 1; }
.palo-bd-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 6px; }
.palo-bd-card h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.palo-bd-card--lead { grid-row: span 2; }
.palo-bd-card--lead img { aspect-ratio: 4/3; }
.palo-bd-card--lead h4 { font-size: 18px; }
.palo-bd-card p { font-size: 13px; color: var(--palo-scorpion); margin: 0 0 4px; line-height: 1.45; }
.palo-bd-card time { font-size: 11px; color: var(--light-grey); }

.palo-nine-grid,
.palo-ent-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 0;
  align-items: start;
}
.palo-ent-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.palo-ent-item {
  margin: 0;
}
.palo-ent-item-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}
.palo-ent-item:first-child .palo-ent-item-link { padding-top: 0; }
.palo-ent-item:last-child .palo-ent-item-link {
  border-bottom: none;
  padding-bottom: 0;
}
.palo-ent-item-link--thumb-right {
  flex-direction: row;
}
.palo-ent-item-body {
  flex: 1;
  min-width: 0;
}
.palo-ent-thumb {
  width: 96px;
  height: 72px;
  flex: 0 0 96px;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
  display: block;
  background: #f0f0f0;
}
.palo-ent-item h4 {
  margin: 0 0 4px;
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}
.palo-ent-item-link:hover h4 { color: #d0021b; }
.palo-ent-item time {
  font-size: 12px;
  color: #999;
  font-family: var(--font-meta);
}
.palo-ent-lead-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.palo-ent-lead-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  margin-bottom: 10px;
  display: block;
  background: #f0f0f0;
}
.palo-ent-lead h3 {
  margin: 0 0 6px;
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}
.palo-ent-lead-link:hover h3 { color: #d0021b; }
.palo-ent-lead p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--palo-scorpion);
  line-height: 1.55;
}
.palo-ent-lead time {
  font-size: 12px;
  color: #999;
  font-family: var(--font-meta);
}
.palo-nine-lead img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 8px; }
.palo-nine-lead h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.palo-nine-rest { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.palo-nine-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 4px; }
.palo-nine-item h4 { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.3; }

.palo-four-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.palo-four-img { padding-top: 62%; position: relative; background: #ececec; margin-bottom: 6px; overflow: hidden; }
.palo-four-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.palo-four-card h4 { margin: 0 0 3px; font-size: 13px; font-weight: 700; line-height: 1.32; }
.palo-four-cards--for-you {
  grid-template-columns: repeat(3, 1fr);
}
.palo-sports-mini time,
.palo-business-card time,
.palo-bottom-item time {
  color: var(--light-grey);
}

.palo-section--opinion-full { margin-bottom: 32px; }
.palo-opinion-full {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}
.palo-opinion-full-featured {
  border-right: 1px solid #eee;
  padding-right: 20px;
}
.palo-opinion-full-featured a { display: block; }
.palo-opinion-full-featured .palo-op-badge {
  display: inline-block;
  background: #1a237e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.palo-opinion-full-featured h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; line-height: 1.25; }
.palo-opinion-full-featured p { margin: 0 0 12px; font-size: 14px; color: var(--palo-scorpion); line-height: 1.5; }
.palo-opinion-full-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.palo-opinion-full-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.palo-opinion-full-author span { font-size: 13px; color: var(--light-grey); }
.palo-opinion-full-list { display: flex; flex-direction: column; }
.palo-opinion-full-list-item a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  align-items: start;
}
.palo-opinion-full-list-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.palo-opinion-full-list-item h4 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.palo-opinion-full-list-item .palo-kicker-inline { color: var(--guardsman-red); }

.palo-business-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.palo-business-lead img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 8px; }
.palo-business-lead h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.palo-business-lead p { margin: 0 0 6px; font-size: 14px; color: var(--palo-scorpion); line-height: 1.45; }
.palo-business-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.palo-business-card h4 { margin: 0 0 3px; font-size: 13px; font-weight: 700; line-height: 1.32; }
.palo-business-card .palo-kicker-inline { color: var(--guardsman-red); font-weight: 700; }

.palo-section-ad { margin: 20px 0; }
.palo-ad-slot--300 { min-height: 250px; max-height: 250px; margin: 24px 0 32px; }

.palo-dual-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid var(--palo-border);
}
.palo-dual-col-left, .palo-dual-col-right { padding: 16px 18px; }
.palo-dual-col-left--gray { background: #f5f5f5; }
.palo-dual-col-right--amber { background: #fff8e6; }
.palo-dual-heading { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--palo-red); }
.palo-dual-item { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 10px 0; }
.palo-dual-item:last-child { border-bottom: none; }
.palo-dual-item h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.palo-dual-item p { margin: 0; font-size: 12px; color: var(--palo-scorpion); line-height: 1.4; }
.palo-dual-thumb { width: 80px; height: 60px; object-fit: cover; float: right; margin-left: 10px; }

.palo-photo-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.palo-photo-main { position: relative; }
.palo-photo-main .palo-photo-slider { margin-bottom: 0; }
.palo-photo-main .palo-photo-slide img { max-height: 480px; width: 100%; object-fit: cover; }
.palo-photo-main .palo-photo-slide { position: relative; }
.palo-photo-main .palo-photo-slide h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 20px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.palo-photo-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  z-index: 2;
}
.palo-photo-nav {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.palo-photo-nav button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}
.palo-photo-side { display: flex; flex-direction: column; gap: 14px; }
.palo-photo-side-card a { display: block; }
.palo-photo-side-card .palo-photo-side-thumb { position: relative; margin-bottom: 6px; }
.palo-photo-side-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.palo-photo-side-card .palo-camera-icon {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 22px;
  height: 22px;
  background: var(--guardsman-red);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.palo-photo-side-card h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.palo-photo-side-card time { font-size: 12px; color: var(--light-grey); }

.palo-section--video-dark {
  background: #ffffff;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 24px calc(50vw - 50%) 32px;
  margin-bottom: 32px;
}
.palo-section--video-dark .palo-section-title { border-top: none; padding-top: 0; }
.palo-section--video-dark .palo-section-title a { color: var(--palo-black); }
.palo-section--video-dark .palo-arrow { color: var(--guardsman-red); }
.palo-video-dark-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.palo-video-dark-lead { position: relative; }
.palo-video-dark-lead img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.palo-video-dark-lead h3 { margin: 10px 0 4px; font-size: 20px; font-weight: 700; color: var(--palo-black); line-height: 1.25; }
.palo-video-dark-lead time { color: var(--light-grey); font-size: 12px; }
.palo-video-dark-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.palo-video-dark-card { position: relative; }
.palo-video-dark-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.palo-video-dark-card h4 {
  margin: 0;
  padding: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--palo-black);
  background: transparent;
  line-height: 1.3;
}
.palo-video-dark-card time { display: block; padding: 0 8px 8px; background: transparent; color: var(--light-grey); font-size: 11px; }

.palo-featured-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.palo-featured-card a { display: block; }
.palo-featured-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 8px;
}
.palo-featured-card h4 {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}
.palo-featured-card time { font-size: 12px; color: var(--light-grey); }

.palo-photo-slide { display: none; }
.palo-photo-slide.active { display: block; }
.palo-photo-slide img { width: 100%; max-height: 420px; object-fit: cover; }
.palo-photo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.palo-photo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--palo-silver);
  cursor: pointer;
  padding: 0;
}
.palo-photo-dot.active { background: var(--guardsman-red); }
.palo-photo-slide h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 18px;
}

.palo-video-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.palo-video-row-thumb { position: relative; padding-top: 56%; background: #222; margin-bottom: 6px; overflow: hidden; }
.palo-video-row-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.palo-video-row-card h4 { margin: 0 0 3px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.palo-video-row-card time { font-size: 11px; color: var(--light-grey); }

.palo-bulletin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.palo-bulletin-card {
  background: var(--palo-blue);
  padding: 14px 16px;
  border-radius: 2px;
}
.palo-bulletin-card a { color: #fff; }
.palo-bulletin-card h4 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; }

.palo-bottom-sections { padding-bottom: 48px; }
.palo-bottom-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--palo-border);
}
.palo-bottom-col-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--palo-red);
}
.palo-bottom-col-title a { color: var(--palo-black); }
.palo-bottom-col-title .palo-arrow { color: var(--guardsman-red); }
.palo-bottom-item { border-bottom: 1px solid #eee; padding: 8px 0; }
.palo-bottom-item h4 { margin: 0 0 3px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.palo-bottom-item time { font-size: 11px; color: var(--light-grey); }
.palo-bottom-more-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 20px;
  background: var(--lochmara-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
}
.palo-bottom-more-btn:hover { background: #045bb8; color: #fff !important; }

/* Collapse AdSense slots that fail to fill */
ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
}
.nk-ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.home-mid-ad-leaderboard:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.palo-ad-live:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
  display: none !important;
  margin: 0 !important;
  min-height: 0 !important;
}
.home-ad-wrap:not(:has(.nk-ad-slot)) {
  display: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .main-content,
  .content-wrapper,
  .container-main,
  .palo-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px auto;
  }
  .hero-section .palo-center-trio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
  }
  .left-column .palo-side-thumb,
  .left-column .news-item img {
    display: block !important;
  }
  .header-snippet-row {
    display: none;
  }
  .logo-row,
  .palo-brand-row {
    min-height: 72px;
  }
  .palo-nav-utils .palo-util-login {
    display: none;
  }
  .center-column .featured-title,
  .center-column .main-headline,
  .center-column .palo-lead-headline {
    font-size: 24px;
  }
}

@media (max-width: 1024px) {
  .main-content,
  .content-wrapper,
  .container-main,
  .palo-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .palo-header-collection { display: none; }
  .palo-brand-row { flex-wrap: wrap; justify-content: space-between; }
  .palo-body-with-sidebar { grid-template-columns: 1fr; }
  .palo-trending-sidebar,
  .palo-top-sidebar { position: static; }
  .palo-sports-grid { grid-template-columns: 1fr; }

  /* Sports layout: reset explicit grid placements so items auto-flow in single column */
  .palo-sports-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .palo-sports-feature { grid-column: auto; grid-row: auto; }
  .palo-sports-right-col { grid-column: auto; grid-row: auto; }
  .palo-sports-bottom { grid-column: auto; grid-row: auto; grid-template-columns: 1fr 1fr; }

  .palo-ent-grid { grid-template-columns: 1fr; }
  .palo-photo-layout { grid-template-columns: 1fr; }
  .palo-video-dark-grid { grid-template-columns: 1fr; }
  .palo-center-duo { grid-template-columns: 1fr 1fr; }
  .palo-center-trio { grid-template-columns: 1fr 1fr; }
  .palo-featured-grid { grid-template-columns: repeat(3, 1fr); }
  .palo-video-card { flex: 0 0 calc(50% - 8px); }
  .palo-world-grid { grid-template-columns: 1fr; }
  .palo-split-row { grid-template-columns: 1fr; }
  .palo-mini-grid--4 { grid-template-columns: 1fr 1fr; }
  .palo-top-grid { grid-template-columns: 1fr; }
  .palo-tiny-four { grid-template-columns: 1fr 1fr; }
  .palo-bangladesh-grid { grid-template-columns: 1fr 1fr; }
  .palo-bd-card--lead { grid-row: auto; }
  .palo-nine-grid { grid-template-columns: 1fr; }
  .palo-four-cards { grid-template-columns: 1fr 1fr; }
  .palo-opinion-full { grid-template-columns: 1fr 1fr; }
  .palo-business-grid { grid-template-columns: 1fr 1fr; }
  .palo-dual-col { grid-template-columns: 1fr; }
  .palo-video-row { grid-template-columns: 1fr 1fr; }
  .palo-bottom-row { grid-template-columns: 1fr 1fr; }
  .palo-sports-row { grid-template-columns: 1fr 1fr; }

  /* Prevent grid children from overflowing their tracks */
  .palo-sports-feature,
  .palo-sports-right-col,
  .palo-sports-bottom,
  .palo-col-left,
  .palo-col-center,
  .palo-col-right { min-width: 0; }
}
@media (max-width: 768px) {
  .palo-hamburger { display: block; }
  .palo-nav-row { flex-wrap: wrap; min-height: 56px; }
  .palo-main-nav {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 8px;
    padding-bottom: 12px;
  }
  .palo-main-nav.open { display: block; }
  .palo-navbar-list { flex-direction: column; gap: 0; }
  .palo-menu-item > a,
  .palo-menu-item > a.nav-link {
    padding: 14px 16px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  .palo-menu-item.active > a,
  .palo-menu-item.active > a.nav-link,
  .palo-menu-item > a.active,
  .palo-menu-item > a.nav-link.active {
    border-left-color: #d0021b;
    border-bottom-color: transparent;
  }
  .hero-title,
  .featured-title,
  .main-news-title,
  .palo-lead-headline,
  .hero-section h1,
  .hero-section h2 {
    font-size: 22px;
    line-height: 1.45;
  }
  .palo-nav-utils .palo-util-link:not(.palo-util-login) { display: none; }
  .palo-header-top-utils { display: flex; }
  .palo-eid-grid { grid-template-columns: 1fr; }
  .palo-eid-center { border-left: none; border-right: none; }
  .palo-hero-ad { min-height: 120px; }
  .palo-mini-grid { grid-template-columns: 1fr; }
  .palo-sports-bottom { grid-template-columns: 1fr; }
  .palo-featured-grid { grid-template-columns: 1fr 1fr; }
  .palo-video-card { flex: 0 0 85%; }
  .palo-four-cards { grid-template-columns: 1fr; }
  .palo-opinion-full { grid-template-columns: 1fr; }
  .palo-business-grid { grid-template-columns: 1fr; }
  .palo-mini-grid--4 { grid-template-columns: 1fr; }
  .palo-tiny-four { grid-template-columns: 1fr 1fr; }
  .palo-bangladesh-grid { grid-template-columns: 1fr; }
  .palo-video-row { grid-template-columns: 1fr 1fr; }
  .palo-bottom-row { grid-template-columns: 1fr 1fr; }
  .palo-sports-row { grid-template-columns: 1fr; }

  /* Additional grids missing from mobile reset */
  .palo-center-duo { grid-template-columns: 1fr; }
  .palo-center-trio { grid-template-columns: 1fr 1fr; }
  .palo-nine-rest { grid-template-columns: 1fr; }
  .palo-world-small { grid-template-columns: 1fr; }
  .palo-bulletin { grid-template-columns: 1fr; }

  /* Reduce sports feature image height on small screens */
  .palo-sports-feature img { min-height: 200px; }

  /* Tighten list-card thumbnail columns on narrow viewports */
  .palo-bd-card--list a { grid-template-columns: 1fr 68px; }
  .palo-bd-card--list img { width: 68px; height: 52px; }

  /* Prevent long Bangla words / inline elements from breaking layout */
  h1, h2, h3, h4, h5, h6,
  .palo-lead-headline,
  .palo-section-title { word-break: break-word; overflow-wrap: break-word; }

  /* Area filter: stack selects vertically on phones */
  .palo-area-filter { flex-direction: column; align-items: stretch; gap: 8px; }
  .palo-area-filter select { width: 100%; }
  .palo-area-search { width: 100%; margin-left: 0; text-align: center; }
}

/* ========== Category / Article / Search pages ========== */
.container {
  width: 100%;
  max-width: var(--palo-max);
  margin: 0 auto;
  padding-left: var(--palo-gutter);
  padding-right: var(--palo-gutter);
  box-sizing: border-box;
}
@media (min-width: 1200px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}
.category-header {
  padding: 20px 0;
  border-bottom: 2px solid var(--palo-red);
  margin-bottom: 24px;
}
.category-header h1 { margin: 0; font-size: 1.75rem; color: var(--palo-red); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 40px;
}
.story-card .card-image {
  padding-top: 56.25%;
  position: relative;
  background: #eee;
  margin-bottom: 8px;
  overflow: hidden;
}
.story-card .card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-card h3 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.category-tag { color: var(--palo-red); font-size: 0.8125rem; font-weight: 700; }
.meta { font-size: 0.75rem; color: var(--light-grey); }

.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
.article-page h1 { font-size: 2rem; font-weight: 700; line-height: 1.25; margin: 0 0 12px; }
.article-page .article-body { font-size: 1.0625rem; line-height: 1.75; }
.article-page .article-body p { margin: 0 0 1.25em; }
.article-page .article-meta {
  font-size: 0.8125rem;
  color: var(--palo-gray-light);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--palo-border);
  margin-bottom: 20px;
}

/* ========== ARTICLE DETAIL (prothomalo.com match) ========== */
.palo-article-wrap {
  max-width: var(--palo-max);
  margin: 0 auto;
  padding: 20px var(--palo-gutter) 60px;
  position: relative;
  box-sizing: border-box;
}
@media (min-width: 1200px) {
  .palo-article-wrap {
    padding-left: 0;
    padding-right: 0;
  }
}
.palo-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding-left: 52px;
}
.palo-share-float {
  position: fixed;
  left: max(12px, calc(50% - 620px));
  top: 220px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.palo-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: #555;
  border-radius: 4px;
  transition: background 0.15s;
}
.palo-share-btn:hover { background: #f5f5f5; }
.palo-share-btn svg { width: 20px; height: 20px; }
.palo-share-btn[data-share="facebook"] { color: #1877f2; }
.palo-share-btn[data-share="twitter"] { color: #000; }
.palo-share-btn[data-share="pinterest"] { color: #bd081c; }
.palo-share-btn[data-share="whatsapp"] { color: #25d366; }
.palo-share-label { display: none; }
.palo-article-category {
  display: inline-block;
  color: var(--guardsman-red);
  font-size: 14px;
  margin-bottom: 10px;
}
.palo-article-category:hover { color: var(--guardsman-red); }
.palo-article-title {
  font-size: 42px;
  line-height: 1.4;
  color: var(--palo-black);
  margin: 0 0 16px;
}
.palo-article-bullets {
  margin: 0 0 18px;
  padding: 0 0 0 20px;
  list-style: disc;
  color: var(--palo-black);
}
.palo-article-bullets li {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 6px;
  color: #333;
}
.palo-article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 16px;
  padding: 14px 0;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}
.palo-article-author-photo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
}
.palo-article-author-photo img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f5f5f5;
}
.palo-article-author-photo--desk {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff 0%, #f7f2f2 100%);
  border: 1px solid rgba(214, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.palo-article-author-monogram {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--palo-red);
  letter-spacing: -0.02em;
}
.palo-article-author-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.palo-article-author-name {
  display: block;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--palo-black);
  letter-spacing: -0.01em;
}
.palo-article-author-role {
  display: block;
  font-size: 12.5px;
  line-height: 1.35;
  color: #6b6b6b;
  margin-top: 0;
}
.palo-article-meta {
  font-size: 13px;
  color: var(--light-grey);
  margin-bottom: 14px;
}
.palo-article-meta-sep { margin: 0 6px; }
.palo-share-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.palo-share-inline-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.palo-share-inline-btn:hover { background: #f5f5f5; }
.palo-share-inline-btn--twitter { background: #000; color: #fff; border-color: #000; }
.palo-share-inline-btn--pin { background: #bd081c; color: #fff; border-color: #bd081c; }
.palo-share-inline-btn--wa { background: #25d366; color: #fff; border-color: #25d366; }
.palo-share-inline-btn svg { width: 16px; height: 16px; }
.palo-share-inline-btn--twitter svg { fill: #fff; }
.palo-share-inline-btn--pin svg { fill: #fff; }
.palo-share-inline-btn--wa svg { fill: #fff; }

.palo-also-read {
  margin: 24px 0;
  padding: 16px;
  background: #f6f6f6;
  border-left: 4px solid var(--guardsman-red);
}
.palo-also-read-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--guardsman-red);
  margin-bottom: 10px;
}
.palo-also-read-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.palo-also-read-text { flex: 1; min-width: 0; }
.palo-also-read-text h2 {
  margin: 0 0 6px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--palo-black);
}
.palo-also-read-text time { font-size: 12px; color: #595959; }
.palo-also-read-img { flex-shrink: 0; }
.palo-also-read-img img { width: 120px; height: 80px; object-fit: cover; }

.palo-google-news { margin: 24px 0; padding-top: 16px; border-top: 1px solid #eee; }
.palo-google-news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--palo-black);
}
.palo-google-news-link:hover { color: var(--lochmara-blue); }

/* Category page */
.palo-category-wrap { padding: 16px 0 48px; }
.subcategory-nav,
.palo-category-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.subcategory-nav a,
.palo-category-subnav a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.subcategory-nav a:hover,
.palo-category-subnav a:hover {
  color: #e02020;
}
.palo-category-subnav {
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--palo-border);
}
.palo-subnav-item {
  padding: 6px 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--palo-black);
  border-radius: 3px;
}
.palo-subnav-item:hover,
.palo-subnav-item.active { background: var(--guardsman-red); color: #fff !important; }
.palo-category-header h1 {
  font-family: var(--font-ui);
  font-size: 28px;
  font-weight: 700;
  color: var(--palo-black);
  margin: 0 0 8px;
}
.palo-category-header p { color: #595959; font-size: 14px; margin: 0 0 16px; }
.palo-category-ad {
  min-height: 90px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  margin-bottom: 20px;
  font-size: 13px;
}
.palo-category-lead { margin-bottom: 24px; }
.palo-category-lead-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.palo-category-lead-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.palo-category-lead-body h2 {
  font-family: var(--font-ui);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}
.palo-category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.palo-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 18px;
  align-items: start;
}
.palo-cat-card h3 {
  margin: 10px 0 6px;
}
.palo-cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.palo-cat-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: #595959;
}
.palo-load-more-wrap { text-align: center; margin: 32px 0 16px; }
.palo-load-more-btn {
  padding: 10px 32px;
  background: var(--lochmara-blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.palo-load-more-btn:hover { background: #045bb8; }
.palo-load-more-btn:disabled { opacity: 0.6; cursor: wait; }
.palo-category-sidebar { position: sticky; top: 120px; }
.palo-category-sidebar-widget h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--guardsman-red);
}
.palo-category-sidebar-item { margin-bottom: 12px; }
.palo-category-sidebar-item a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.palo-category-sidebar-item img { flex-shrink: 0; object-fit: cover; }
.palo-category-sidebar-item span {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.palo-category-ad--sidebar { min-height: 250px; margin-bottom: 20px; }

.palo-article-hero {
  margin: 0 auto 24px;
  max-width: 700px;
  text-align: center;
}
.palo-article-hero img {
  width: 700px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.palo-article-hero figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--light-grey);
  text-align: left;
}
.palo-article-youtube {
  position: relative;
  width: 100%;
  margin: 0 auto 24px;
  max-width: 700px;
  padding-top: 56.25%;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
}
.palo-article-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.palo-article-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--palo-black);
}
.palo-article-body p {
  margin: 0 0 20px;
}
.palo-article-inline-ad {
  margin: 24px 0;
  text-align: center;
}
.palo-article-incontent-ad {
  min-height: 250px;
  background: var(--palo-bg-grey);
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #eee;
}
.palo-article-incontent-ad::before {
  content: attr(data-lang);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--palo-gray-light);
}
.palo-article-tags {
  margin-top: 28px;
  font-size: 14px;
  color: var(--light-grey);
}
.palo-article-sidebar { align-self: start; position: sticky; top: 100px; }
.palo-article-ad {
  background: var(--palo-bg-grey);
  border: 1px solid #eee;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.palo-article-ad--300 {
  width: 300px;
  max-width: 100%;
  min-height: 250px;
}
.palo-article-ad::before {
  content: attr(data-lang);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--palo-gray-light);
}
.palo-article-related-title {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--guardsman-red);
  color: var(--palo-black);
}
.palo-article-related-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
.palo-article-related-item a {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: start;
}
.palo-article-related-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
}
.palo-article-related-item span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--palo-black);
}
.palo-article-related-item a:hover span { color: var(--guardsman-red); }

@media (max-width: 1024px) {
  .palo-share-float { display: none; }
  .palo-article-layout {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
  .palo-article-sidebar { position: static; }
  .palo-article-ad--300 { width: 100%; }
}
@media (max-width: 768px) {
  .palo-article-title { font-size: 26px; }
  .palo-article-body { font-size: 17px; }
  .palo-category-layout { grid-template-columns: 1fr; }
  .palo-category-grid { grid-template-columns: 1fr; }
  .palo-category-lead-link { grid-template-columns: 1fr; }
  .palo-mega-list { grid-template-columns: repeat(2, 1fr); }
}
@media print {
  .palo-share-float, .palo-share-inline, .palo-article-sidebar { display: none !important; }
  .palo-article-layout { grid-template-columns: 1fr; padding-left: 0; }
}

.search-page { padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.palo-search-page { padding: 24px 0 48px; max-width: 760px; }
.palo-search-heading { font-family: var(--font-ui); font-size: 28px; font-weight: 700; margin: 0 0 20px; color: var(--palo-black); }
.palo-search-form { margin-bottom: 24px; }
.palo-search-main { display: flex; gap: 8px; margin-bottom: 16px; }
.palo-search-main input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.palo-search-main button {
  padding: 12px 24px;
  background: var(--palo-red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
}
.palo-search-advanced-label { font-size: 14px; font-weight: 700; margin: 0 0 10px; color: var(--palo-black); }
.palo-search-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.palo-search-filters label span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--palo-scorpion);
}
.palo-search-filters select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff;
}
.palo-search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--palo-border);
  border-bottom: 1px solid var(--palo-border);
  margin-bottom: 8px;
}
.palo-search-count { font-size: 14px; color: var(--palo-scorpion); }
.palo-search-count strong { color: var(--palo-black); font-weight: 700; }
.palo-search-sort label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.palo-search-sort select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
}
.palo-search-result { border-bottom: 1px solid var(--palo-border); }
.palo-search-result-link {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 16px;
  padding: 16px 0;
  align-items: start;
}
.palo-search-result-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--palo-black);
}
.palo-search-result-body time { font-size: 12px; color: var(--light-grey); }
.palo-search-result-link img { width: 120px; height: 80px; object-fit: cover; }
.palo-search-more-wrap { text-align: center; padding: 24px 0; }
.palo-search-more {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid var(--palo-red);
  color: var(--palo-red);
  font-weight: 700;
  border-radius: 4px;
}
.palo-search-empty { padding: 24px 0; color: var(--palo-scorpion); }
.palo-article-tags a { color: var(--palo-red); }
@media (max-width: 768px) {
  .palo-search-filters { grid-template-columns: 1fr 1fr; }
  .palo-search-result-link { grid-template-columns: 1fr; }
  .palo-four-cards--for-you { grid-template-columns: 1fr 1fr; }
}

/* Dashboard (unchanged essentials) */
.dashboard-body { font-family: var(--font-body); background: #f4f6f9; min-height: 100vh; }
.dashboard-nav {
  background: var(--palo-red);
  color: white;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
}
.dashboard-nav a { color: white; margin-left: 16px; }
.dashboard-content { max-width: 1200px; margin: 24px auto; padding: 0 24px; }
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.stat-card h3 { margin: 0; font-size: 2rem; color: var(--palo-red); }
.dashboard-table {
  width: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}
.dashboard-table th, .dashboard-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--palo-border);
}
.login-box {
  max-width: 400px;
  margin: 80px auto;
  background: white;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.login-box h1 { text-align: center; color: var(--palo-red); }
.login-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  border: 1px solid #ccc;
  border-radius: 4px;
}
.login-box button {
  width: 100%;
  padding: 12px;
  background: var(--palo-red);
  color: white;
  border: none;
  font-family: var(--font-body);
  border-radius: 4px;
  cursor: pointer;
}

/* Dashboard admin features */
.db-muted { color: #666; font-size: 14px; }
.db-badge-active { color: #0a7a2e; font-weight: 600; }
.db-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.db-badge-adsense { background: #e8f4fc; color: #1565c0; }
.db-ad-thumb { max-width: 120px; max-height: 60px; object-fit: cover; border-radius: 4px; display: block; }
.db-ad-image-preview { margin: 12px 0; padding: 12px; background: #f8f9fa; border-radius: 6px; max-width: 400px; }
.db-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.db-modal[hidden] { display: none; }
.db-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.db-modal-dialog { position: relative; background: #fff; border-radius: 8px; width: min(90vw, 720px); max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.db-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #eee; }
.db-modal-header h3 { margin: 0; font-size: 18px; }
.db-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; line-height: 1; }
.db-modal-body { padding: 16px 20px; overflow-y: auto; }
.db-media-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.db-media-pick-item { border: 2px solid transparent; border-radius: 6px; padding: 6px; background: #f4f6f9; cursor: pointer; text-align: center; }
.db-media-pick-item:hover { border-color: var(--palo-red); }
.db-media-pick-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; display: block; }
.db-media-pick-item span { display: block; font-size: 11px; margin-top: 4px; color: #666; }
.db-actions-cell form { display: inline; }
.db-btn-link { background: none; border: none; color: var(--palo-red); cursor: pointer; font-size: inherit; padding: 0; text-decoration: underline; }
.db-label { display: block; font-size: 13px; font-weight: 600; margin: 8px 0 4px; color: #333; }
.db-input, .db-form select, .db-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  box-sizing: border-box;
}
.db-form-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.db-form-main, .db-form-sidebar { min-width: 0; }
.db-panel {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.db-panel h3 { margin: 0 0 12px; font-size: 15px; }
.db-field { margin-bottom: 12px; }
.db-field label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.db-hint { color: #888; font-size: 12px; }
.db-checks label { display: block; margin-bottom: 6px; font-weight: 400; }
.db-youtube-url-wrap.is-hidden {
  display: none !important;
}
.db-form-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.db-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  font-size: 14px;
}
.db-btn-primary { background: var(--palo-red); color: #fff; }
.db-btn-secondary { background: #333; color: #fff; }
.db-btn-danger { background: #c0392b; color: #fff; }
.db-btn-link { background: transparent; color: #333; border: 1px solid #ccc; }
.db-btn-sm { padding: 4px 10px; font-size: 12px; }
.db-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.db-page-head h1 { margin: 0 0 4px; }
.db-page-meta {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}
.db-actions { white-space: nowrap; }
.db-sep { color: #ccc; margin: 0 2px; }
.db-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.db-page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 6px;
}
.db-page-btn,
.db-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.db-page-btn:hover,
.db-page-num:hover {
  background: #f8fafc;
  border-color: #d1d5db;
}
.db-page-num.is-active {
  background: var(--palo-red);
  border-color: var(--palo-red);
  color: #fff;
  pointer-events: none;
}
.db-page-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.db-page-ellipsis {
  padding: 0 4px;
  color: #9ca3af;
  font-weight: 700;
}
.db-alert { padding: 12px; border-radius: 4px; margin-bottom: 16px; background: #fff3cd; }
.db-alert-error { background: #fdecea; color: #c0392b; }
.db-alert-success { background: #e8f5e9; color: #2e7d32; }
.db-two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 24px; }
.db-breaking-add { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.db-breaking-list { list-style: none; padding: 0; margin: 0; }
.db-breaking-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  gap: 8px;
}
.db-breaking-actions { display: flex; gap: 4px; flex-shrink: 0; }
.db-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.db-media-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.db-media-card img { width: 100%; height: 140px; object-fit: cover; }
.db-media-meta { padding: 10px; font-size: 12px; }
.db-media-meta code { display: block; word-break: break-all; font-size: 10px; margin: 4px 0; }
.db-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.db-hp-section { margin-bottom: 20px; }
.db-hp-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.db-hp-section-head h2 { margin: 0; font-size: 18px; }
.db-hp-meta { font-size: 12px; color: #888; }
.db-hp-article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.db-hp-article-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.db-hp-article-title { grid-column: 1; font-weight: 600; font-size: 14px; }
.db-hp-live-slug {
  grid-column: 1;
  font-size: 11px;
  color: #666;
  word-break: break-all;
}
.db-hp-remove { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.db-hp-missing { font-weight: 400; color: #c0392b; font-style: italic; }
.db-hp-add { max-width: 480px; }
.db-hp-picker { position: relative; }
.db-hp-suggestions {
  position: absolute;
  z-index: 100;
  left: 0;
  right: 0;
  top: 100%;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.db-hp-suggestions li {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
.db-hp-suggestions li:hover,
.db-hp-suggestions li:focus { background: #f8f4f4; outline: none; }
.db-hp-suggestions strong { display: block; font-size: 14px; }
.db-hp-suggestions span { display: block; font-size: 11px; color: #666; margin-top: 2px; }
.palo-preview-banner {
  background: #fff3cd;
  border-bottom: 2px solid #ffc107;
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
}
.palo-preview-banner a { margin-left: 12px; font-weight: 700; }
@media (max-width: 900px) {
  .db-form-grid, .db-two-col { grid-template-columns: 1fr; }
}

/* ========== Prothom Alo homepage trending row ========== */
.trending-row {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 24px;
  max-width: 1200px;
  margin: 24px auto 32px;
  padding: 0 20px 32px;
  align-items: start;
  border-bottom: 1px solid #e8e8e8;
  position: static;
  float: none;
  clear: both;
  box-sizing: border-box;
}
/* Legacy class kept on hero — grid comes from home-pa.css .pa-hero */
.trending-tabs { min-width: 0; }
.trending-tab-bar {
  margin-bottom: 16px;
}
.trending-tabs .palo-trending-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 0;
  border: none;
  font-size: 16px;
}
.trending-tabs .palo-rank {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  color: #ddd;
  line-height: 1;
  min-width: 24px;
}
.trending-tabs .palo-trending-list li a {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.55;
}

.featured-center { min-width: 0; }
.pa-featured-hero {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}
.pa-featured-hero-link { display: block; position: relative; }
.pa-featured-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.pa-featured-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 20px 16px 16px;
}
.pa-featured-hero-title {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 6px;
  text-decoration: none;
}
.pa-featured-hero-time {
  font-size: 13px;
  color: #ccc;
  font-family: var(--font-meta);
}
.pa-featured-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pa-secondary-card-link { display: block; }
.pa-secondary-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.pa-secondary-card-title {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.55;
  margin: 8px 0 4px;
}
.pa-secondary-card-time {
  font-size: 12px;
  color: #999;
  font-family: var(--font-meta);
}

.right-news { min-width: 0; }
.right-news-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}
.right-news-dot {
  width: 10px;
  height: 10px;
  background: #d0021b;
  border-radius: 50%;
  flex-shrink: 0;
}
.right-news-heading {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: #d0021b;
  text-decoration: none;
}
.right-news-item {
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 16px;
}
.right-news-item-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.right-news-item-body { flex: 1; min-width: 0; }
.right-news-item-title {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.55;
  margin: 0 0 4px;
}
.right-news-item-time {
  font-size: 12px;
  color: #999;
  font-family: var(--font-meta);
}
.right-news-item-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Bangladesh 2-column section */
.pa-bangladesh-section { margin-top: 4px; }
.pa-bangladesh-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1024px) {
  .trending-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pa-featured-secondary {
    grid-template-columns: 1fr 1fr;
  }
  .pa-bangladesh-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .pa-featured-secondary,
  .pa-bangladesh-grid {
    grid-template-columns: 1fr;
  }
  .pa-featured-hero-img {
    height: 220px;
  }
  .pa-bangladesh-row-link {
    grid-template-columns: 1fr 96px;
    gap: 12px;
  }
  .pa-bangladesh-row-thumb {
    width: 96px;
    height: 68px;
  }
  .pa-bangladesh-lead-title {
    font-size: 20px;
  }
}
