/*
Theme Name: দৃষ্টি নিউজ
Theme URI: https://drishtinews.com
Author: Drishti News
Author URI: https://drishtinews.com
Description: বাংলা নিউজ পোর্টালের জন্য আধুনিক, রেসপন্সিভ ওয়ার্ডপ্রেস থিম। ফিচার্ড হিরো লেআউট, ক্যাটাগরি সেকশন, সাইডবার এবং ভিডিও সাপোর্ট সহ।
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drishti
Tags: news, blog, bangla, bengali, responsive, custom-colors, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   GOOGLE FONTS — Noto Sans Bengali প্রাথমিক (BD পোর্টাল স্ট্যান্ডার্ড)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Tiro+Bangla&display=swap');

/* Preconnect hint — add in header.php for best perf */
/* <link rel="preconnect" href="https://fonts.googleapis.com">  */

/* ============================================================
   CSS CUSTOM PROPERTIES (design tokens)
   ============================================================ */
:root {
  /* Brand — red */
  --brand-50:  #fef2f2;
  --brand-100: #fee2e2;
  --brand-200: #fecaca;
  --brand-300: #fca5a5;
  --brand-400: #f87171;
  --brand-500: #ef4444;
  --brand-600: #dc2626;
  --brand-700: #b91c1c;
  --brand-800: #991b1b;
  --brand-900: #7f1d1d;
  --brand-950: #450a0a;

  /* Ink — warm neutral */
  --ink-50:  #fafaf9;
  --ink-100: #f5f5f4;
  --ink-200: #e7e5e4;
  --ink-300: #d6d3d1;
  --ink-400: #a8a29e;
  --ink-500: #78716c;
  --ink-600: #57534e;
  --ink-700: #44403c;
  --ink-800: #292524;
  --ink-900: #1c1917;
  --ink-950: #0c0a09;

  /* Accent — amber */
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;

  /* Typography */
--font-heading: 'Tiro Bangla', serif;
--font-body: 'Hind Siliguri', sans-serif;
--font-serif: 'Tiro Bangla', serif;

  /* Spacing */
  --max-width: 1280px;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--ink-50);
  color: var(--ink-900);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

::selection {
  background-color: var(--brand-100);
  color: var(--brand-900);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   BREAKING TICKER
   ============================================================ */
.breaking-ticker {
  background: var(--brand-700);
  color: #fff;
  overflow: hidden;
  height: 2.25rem;
  display: flex;
  align-items: center;
}
.breaking-ticker__label {
  flex-shrink: 0;
  padding: 0 1rem;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-right: 1px solid rgba(255,255,255,.3);
  background: var(--brand-800);
  height: 100%;
  display: flex;
  align-items: center;
}
.breaking-ticker__track {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.breaking-ticker__inner {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}
.breaking-ticker__inner:hover { animation-play-state: paused; }
.breaking-ticker__inner a {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color .2s;
}
.breaking-ticker__inner a:hover { color: var(--accent-400); }
.breaking-ticker__inner a::after { content: ' ●'; color: rgba(255,255,255,.35); font-size:.6em; }

.breaking-ticker__pause {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  padding: 0 .75rem;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.breaking-ticker__pause:hover { color: #fff; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Top strip */
.header-topbar {
  background: var(--ink-900);
  color: var(--ink-300);
  display: none;
}
@media (min-width: 768px) {
  .header-topbar { display: block; }
}
.header-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .375rem;
  font-size: .75rem;
  gap: 1rem;
}
.header-topbar a { transition: color .2s; }
.header-topbar a:hover { color: #fff; }
.header-topbar__time { display: flex; align-items: center; gap: .5rem; }
.header-topbar__time-dot { color: var(--brand-400); font-size: .85em; }
.header-topbar__links { display: flex; align-items: center; gap: 1rem; }
.header-topbar__sep { color: var(--ink-700); }

/* Main bar */
.header-main {
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header-main.scrolled {
  border-color: var(--ink-200);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
}
.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
}
.site-logo__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.site-logo:hover .site-logo__icon { transform: scale(1.05); }
.site-logo__text { display: flex; flex-direction: column; line-height: 1; }
.site-logo__name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--ink-900); }
.site-logo__tagline { font-size: .625rem; text-transform: uppercase; letter-spacing: .2em; color: var(--ink-500); margin-top: .125rem; }

/* Search (desktop) */
.header-search {
  flex: 1;
  max-width: 28rem;
  display: none;
}
@media (min-width: 1024px) { .header-search { display: block; } }
.header-search__form { position: relative; }
.header-search__input {
  width: 100%;
  border: 1px solid var(--ink-200);
  border-radius: 9999px;
  background: var(--ink-50);
  padding: .5rem 2.75rem .5rem 1rem;
  font-size: .875rem;
  color: var(--ink-800);
  font-family: var(--font-body);
  transition: border-color .2s, background .2s;
}
.header-search__input::placeholder { color: var(--ink-400); }
.header-search__input:focus { outline: none; border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 3px var(--brand-100); }
.header-search__btn {
  position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem;
  border: none; border-radius: 9999px;
  background: var(--brand-700); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.header-search__btn:hover { background: var(--brand-800); }
.header-search__btn svg { width: 15px; height: 15px; }

/* Mobile buttons */
.header-btn {
  width: 2.5rem; height: 2.5rem;
  border: none; background: none; cursor: pointer;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-700);
  transition: background .2s;
}
.header-btn:hover { background: var(--ink-100); }
.header-btn svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .header-btn { display: none; } }

/* Category nav */
.header-nav {
  background: #fff;
  border-bottom: 1px solid var(--ink-200);
  display: none;
}
@media (min-width: 768px) { .header-nav { display: block; } }
.header-nav__inner {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.header-nav__home {
  padding: .75rem .75rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--brand-700);
  display: flex; align-items: center; gap: .375rem;
}
.header-nav__sep { color: var(--ink-300); }
.header-nav__item {
  position: relative;
  padding: .75rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color .2s;
}
.header-nav__item:hover { color: var(--brand-700); }
.header-nav__item::after {
  content: '';
  position: absolute;
  bottom: 0; left: .75rem; right: .75rem;
  height: 2px;
  background: var(--brand-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.header-nav__item:hover::after,
.header-nav__item.current-menu-item::after { transform: scaleX(1); }

/* Mobile search bar */
.mobile-search {
  display: none;
  border-top: 1px solid var(--ink-200);
  background: #fff;
  padding: .75rem 1.5rem;
}
.mobile-search.open { display: block; }
.mobile-search .header-search__form { max-width: 100%; }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 200;
}
.mobile-menu.open { display: block; }
.mobile-menu__overlay {
  position: absolute; inset: 0;
  background: rgba(12,10,9,.6);
  backdrop-filter: blur(4px);
}
.mobile-menu__panel {
  position: absolute; left: 0; top: 0;
  height: 100%; width: 20rem; max-width: 85%;
  background: #fff;
  overflow-y: auto;
  box-shadow: 4px 0 32px rgba(0,0,0,.15);
}
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--ink-200);
  padding: 1rem 1.25rem;
}
.mobile-menu__head h2 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.mobile-menu__close {
  width: 2.25rem; height: 2.25rem;
  border: none; background: none; cursor: pointer;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-600);
  transition: background .2s;
}
.mobile-menu__close:hover { background: var(--ink-100); }
.mobile-menu__nav { padding-block: .5rem; }
.mobile-menu__nav a {
  display: block;
  padding: .75rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: background .2s, color .2s;
}
.mobile-menu__nav a:hover { background: var(--ink-50); color: var(--brand-700); }
.mobile-menu__nav a.home-link { font-weight: 700; color: var(--brand-700); }
.mobile-menu__divider { border: none; border-top: 1px solid var(--ink-200); margin: .5rem 0; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: #fff;
  border-bottom: 1px solid var(--ink-200);
}
.hero-section .container { padding-block: 2rem; }

.hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); }
}

/* Main hero card */
.hero-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--ink-900);
  display: block;
  text-decoration: none;
}
@media (min-width: 1024px) { .hero-main { grid-column: span 8; grid-row: span 2; } }
.hero-main__img-wrap { position: relative; aspect-ratio: 16/10; }
@media (min-width: 1024px) { .hero-main__img-wrap { aspect-ratio: 16/11; } }
.hero-main__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.hero-main:hover .hero-main__img { transform: scale(1.05); }
.hero-main__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,10,9,1) 0%, rgba(12,10,9,.45) 50%, transparent 100%);
}
.hero-main__content {
  position: absolute; inset-x: 0; bottom: 0;
  padding: 1.5rem;
}
@media (min-width: 640px) { .hero-main__content { padding: 2rem; } }
@media (min-width: 1024px) { .hero-main__content { padding: 2.5rem; } }
.hero-main__cat {
  display: inline-flex;
  border-radius: 9999px;
  background: var(--brand-700);
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
}
.hero-main__title {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-main:hover .hero-main__title { color: var(--accent-400); }
.hero-main__subtitle {
  margin-top: .75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-200);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-main__meta { margin-top: 1rem; display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-300); }
.hero-main__author { font-weight: 600; color: #fff; }

/* Secondary hero cards */
.hero-secondary {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--ink-100);
  display: block;
  text-decoration: none;
}
@media (min-width: 1024px) { .hero-secondary { grid-column: span 4; } }
.hero-secondary__img-wrap { position: relative; aspect-ratio: 16/10; }
.hero-secondary__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hero-secondary:hover .hero-secondary__img { transform: scale(1.05); }
.hero-secondary__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,10,9,1) 0%, rgba(12,10,9,.35) 60%, transparent 100%);
}
.hero-secondary__content { position: absolute; inset-x: 0; bottom: 0; padding: 1.25rem; }
.hero-secondary__cat { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-400); }
.hero-secondary__title {
  margin-top: .375rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-secondary:hover .hero-secondary__title { color: var(--accent-400); }
.hero-secondary__meta { margin-top: .5rem; display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--ink-300); }

/* Tertiary hero row */
.hero-tertiary {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-200);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 768px) { .hero-tertiary { grid-template-columns: 1fr 2fr; } }
.hero-tertiary__img-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16/9; }
@media (min-width: 768px) { .hero-tertiary__img-wrap { aspect-ratio: 16/8; } }
.hero-tertiary__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.hero-tertiary:hover .hero-tertiary__img { transform: scale(1.05); }
.hero-tertiary__body { padding-block: .5rem; }
.hero-tertiary__cat { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-600); }
.hero-tertiary__title {
  margin-top: .375rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-900);
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-tertiary:hover .hero-tertiary__title { color: var(--brand-700); }
.hero-tertiary__subtitle { margin-top: .625rem; font-size: .875rem; line-height: 1.65; color: var(--ink-600); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-tertiary__meta { margin-top: .75rem; display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--ink-500); }
.hero-tertiary__author { font-weight: 600; color: var(--ink-700); }

/* ============================================================
   ARTICLE CARD
   ============================================================ */
.article-card { display: block; text-decoration: none; color: inherit; }
.article-card__img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius-xl); background: var(--ink-100); }
.article-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .article-card__img { transform: scale(1.05); }
.article-card__cat { margin-top: .875rem; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-600); }
.article-card__title {
  margin-top: .375rem;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-900);
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover .article-card__title { color: var(--brand-700); }
.article-card__excerpt { margin-top: .5rem; font-size: .8125rem; line-height: 1.65; color: var(--ink-600); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__meta { margin-top: .75rem; display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--ink-500); }
.article-card__author { font-weight: 600; color: var(--ink-700); }

/* ============================================================
   MAIN CONTENT + SIDEBAR GRID
   ============================================================ */
.content-area {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: 3rem;
}
.content-sidebar-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .content-sidebar-grid { grid-template-columns: 1fr 320px; }
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink-900);
  padding-bottom: .75rem;
  margin-bottom: 1.5rem;
}
.section-head h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.section-head__more { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-500); }

.section-head--brand { border-bottom-color: var(--brand-700); }
.section-head--brand h2 { color: var(--ink-900); }

.articles-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (max-width: 560px) { .articles-grid { grid-template-columns: 1fr; } }

/* Popular sidebar list */
.popular-list { display: flex; flex-direction: column; gap: 1.25rem; }
.popular-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ink-200);
  text-decoration: none;
  color: inherit;
}
.popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.popular-item__num {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-700);
}
.popular-item__cat { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-600); }
.popular-item__title {
  margin-top: .125rem;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-900);
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.popular-item:hover .popular-item__title { color: var(--brand-700); }
.popular-item__date { margin-top: .25rem; font-size: .6875rem; color: var(--ink-500); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
  background: var(--ink-900);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.video-section .container { padding-block: 3rem; }
.video-section .section-head { border-bottom-color: var(--ink-700); }
.video-section .section-head h2 { color: #fff; display: flex; align-items: center; gap: .5rem; }
.video-section .section-head__more { color: var(--accent-400); }
.video-section .section-head__more:hover { color: #fff; }
.video-section-head__icon {
  width: 1.75rem; height: 1.75rem;
  border-radius: 9999px;
  background: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
}
.video-section-head__icon svg { width: 14px; height: 14px; fill: #fff; }

.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }

.video-card { display: block; text-decoration: none; }
.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink-800);
}
.video-card__img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .4s, transform .7s; }
.video-card:hover .video-card__img { opacity: 1; transform: scale(1.05); }
.video-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,10,9,.75) 0%, transparent 50%);
}
.video-card__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: rgba(185,28,28,.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  transition: transform .2s;
  backdrop-filter: blur(4px);
}
.video-card__play svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); }
.video-card__cat {
  position: absolute; left: .75rem; top: .75rem;
  border-radius: 9999px;
  background: var(--brand-700);
  padding: .25rem .625rem;
  font-size: .6875rem;
  font-weight: 600;
  color: #fff;
}
.video-card__title {
  margin-top: .75rem;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card:hover .video-card__title { color: var(--accent-400); }
.video-card__subtitle { margin-top: .375rem; font-size: .8125rem; line-height: 1.55; color: var(--ink-400); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card__meta { margin-top: .5rem; display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--ink-500); }
.video-card__author { font-weight: 600; color: var(--ink-300); }

/* ============================================================
   CATEGORY SECTIONS (on homepage)
   ============================================================ */
.cat-sections { padding-block: 3rem; }
.cat-section { margin-top: 3rem; }
.cat-section:first-child { margin-top: 0; }
.cat-section__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .cat-section__grid { grid-template-columns: 1fr 1fr; } }
.cat-section__list { display: flex; flex-direction: column; gap: 1.25rem; }
.cat-list-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ink-200);
  text-decoration: none;
  color: inherit;
}
.cat-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.cat-list-item__body { min-width: 0; flex: 1; }
.cat-list-item__title {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-900);
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-list-item:hover .cat-list-item__title { color: var(--brand-700); }
.cat-list-item__excerpt { margin-top: .375rem; font-size: .75rem; line-height: 1.55; color: var(--ink-500); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-list-item__date { margin-top: .375rem; font-size: .6875rem; color: var(--ink-500); }
.cat-list-item__thumb { flex-shrink: 0; width: 6rem; height: 4rem; border-radius: var(--radius-md); overflow: hidden; background: var(--ink-100); }
.cat-list-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post { background: #fff; }

.post-breadcrumb {
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-200);
}
.post-breadcrumb .container { padding-block: .75rem; }
.post-breadcrumb a { display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; color: var(--ink-600); transition: color .2s; }
.post-breadcrumb a:hover { color: var(--brand-700); }
.post-breadcrumb svg { width: 14px; height: 14px; }

.post-header { padding-block: 2.5rem 1.5rem; }
.post-header__inner { max-width: 48rem; margin-inline: auto; text-align: center; }
.post-cat {
  display: inline-flex;
  border-radius: 9999px;
  background: var(--brand-50);
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brand-700);
  transition: background .2s;
}
.post-cat:hover { background: var(--brand-100); }
.post-title {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink-900);
}
.post-subtitle {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink-600);
}
@media (min-width: 640px) { .post-subtitle { font-size: 1.25rem; } }

.post-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 1.25rem;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  padding-block: 1rem;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--ink-600);
}
.post-byline__author { display: flex; align-items: center; gap: .5rem; }
.post-byline__author-name { font-weight: 700; color: var(--ink-800); }
.post-byline__meta { display: flex; align-items: center; gap: .375rem; }
.post-byline__icon { color: var(--ink-400); width: 15px; height: 15px; }
.post-share {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  border-radius: 9999px;
  background: var(--ink-100);
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-700);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s, color .2s;
}
.post-share:hover { background: var(--brand-50); color: var(--brand-700); }
.post-share svg { width: 13px; height: 13px; }

.post-cover {
  padding-inline: 1.5rem;
  margin-inline: auto;
  max-width: var(--max-width);
}
.post-cover__img-wrap {
  max-width: 56rem;
  margin-inline: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--ink-100);
}
.post-cover__img { width: 100%; height: 100%; object-fit: cover; }

.post-body-wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: 2.5rem;
}
.post-body-inner { max-width: 40rem; margin-inline: auto; }

.post-body {
  font-family: var(--font-body);
  color: var(--ink-800);
}
.post-body p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.85;
}
.post-body p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: .9;
  float: left;
  margin: .25rem .75rem 0 0;
  color: var(--brand-700);
  font-weight: 700;
}
.post-body h2, .post-body h3, .post-body h4 { margin: 2rem 0 1rem; }
.post-body blockquote {
  border-left: 4px solid var(--brand-600);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--brand-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--ink-700);
}
.post-body a { color: var(--brand-700); text-decoration: underline; }
.post-body ul, .post-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: .5rem; font-size: 1.0625rem; line-height: 1.75; }

/* Video embed */
.post-video {
  margin-top: 2.5rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--ink-900);
}
.post-video iframe { width: 100%; height: 100%; border: none; }

/* Author bio box */
.post-author-box {
  margin-top: 2.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--ink-200);
  background: var(--ink-50);
  padding: 1.5rem;
}
.post-author-box__inner { display: flex; align-items: flex-start; gap: 1rem; }
.post-author-box__avatar {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
}
.post-author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-author-box__name { font-family: var(--font-heading); font-weight: 700; color: var(--ink-900); }
.post-author-box__bio { margin-top: .25rem; font-size: .875rem; line-height: 1.65; color: var(--ink-600); }

/* Related posts */
.related-section {
  border-top: 1px solid var(--ink-200);
  background: var(--ink-50);
}
.related-section .container { padding-block: 3rem; }
.related-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================ */
.archive-header {
  background: #fff;
  border-bottom: 1px solid var(--ink-200);
}
.archive-header .container { padding-block: 2rem; }
.archive-header__cat {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink-900);
}
.archive-header__count { margin-top: .375rem; font-size: .875rem; color: var(--ink-500); }
.archive-header__breadcrumb { margin-bottom: .75rem; font-size: .875rem; color: var(--ink-500); }
.archive-header__breadcrumb a { color: var(--ink-500); transition: color .2s; }
.archive-header__breadcrumb a:hover { color: var(--brand-700); }

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-header {
  background: #fff;
  border-bottom: 1px solid var(--ink-200);
}
.search-header .container { padding-block: 2rem; }
.search-form {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
  max-width: 40rem;
}
.search-form__input {
  flex: 1;
  border: 2px solid var(--ink-200);
  border-radius: var(--radius-xl);
  background: var(--ink-50);
  padding: .75rem 1.25rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink-800);
  transition: border-color .2s;
}
.search-form__input:focus { outline: none; border-color: var(--brand-500); background: #fff; }
.search-form__btn {
  padding: .75rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--brand-700);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background .2s;
}
.search-form__btn:hover { background: var(--brand-800); }

.no-results {
  text-align: center;
  padding-block: 4rem;
  color: var(--ink-500);
  font-size: .9375rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--ink-200);
  background: var(--ink-900);
  color: var(--ink-300);
}
.site-footer .container { padding-block: 3.5rem; }
.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; } }

.footer-brand .site-logo__name { color: #fff; }
.footer-brand .site-logo__tagline { color: var(--ink-500); }
.footer-desc { margin-top: 1rem; font-size: .875rem; line-height: 1.65; color: var(--ink-400); }
.footer-social { margin-top: 1.25rem; display: flex; gap: .5rem; }
.footer-social__btn {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--ink-800);
  color: var(--ink-300);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.footer-social__btn:hover { background: var(--brand-700); color: #fff; }
.footer-social__btn svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
}
.footer-col ul { margin-top: 1rem; display: flex; flex-direction: column; gap: .625rem; }
.footer-col ul a { font-size: .875rem; color: var(--ink-400); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }

.footer-newsletter p { margin-top: 1rem; font-size: .875rem; color: var(--ink-400); }
.newsletter-form { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.newsletter-form__input {
  width: 100%;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  padding: .625rem 1rem;
  font-size: .875rem;
  color: #fff;
  font-family: var(--font-body);
}
.newsletter-form__input::placeholder { color: var(--ink-500); }
.newsletter-form__input:focus { outline: none; border-color: var(--brand-500); }
.newsletter-form__btn {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--brand-700);
  color: #fff;
  border: none;
  padding: .625rem;
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form__btn:hover { background: var(--brand-600); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .75rem;
  color: var(--ink-500);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom a { color: var(--ink-600); transition: color .2s; }
.footer-bottom a:hover { color: var(--ink-400); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding-top: 2.5rem;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid var(--ink-200);
  background: #fff;
  color: var(--ink-700);
  transition: background .2s, color .2s, border-color .2s;
  padding-inline: .5rem;
}
.pagination a:hover { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-700); }
.pagination .current { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-dot { color: var(--ink-400); }
.btn-more {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 700;
  color: var(--brand-700);
  transition: color .2s;
}
.btn-more:hover { color: var(--brand-800); }
.btn-more svg { width: 14px; height: 14px; transition: transform .2s; }
.btn-more:hover svg { transform: translateX(3px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fade-in-up .5s ease-out both; }

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.wp-caption { max-width: 100%; margin-bottom: 1.5rem; }
.wp-caption-text { font-size: .8125rem; color: var(--ink-500); text-align: center; margin-top: .5rem; }
.alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 1.5rem 0; }

/* WP Block styles */
.wp-block-image img { border-radius: var(--radius-xl); }
.wp-block-pullquote { border-top: 4px solid var(--brand-700); border-bottom: 4px solid var(--brand-700); padding-block: 1.5rem; text-align: center; margin-block: 2rem; }
.wp-block-pullquote p { font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; color: var(--ink-800); }

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
.reading-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-600, #ef4444));
  transition: width .1s linear;
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--brand-700);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 500;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover { background: var(--brand-800); }
.scroll-top-btn svg { width: 20px; height: 20px; }

/* ============================================================
   SOCIAL SHARE BUTTONS (single post)
   ============================================================ */
.post-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
  color: #fff;
}
.share-btn:hover { opacity: .85; transform: translateY(-2px); }
.share-btn--fb   { background: #1877f2; }
.share-btn--tw   { background: #000; }
.share-btn--wa   { background: #25d366; }
.share-btn--copy { background: var(--ink-600); }
.share-btn--print { background: var(--ink-400); }

/* ============================================================
   BREADCRUMB SEPARATOR
   ============================================================ */
.post-breadcrumb__sep { color: var(--ink-400); margin-inline: .25rem; font-size: .75rem; }
.post-breadcrumb { display: flex; align-items: center; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-section {
  padding-block: 3rem;
  border-top: 1px solid var(--ink-200);
  margin-top: 2rem;
}
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .comment { margin-bottom: 2rem; }
.comment-author { font-weight: 700; color: var(--ink-900); font-family: var(--font-heading); }
.comment-meta { font-size: .8125rem; color: var(--ink-500); margin-bottom: .5rem; }
.comment-body p { margin-bottom: .75rem; }
.comment-reply-link {
  font-size: .8125rem; font-weight: 700;
  color: var(--brand-700);
  display: inline-flex; align-items: center; gap: .25rem;
}
#respond h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--ink-900); }
#respond input[type="text"],
#respond input[type="email"],
#respond textarea {
  width: 100%; padding: .625rem .875rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--ink-900);
  background: #fff;
  margin-bottom: 1rem;
  transition: border-color .2s;
}
#respond input:focus, #respond textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb,220,38,38),.1);
}
#respond textarea { min-height: 140px; resize: vertical; }
#respond .submit {
  background: var(--brand-700);
  color: #fff;
  border: none;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
#respond .submit:hover { background: var(--brand-800); }

/* ============================================================
   HEADER SCROLLED STATE
   ============================================================ */
.site-header.scrolled .header-main {
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

/* ============================================================
   POST TAGS (the_tags)
   ============================================================ */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-100);
}
.post-tags__label { font-size: .8125rem; font-weight: 700; color: var(--ink-500); }
.post-tags a {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: var(--ink-100);
  color: var(--ink-700);
  font-size: .8125rem;
  font-weight: 600;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.post-tags a:hover { background: var(--brand-50); color: var(--brand-700); }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header, .breaking-ticker, .related-section,
  .comments-section, .post-share-row, .scroll-top-btn,
  .reading-progress-track, .site-footer, .header-nav,
  .post-breadcrumb { display: none !important; }
  .post-body { font-size: 12pt; line-height: 1.7; }
  .post-title { font-size: 22pt; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #666; }
  img { max-width: 100% !important; page-break-inside: avoid; }
}


/* ============================================================
   ★ REACT-LIKE ENHANCEMENTS — v1.1
   ============================================================ */

/* ── 1. SMOOTH TRANSITIONS EVERYWHERE ── */
*, *::before, *::after {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card,
.cat-list-item,
.popular-item,
.video-card,
.hero-main,
.hero-secondary {
  will-change: transform;
}

.article-card {
  border-radius: var(--radius-xl);
  padding: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
}

/* ── 2. CATEGORY SECTIONS — COLUMN LAYOUT (React-like card grid) ── */
.cat-sections {
  padding-block: 2rem 4rem;
  background: var(--ink-50);
}

.cat-section {
  margin-top: 2.5rem;
  background: #fff;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.cat-section:first-child { margin-top: 0; }
.cat-section:hover { box-shadow: 0 4px 24px rgba(0,0,0,.06); }

.cat-section > .section-head {
  padding: 1.25rem 1.5rem .75rem;
  margin-bottom: 0;
  border-bottom: none;
  border-left: 4px solid var(--brand-700);
  background: #fff;
}
.cat-section > .section-head h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-900);
}

.cat-section__grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .cat-section__grid {
    grid-template-columns: 2fr 3fr;
  }
}

/* Lead article in category — left column */
.cat-section__grid > .article-card {
  padding: 1.25rem 1.5rem 1.25rem;
  border-right: 1px solid var(--ink-100);
  border-radius: 0;
  transition: background 0.2s;
}
.cat-section__grid > .article-card:hover {
  background: var(--ink-50);
  transform: none;
  box-shadow: none;
}
.cat-section__grid > .article-card .article-card__title {
  font-size: 1.25rem;
  -webkit-line-clamp: 3;
}
.cat-section__grid > .article-card .article-card__img-wrap {
  border-radius: var(--radius-lg);
}

/* List column — right side */
.cat-section__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.cat-list-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--ink-100);
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: background 0.18s;
}
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover {
  background: var(--brand-50);
}

/* Numbered bullet for list items */
.cat-list-item::before {
  content: counter(cat-item);
  counter-increment: cat-item;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-500);
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  transition: background 0.2s, color 0.2s;
}
.cat-list-item:hover::before {
  background: var(--brand-700);
  color: #fff;
}
.cat-section__list { counter-reset: cat-item; }

.cat-list-item__title {
  font-size: .9375rem;
  font-weight: 700;
  -webkit-line-clamp: 2;
  line-height: 1.4;
}
.cat-list-item__excerpt { display: none; }

.cat-list-item__thumb {
  flex-shrink: 0;
  width: 5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-100);
}
.cat-list-item__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.cat-list-item:hover .cat-list-item__thumb img { transform: scale(1.08); }

/* ── 3. POPULAR / SIDEBAR — REDESIGNED ── */
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-100);
  overflow: hidden;
}

.popular-item {
  display: flex;
  gap: .875rem;
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--ink-100);
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
  transition: background 0.18s;
  position: relative;
}
.popular-item:last-child { border-bottom: none; }
.popular-item:hover { background: var(--brand-50); }

.popular-item__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--ink-100);
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 800;
  color: var(--ink-600);
  transition: background 0.2s, color 0.2s;
}
/* Top 3 get brand accent */
.popular-item:nth-child(1) .popular-item__num { background: var(--brand-700); color: #fff; }
.popular-item:nth-child(2) .popular-item__num { background: var(--brand-100); color: var(--brand-800); }
.popular-item:nth-child(3) .popular-item__num { background: var(--brand-50); color: var(--brand-700); }

.popular-item__cat {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand-600);
}
.popular-item__title {
  margin-top: .2rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-900);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.popular-item:hover .popular-item__title { color: var(--brand-700); }

/* ── 4. SECTION HEADS — PILL TAB STYLE ── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink-100);
  padding-bottom: .875rem;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ink-900);
  position: relative;
  padding-bottom: .875rem;
  margin-bottom: -.875rem;
}
.section-head h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-700);
}

/* ── 5. ARTICLES GRID — 3 COLUMNS ON LARGE SCREENS ── */
@media (min-width: 900px) {
  .articles-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ── 6. FONT WEIGHT BOOST FOR BANGLA CLARITY ── */
body {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.article-card__title,
.cat-list-item__title,
.popular-item__title,
.hero-main__title,
.hero-secondary__title {
  font-feature-settings: "kern" 1;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── 7. CARD HOVER — LINK UNDERLINE EFFECT ── */
.article-card__title,
.cat-list-item__title {
  background-image: linear-gradient(var(--brand-700), var(--brand-700));
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  background-position: 0 100%;
  transition: background-size 0.3s ease, color 0.2s;
}
.article-card:hover .article-card__title,
.cat-list-item:hover .cat-list-item__title {
  background-size: 100% 1.5px;
}

/* ── 8. SKELETON LOADING SHIMMER (React-like UX) ── */
@keyframes shimmer {
  0%   { background-position: -700px 0; }
  100% { background-position: 700px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--ink-100) 25%, var(--ink-50) 50%, var(--ink-100) 75%);
  background-size: 700px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ── 9. SMOOTH SCROLL REVEAL ── */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cat-section {
  animation: slide-up 0.4s ease-out both;
}
.cat-section:nth-child(2) { animation-delay: 0.06s; }
.cat-section:nth-child(3) { animation-delay: 0.12s; }
.cat-section:nth-child(4) { animation-delay: 0.18s; }

/* ── 10. HEADER NAV — ACTIVE INDICATOR ── */
.header-nav__item.current-menu-item {
  color: var(--brand-700);
  font-weight: 700;
}

/* ── 11. CONTENT AREA SPACING ── */
.content-area {
  padding-block: 2.5rem;
}
.content-sidebar-grid {
  gap: 2rem;
}

/* ── 12. ASIDE SECTION HEAD ── */
aside .section-head h2 {
  font-size: 1.125rem;
}


/* ── 13. SIDEBAR CATEGORIES ── */
.sidebar-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: 2rem;
}
.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .625rem .875rem;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink-700);
  font-size: .8125rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.sidebar-cat-item:hover {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-700);
  transform: translateY(-1px);
}
.sidebar-cat-item__count {
  font-size: .7rem;
  font-weight: 700;
  background: var(--ink-100);
  color: var(--ink-500);
  border-radius: 9999px;
  padding: .1rem .45rem;
  transition: background 0.18s, color 0.18s;
}
.sidebar-cat-item:hover .sidebar-cat-item__count {
  background: var(--brand-100);
  color: var(--brand-700);
}

/* ── 14. POPULAR ITEM BODY ── */
.popular-item__body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.popular-item__date {
  font-size: .6875rem;
  color: var(--ink-400);
  margin-top: .1rem;
}


/* ============================================================
   ★ SMOOTH SCROLL & PERFORMANCE — v1.2
   ============================================================ */

/* Native smooth scroll */
html {
  scroll-behavior: smooth;
}

/* GPU-accelerated scroll for sticky header */
.site-header {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Momentum scrolling on iOS */
body {
  -webkit-overflow-scrolling: touch;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Scroll snap for hero section feel */
.hero-section {
  scroll-margin-top: 60px;
}

/* Optimized img rendering */
img {
  image-rendering: auto;
  content-visibility: auto;
}

/* Overscroll bounce containment */
.mobile-menu__panel {
  overscroll-behavior: contain;
}

/* Popular item date — remove (sidebar clean) */
.popular-item__date {
  display: none;
}

/* archive header — cleaner spacing */
.archive-header .container {
  padding-block: 1.5rem 1.25rem;
}
.archive-header__cat {
  font-size: 1.75rem;
  position: relative;
  padding-bottom: .75rem;
}
.archive-header__cat::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 3rem; height: 3px;
  background: var(--brand-700);
  border-radius: 2px;
}


/* ============================================================
   ★ v1.3 FIXES
   ============================================================ */

/* ── 1. SCROLL হলে category nav লুকাবে ── */
.header-nav {
  transition: max-height 0.25s cubic-bezier(0.4,0,0.2,1),
              opacity    0.2s  cubic-bezier(0.4,0,0.2,1);
  max-height: 3rem;
  opacity: 1;
  overflow: hidden;
}
.site-header.scrolled .header-nav {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

/* ── 2. নির্বাচিত সাইডবার — সম্পূর্ণ ডিজাইন ── */

/* Wrapper card */
.popular-list {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

/* প্রতিটি আইটেম */
.popular-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .75rem;
  align-items: start;
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--ink-100);
  text-decoration: none;
  color: inherit;
  transition: background 0.16s;
  position: relative;
}
.popular-item:last-child { border-bottom: none; }
.popular-item:hover { background: var(--brand-50); }

/* নম্বর ব্যাজ */
.popular-item__num {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: .15rem;
}
/* ১ম — লাল ভরা */
.popular-item:nth-child(1) .popular-item__num {
  background: var(--brand-700);
  color: #fff;
  box-shadow: 0 2px 6px rgba(185,28,28,.35);
}
/* ২য় — হালকা লাল */
.popular-item:nth-child(2) .popular-item__num {
  background: var(--brand-100);
  color: var(--brand-800);
}
/* ৩য় — একদম হালকা */
.popular-item:nth-child(3) .popular-item__num {
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
}
/* বাকিগুলো — ধূসর */
.popular-item:nth-child(n+4) .popular-item__num {
  background: var(--ink-100);
  color: var(--ink-500);
}

/* body */
.popular-item__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

/* ক্যাটাগরি ট্যাগ */
.popular-item__cat {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--brand-600);
  line-height: 1;
}

/* শিরোনাম */
.popular-item__title {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
  word-break: break-word;
}
.popular-item:hover .popular-item__title {
  color: var(--brand-700);
}

/* ডান দিকের arrow hint */
.popular-item::after {
  content: '›';
  position: absolute;
  right: .875rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--ink-300);
  transition: color 0.18s, transform 0.18s;
  line-height: 1;
}
.popular-item:hover::after {
  color: var(--brand-600);
  transform: translateY(-50%) translateX(2px);
}


/* active category in archive sidebar */
.sidebar-cat-item--active {
  background: var(--brand-50);
  border-color: var(--brand-300);
  color: var(--brand-700);
  font-weight: 700;
}
.sidebar-cat-item--active .sidebar-cat-item__count {
  background: var(--brand-100);
  color: var(--brand-700);
}

/* ============================================================
   ★ UNIQUE CATEGORY LAYOUTS — v1.6
   ============================================================ */

/* ── SHARED ── */
.dcat { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--ink-100); background: #fff; margin-bottom: 2rem; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.dcat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcat__more-bar { border-top: 1px solid var(--ink-100); padding: .625rem 1.25rem; text-align: center; }
.dcat__more-bar a { font-size: .75rem; font-weight: 700; color: var(--brand-700); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.dcat__more-bar a:hover { color: var(--brand-900); }

/* ══ 1. দ্য এক্সপোস ══ */
.dcat--expose .dcat-expose__hero { position: relative; display: block; height: 200px; text-decoration: none; overflow: hidden; }
.dcat--expose .dcat-expose__hero .dcat-img, .dcat--expose .dcat-expose__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dcat-expose__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.1) 65%, transparent 100%); }
.dcat-expose__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.25rem; z-index: 2; }
.dcat-expose__badge { background: var(--brand-700); color: #fff; font-size: .6rem; font-weight: 700; padding: .2rem .55rem; border-radius: 3px; letter-spacing: .06em; text-transform: uppercase; display: inline-block; margin-bottom: .4rem; }
.dcat-expose__title { color: #fff; font-size: 1.0625rem; font-weight: 800; line-height: 1.35; }
.dcat-expose__sub { color: rgba(255,255,255,.7); font-size: .72rem; margin-top: .3rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcat-expose__row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink-100); }
.dcat-expose__mini { display: flex; flex-direction: column; border-right: 1px solid var(--ink-100); text-decoration: none; transition: background .15s; }
.dcat-expose__mini:last-child { border-right: none; }
.dcat-expose__mini:hover { background: var(--ink-50); }
.dcat-expose__mini-img { width: 100%; height: 80px; object-fit: cover; display: block; }
.dcat-expose__mini-body { padding: .625rem .875rem; }
.dcat-expose__mini-cat { font-size: .6rem; font-weight: 700; color: var(--brand-700); text-transform: uppercase; letter-spacing: .06em; }
.dcat-expose__mini-title { font-size: .775rem; font-weight: 700; color: var(--ink-900); line-height: 1.4; margin-top: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ══ 2. রাজনীতি ══ */
.dcat--rajnoiti { border: none; }
.dcat-rajnoiti__head { background: #1a1a2e; padding: .875rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.dcat-rajnoiti__head h2 { color: #fff; font-size: 1rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.dcat-rajnoiti__head h2::before { content: ''; display: block; width: 3px; height: 1rem; background: var(--brand-700); border-radius: 2px; }
.dcat-rajnoiti__head a { font-size: .65rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.dcat-rajnoiti__grid { display: grid; grid-template-columns: 5fr 4fr; }
.dcat-rajnoiti__lead { position: relative; display: block; text-decoration: none; overflow: hidden; }
.dcat-rajnoiti__lead img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.dcat-rajnoiti__lead-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 55%); }
.dcat-rajnoiti__lead-body { position: absolute; bottom: 0; left: 0; right: 0; padding: .875rem 1rem; z-index: 2; }
.dcat-rajnoiti__lead-cat { font-size: .6rem; font-weight: 700; color: #f87171; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: .3rem; }
.dcat-rajnoiti__lead-title { color: #fff; font-size: .9375rem; font-weight: 800; line-height: 1.38; }
.dcat-rajnoiti__list { display: flex; flex-direction: column; border-left: 1px solid var(--ink-100); background: #fff; }
.dcat-rajnoiti__item { display: flex; gap: .625rem; padding: .7rem .875rem; border-bottom: 1px solid var(--ink-100); text-decoration: none; align-items: flex-start; transition: background .15s; }
.dcat-rajnoiti__item:last-child { border-bottom: none; }
.dcat-rajnoiti__item:hover { background: #f8fafc; }
.dcat-rajnoiti__item-img { width: 3.5rem; height: 2.625rem; border-radius: .375rem; object-fit: cover; flex-shrink: 0; }
.dcat-rajnoiti__item-cat { font-size: .6rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; }
.dcat-rajnoiti__item-title { font-size: .775rem; font-weight: 700; color: var(--ink-900); line-height: 1.4; margin-top: .1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcat-rajnoiti__item:hover .dcat-rajnoiti__item-title { color: #1a1a2e; }

/* ══ 3. অর্থনীতি ══ */
.dcat--ortho { border: none; }
.dcat-ortho__head { background: linear-gradient(90deg, #064e3b, #065f46); padding: .875rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.dcat-ortho__head h2 { color: #fff; font-size: 1rem; font-weight: 800; }
.dcat-ortho__head a { font-size: .65rem; color: #6ee7b7; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.dcat-ortho__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.dcat-ortho__stat { background: #fff; padding: .625rem .875rem; text-align: center; }
.dcat-ortho__stat-val { font-size: 1.0625rem; font-weight: 800; color: #065f46; }
.dcat-ortho__stat-label { font-size: .625rem; color: var(--ink-500); margin-top: .1rem; }
.dcat-ortho__stat-change { font-size: .625rem; font-weight: 700; color: #059669; margin-top: .08rem; }
.dcat-ortho__body { display: grid; grid-template-columns: 5fr 4fr; background: #fff; }
.dcat-ortho__lead { position: relative; display: block; text-decoration: none; overflow: hidden; }
.dcat-ortho__lead img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; display: block; }
.dcat-ortho__lead-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,50,37,.9) 0%, transparent 55%); }
.dcat-ortho__lead-body { position: absolute; bottom: 0; left: 0; right: 0; padding: .875rem 1rem; z-index: 2; }
.dcat-ortho__lead-cat { font-size: .6rem; font-weight: 700; color: #6ee7b7; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: .3rem; }
.dcat-ortho__lead-title { color: #fff; font-size: .9375rem; font-weight: 800; line-height: 1.38; }
.dcat-ortho__list { display: flex; flex-direction: column; border-left: 1px solid var(--ink-100); }
.dcat-ortho__item { display: flex; gap: .625rem; padding: .65rem .875rem; border-bottom: 1px solid var(--ink-100); text-decoration: none; align-items: center; transition: background .15s; }
.dcat-ortho__item:last-child { border-bottom: none; }
.dcat-ortho__item:hover { background: #f0fdf4; }
.dcat-ortho__item-img { width: 3.5rem; height: 2.625rem; border-radius: .375rem; object-fit: cover; flex-shrink: 0; }
.dcat-ortho__item-tag { font-size: .6rem; font-weight: 700; color: #059669; text-transform: uppercase; letter-spacing: .05em; display: block; }
.dcat-ortho__item-title { font-size: .775rem; font-weight: 700; color: var(--ink-900); line-height: 1.38; margin-top: .1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ══ 4. সংবাদ ══ */
.dcat-songbad__head { border-bottom: 3px double var(--ink-900); padding: .75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.dcat-songbad__head h2 { font-size: 1rem; font-weight: 800; color: var(--ink-900); }
.dcat-songbad__head a { font-size: .65rem; color: var(--brand-700); font-weight: 700; text-transform: uppercase; text-decoration: none; }
.dcat-songbad__top { display: grid; grid-template-columns: 3fr 2fr; border-bottom: 1px solid var(--ink-100); }
.dcat-songbad__lead { position: relative; display: block; text-decoration: none; overflow: hidden; min-height: 180px; }
.dcat-songbad__lead img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.dcat-songbad__lead-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 50%); }
.dcat-songbad__lead-body { position: absolute; bottom: 0; left: 0; right: 0; padding: .875rem 1rem; z-index: 2; }
.dcat-songbad__lead-title { color: #fff; font-size: .9375rem; font-weight: 800; line-height: 1.38; }
.dcat-songbad__lead-excerpt { color: rgba(255,255,255,.75); font-size: .7rem; margin-top: .3rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcat-songbad__right { display: flex; flex-direction: column; border-left: 1px solid var(--ink-100); }
.dcat-songbad__right-item { display: flex; flex-direction: column; padding: .75rem 1rem; border-bottom: 1px solid var(--ink-100); text-decoration: none; flex: 1; transition: background .15s; }
.dcat-songbad__right-item:last-child { border-bottom: none; }
.dcat-songbad__right-item:hover { background: var(--ink-50); }
.dcat-songbad__right-img { width: 100%; height: 65px; object-fit: cover; border-radius: .375rem; display: block; margin-bottom: .5rem; }
.dcat-songbad__right-cat { font-size: .6rem; font-weight: 700; color: var(--brand-700); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.dcat-songbad__right-title { font-size: .775rem; font-weight: 700; color: var(--ink-900); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcat-songbad__bottom { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink-100); }
.dcat-songbad__mini { display: flex; gap: .625rem; padding: .75rem 1rem; border-right: 1px solid var(--ink-100); text-decoration: none; align-items: flex-start; transition: background .15s; }
.dcat-songbad__mini:last-child { border-right: none; }
.dcat-songbad__mini:hover { background: var(--ink-50); }
.dcat-songbad__mini-img { width: 3rem; height: 2.25rem; object-fit: cover; border-radius: .375rem; flex-shrink: 0; }
.dcat-songbad__mini-cat { font-size: .58rem; font-weight: 700; color: var(--brand-700); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: .15rem; }
.dcat-songbad__mini-title { font-size: .72rem; font-weight: 700; color: var(--ink-900); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ══ 5. স্বাস্থ্য ══ */
.dcat-shasthyo__head { background: #f0fdf4; border-bottom: 1px solid #bbf7d0; padding: .875rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.dcat-shasthyo__head h2 { font-size: 1rem; font-weight: 800; color: #14532d; }
.dcat-shasthyo__head a { font-size: .65rem; color: #16a34a; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.dcat-shasthyo__body { display: grid; grid-template-columns: 1fr 1fr; }
.dcat-shasthyo__main { border-right: 1px solid #d1fae5; }
.dcat-shasthyo__main img { width: 100%; height: 120px; object-fit: cover; display: block; }
.dcat-shasthyo__main-body { padding: .75rem 1rem; }
.dcat-shasthyo__main-title { font-size: .875rem; font-weight: 800; color: #14532d; line-height: 1.4; }
.dcat-shasthyo__main-excerpt { font-size: .7rem; color: var(--ink-500); line-height: 1.55; margin-top: .35rem; }
.dcat-shasthyo__tips { padding: .75rem 1rem; display: flex; flex-direction: column; gap: .5rem; }
.dcat-shasthyo__tip { display: flex; align-items: flex-start; gap: .625rem; padding: .5rem .625rem; background: #f0fdf4; border-radius: .5rem; text-decoration: none; transition: background .15s; }
.dcat-shasthyo__tip:hover { background: #dcfce7; }
.dcat-shasthyo__tip-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #16a34a; flex-shrink: 0; margin-top: .3rem; }
.dcat-shasthyo__tip-text { font-size: .775rem; font-weight: 700; color: #14532d; line-height: 1.4; }

/* ══ 6. খেলাধুলা ══ */
.dcat--khela { background: #111; border-color: #1e1e1e; }
.dcat-khela__head { background: #111; border-bottom: 2px solid #f59e0b; padding: .875rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.dcat-khela__head h2 { color: #f59e0b; font-size: 1rem; font-weight: 800; }
.dcat-khela__head a { font-size: .65rem; color: #6b7280; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.dcat-khela__live-strip { background: #1a1a1a; padding: .625rem 1.25rem; border-bottom: 1px solid #222; display: flex; gap: .75rem; align-items: center; overflow-x: auto; scrollbar-width: none; }
.dcat-khela__live-strip::-webkit-scrollbar { display: none; }
.dcat-khela__live-badge { background: #ef4444; color: #fff; font-size: .6rem; font-weight: 800; padding: .2rem .55rem; border-radius: 3px; letter-spacing: .06em; animation: dcat-pulse 1.5s infinite; flex-shrink: 0; }
@keyframes dcat-pulse { 0%,100%{opacity:1;} 50%{opacity:.5;} }
.dcat-khela__match { display: flex; align-items: center; gap: .5rem; background: #222; border-radius: .5rem; padding: .375rem .75rem; flex-shrink: 0; }
.dcat-khela__match-teams { font-size: .72rem; font-weight: 800; color: #e5e7eb; }
.dcat-khela__match-teams em { font-style: normal; color: #6b7280; font-size: .65rem; margin: 0 .2rem; }
.dcat-khela__match-score { font-size: .9rem; font-weight: 800; color: #f59e0b; min-width: 3.5rem; text-align: center; }
.dcat-khela__match-info { font-size: .6rem; color: #6b7280; }
.dcat-khela__body { display: grid; grid-template-columns: 5fr 4fr; }
.dcat-khela__lead { position: relative; display: block; text-decoration: none; overflow: hidden; }
.dcat-khela__lead img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.dcat-khela__lead-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 55%); }
.dcat-khela__lead-body { position: absolute; bottom: 0; left: 0; right: 0; padding: .875rem 1rem; z-index: 2; }
.dcat-khela__lead-cat { font-size: .6rem; font-weight: 700; color: #f59e0b; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: .3rem; }
.dcat-khela__lead-title { color: #fff; font-size: .9375rem; font-weight: 800; line-height: 1.38; }
.dcat-khela__list { display: flex; flex-direction: column; border-left: 1px solid #1e1e1e; }
.dcat-khela__item { display: flex; gap: .625rem; padding: .7rem .875rem; border-bottom: 1px solid #1e1e1e; text-decoration: none; align-items: flex-start; transition: background .15s; }
.dcat-khela__item:last-child { border-bottom: none; }
.dcat-khela__item:hover { background: #1a1a1a; }
.dcat-khela__item-img { width: 3.5rem; height: 2.625rem; border-radius: .375rem; object-fit: cover; flex-shrink: 0; }
.dcat-khela__item-cat { font-size: .6rem; font-weight: 700; color: #f59e0b; text-transform: uppercase; letter-spacing: .06em; }
.dcat-khela__item-title { font-size: .775rem; font-weight: 700; color: #e5e7eb; line-height: 1.4; margin-top: .1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ══ 7. প্রযুক্তি ══ */
.dcat-tech__head { background: #f8fafc; border-bottom: 1px solid var(--ink-100); padding: .875rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.dcat-tech__head h2 { font-size: 1rem; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: .5rem; }
.dcat-tech__head h2 code { font-size: .65rem; background: #ede9fe; color: #7c3aed; padding: .15rem .4rem; border-radius: .25rem; font-family: monospace; font-weight: 700; }
.dcat-tech__head a { font-size: .65rem; color: #7c3aed; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.dcat-tech__lead { position: relative; display: block; text-decoration: none; overflow: hidden; }
.dcat-tech__lead img { width: 100%; height: 170px; object-fit: cover; display: block; }
.dcat-tech__lead-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.88) 0%, transparent 55%); }
.dcat-tech__lead-body { position: absolute; bottom: 0; left: 0; right: 0; padding: .875rem 1rem; z-index: 2; }
.dcat-tech__lead-cat { font-size: .6rem; font-weight: 700; color: #c4b5fd; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: .3rem; }
.dcat-tech__lead-title { color: #fff; font-size: .9375rem; font-weight: 800; line-height: 1.38; }
.dcat-tech__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink-100); }
.dcat-tech__card { padding: .875rem 1rem; border-right: 1px solid var(--ink-100); text-decoration: none; display: flex; flex-direction: column; gap: .35rem; transition: background .15s; }
.dcat-tech__card:last-child { border-right: none; }
.dcat-tech__card:hover { background: #faf5ff; }
.dcat-tech__card-img { width: 100%; height: 60px; object-fit: cover; border-radius: .375rem; display: block; margin-bottom: .2rem; }
.dcat-tech__card-tag { font-size: .6rem; font-weight: 700; color: #7c3aed; background: #ede9fe; padding: .15rem .4rem; border-radius: .25rem; display: inline-block; }
.dcat-tech__card-title { font-size: .775rem; font-weight: 700; color: #0f172a; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ══ Default fallback ══ */
.dcat-default__head { padding: .875rem 1.25rem; border-bottom: 2px solid var(--brand-700); display: flex; align-items: center; justify-content: space-between; }
.dcat-default__head h2 { font-size: 1rem; font-weight: 800; color: var(--ink-900); }
.dcat-default__head a { font-size: .65rem; color: var(--brand-700); font-weight: 700; text-transform: uppercase; text-decoration: none; }
.dcat-default__grid { display: grid; grid-template-columns: 5fr 4fr; }
.dcat-default__lead { position: relative; display: block; text-decoration: none; overflow: hidden; }
.dcat-default__lead img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.dcat-default__lead-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 55%); }
.dcat-default__lead-body { position: absolute; bottom: 0; left: 0; right: 0; padding: .875rem 1rem; z-index: 2; }
.dcat-default__lead-title { color: #fff; font-size: .9375rem; font-weight: 800; line-height: 1.38; }
.dcat-default__list { border-left: 1px solid var(--ink-100); display: flex; flex-direction: column; }
.dcat-default__item { display: flex; gap: .625rem; padding: .7rem .875rem; border-bottom: 1px solid var(--ink-100); text-decoration: none; align-items: center; transition: background .15s; }
.dcat-default__item:last-child { border-bottom: none; }
.dcat-default__item:hover { background: var(--ink-50); }
.dcat-default__item-img { width: 3.5rem; height: 2.625rem; border-radius: .375rem; object-fit: cover; flex-shrink: 0; }
.dcat-default__item-title { font-size: .8rem; font-weight: 700; color: var(--ink-900); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


/* ── Responsive: Category layouts mobile ── */
@media (max-width: 768px) {
  .dcat-rajnoiti__grid,
  .dcat-ortho__body,
  .dcat-songbad__top,
  .dcat-shasthyo__body,
  .dcat-khela__body,
  .dcat--expose .dcat-expose__row { grid-template-columns: 1fr; }
  .dcat-expose__row { grid-template-columns: 1fr 1fr; }
  .dcat-songbad__bottom { grid-template-columns: 1fr 1fr; }
  .dcat-tech__grid { grid-template-columns: 1fr 1fr; }
  .dcat-rajnoiti__lead img,
  .dcat-ortho__lead img,
  .dcat-khela__lead img { min-height: 160px; }
  .dcat-songbad__right { flex-direction: row; border-left: none; border-top: 1px solid var(--ink-100); }
  .dcat-songbad__right-item { border-right: 1px solid var(--ink-100); border-bottom: none; }
  .dcat-songbad__right-item:last-child { border-right: none; }
}
@media (max-width: 480px) {
  .dcat-expose__row,
  .dcat-songbad__bottom,
  .dcat-tech__grid { grid-template-columns: 1fr; }
  .dcat-ortho__stats { grid-template-columns: repeat(3,1fr); }
}
