/* ==========================================================
 * CodingBurg Bangla News Portal - Elite Newspaper Stylesheet
 * Benchmarked against Prothom Alo, The Daily Star & Somoy News
 * ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@300;400;500;600;700;800&family=Hind+Siliguri:wght@300;400;500;600;700&family=Noto+Serif+Bengali:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #c5161d;        /* Signature Prothom Alo Editorial Red */
  --primary-dark: #991b1b;
  --primary-light: #fef2f2;
  --secondary: #0f172a;      /* Deep Slate */
  --accent: #2563eb;         /* Royal Blue */
  --gold: #d97706;
  --text-main: #121212;      /* Authentic Newspaper High-Contrast Dark */
  --text-muted: #555555;     /* Balanced editorial secondary text */
  --text-light: #767676;     /* Meta & timestamps */
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-cream: #faf9f6;
  --border-color: #e5e5e5;   /* Crisp newspaper broadsheet hairline divider */
  --border-light: #f0f0f0;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --font-bangla: 'Anek Bangla', 'Hind Siliguri', 'SolaimanLipi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif-bangla: 'Noto Serif Bengali', 'SolaimanLipi', serif;
  --font-headline: 'Anek Bangla', 'Hind Siliguri', sans-serif;
  --transition: all 0.2s ease-in-out;
  --max-width: 1240px;
}

[data-theme="dark"] {
  --primary: #ef4444;
  --primary-dark: #dc2626;
  --primary-light: #2d1a1c;
  --secondary: #0f172a;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --bg-main: #0b0f19;
  --bg-subtle: #131b2e;
  --border-color: #1e293b;
  --card-bg: #151e34;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-bangla);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--text-main);
  letter-spacing: -0.2px;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ----------------------------------------------------------
 * Top Utility Bar
 * ---------------------------------------------------------- */
.top-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.84rem;
  padding: 0.45rem 0;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-tool {
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.btn-tool:hover {
  background-color: var(--border-color);
  color: var(--text-main);
}

.whatsapp-link {
  color: #128c7e;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(18, 140, 126, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.whatsapp-link:hover {
  background: rgba(18, 140, 126, 0.15);
  color: #075e54;
}

/* ----------------------------------------------------------
 * Main Header & Branding
 * ---------------------------------------------------------- */
.main-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-main);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-badge {
  background-color: var(--secondary);
  color: #fff;
  font-size: 1rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 800;
}

.brand-slogan {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-weight: 500;
}

.header-ad-zone {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-ad-zone img {
  max-height: 90px;
  width: auto;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s;
}

.header-ad-zone img:hover {
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
 * Sticky Main Navbar
 * ---------------------------------------------------------- */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-main);
  border-bottom: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
  display: none;
}

.nav-item {
  flex-shrink: 0;
}

.nav-link {
  display: block;
  padding: 0.75rem 0.95rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background-color: var(--bg-subtle);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.live-tv-badge {
  background: #dc2626;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  animation: live-blink 1s infinite alternate;
}

@keyframes live-blink {
  from { opacity: 0.2; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.2); }
}

.btn-nav-search {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.15rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.4rem;
}

/* ----------------------------------------------------------
 * Trending Topics Bar
 * ---------------------------------------------------------- */
.trending-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 0.35rem 0;
  font-size: 0.85rem;
}

.trending-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.trending-label {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.trending-pill {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}

.trending-pill:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ----------------------------------------------------------
 * Breaking News Ticker (ব্রেকিং নিউজ)
 * ---------------------------------------------------------- */
.breaking-bar {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 0.4rem 0;
  box-shadow: var(--shadow-sm);
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  overflow: hidden;
}

.breaking-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.25rem 0.8rem;
  border-radius: 4px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 4px rgba(197, 22, 29, 0.3);
}

.breaking-marquee-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.breaking-ticker-content {
  display: inline-block;
  animation: ticker-scroll 45s linear infinite;
  white-space: nowrap;
}

.breaking-ticker-content:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.breaking-item {
  display: inline-block;
  margin-right: 2.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
}

.breaking-item::before {
  content: "✦ ";
  color: var(--primary);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------
 * Ad Slots & Banners
 * ---------------------------------------------------------- */
.ad-slot {
  margin: 1.5rem auto;
  text-align: center;
  position: relative;
}

.ad-slot-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.ad-slot img {
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ad-slot img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ----------------------------------------------------------
 * Home Layout: Prothom Alo Signature Broadsheet 3-Column Hero
 * ---------------------------------------------------------- */
.pa-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 2.1fr 1.25fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
  margin-bottom: 2.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

/* 1. Left Column: Sub-leads with hairline broadsheet borders */
.pa-hero-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-right: 1px solid var(--border-color);
  padding-right: 1.25rem;
}

.pa-sub-lead-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.pa-sub-lead-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pa-sub-lead-card .pa-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 3px;
  background: #000;
  margin-bottom: 0.65rem;
}

.pa-sub-lead-card .pa-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pa-sub-lead-card:hover .pa-card-img img {
  transform: scale(1.04);
}

.pa-sub-lead-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 0.45rem;
  color: var(--text-main);
}

.pa-sub-lead-card h3 a:hover {
  color: var(--primary);
}

.pa-sub-lead-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.pa-sub-lead-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Text-only secondary sub-lead item */
.pa-text-sublead {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.pa-text-sublead:last-child {
  border-bottom: none;
}

.pa-text-sublead h4 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.pa-text-sublead h4 a:hover {
  color: var(--primary);
}

/* 2. Center Column: Main Lead Story (প্রধান খবর) */
.pa-hero-col-center {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
  padding-right: 1.25rem;
}

.pa-main-lead-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.pa-lead-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.9rem;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.pa-lead-title a:hover {
  color: var(--primary);
}

.pa-lead-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  margin-bottom: 0.9rem;
}

.pa-lead-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pa-lead-img-wrap:hover img {
  transform: scale(1.03);
}

.pa-lead-excerpt {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.pa-lead-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Secondary 2-split underneath the main lead */
.pa-center-subleads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pa-center-sublead-item:first-child {
  border-right: 1px solid var(--border-color);
  padding-right: 1.25rem;
}

.pa-center-sublead-item .pa-sub-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 3px;
  background: #000;
  margin-bottom: 0.5rem;
}

.pa-center-sublead-item .pa-sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pa-center-sublead-item:hover .pa-sub-img img {
  transform: scale(1.04);
}

.pa-center-sublead-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.pa-center-sublead-item h4 a:hover {
  color: var(--primary);
}

/* 3. Right Column: Tabs (Latest / Most Read) + Ad Slot */
.pa-hero-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pa-tabs-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.pa-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: #f9fafb;
}

.pa-tab-trigger {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: #4b5563;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.pa-tab-trigger.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
}

.pa-tab-pane {
  display: none;
  padding: 0.25rem 0.9rem;
}

.pa-tab-pane.active {
  display: block;
}

.pa-tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pa-tab-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-light);
  align-items: baseline;
}

.pa-tab-item:last-child {
  border-bottom: none;
}

.pa-tab-num {
  font-family: var(--font-bangla);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  line-height: 1;
}

.pa-tab-item h4 {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.25rem 0;
  color: #1f2937;
}

.pa-tab-item h4 a:hover {
  color: var(--primary);
}

.pa-tab-item .pa-tab-time {
  font-size: 0.75rem;
  color: var(--text-light);
}

.pa-tabs-footer {
  border-top: 1px solid var(--border-light);
  padding: 0.6rem;
  text-align: center;
  background: #f9fafb;
}

.pa-tabs-footer a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* ----------------------------------------------------------
 * Prothom Alo Broadsheet Category Sections (Pure Newspaper Look)
 * ---------------------------------------------------------- */
.pa-section {
  margin-bottom: 2.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.pa-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #111827;
  padding-bottom: 0.5rem;
  margin-bottom: 1.35rem;
}

.pa-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pa-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.pa-section-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 18px;
  background-color: var(--primary);
  border-radius: 2px;
}

.pa-section-subcats {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pa-section-subcat-link {
  font-size: 0.86rem;
  color: #4b5563;
  padding: 2px 8px;
  border-radius: 12px;
  background: #f3f4f6;
  font-weight: 600;
  transition: var(--transition);
}

.pa-section-subcat-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.pa-section-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.pa-section-more:hover {
  text-decoration: underline;
}

/* Horizontal Card (Headline Left + Image Right) - Signature Prothom Alo */
.pa-h-card {
  display: grid;
  grid-template-columns: 1fr 105px;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.pa-h-card:last-child {
  border-bottom: none;
}

.pa-h-card-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.35rem 0;
  color: #111827;
}

.pa-h-card-title a:hover {
  color: var(--primary);
}

.pa-h-card-img {
  width: 105px;
  height: 70px;
  overflow: hidden;
  border-radius: 3px;
  background: #000;
}

.pa-h-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pa-h-card:hover .pa-h-card-img img {
  transform: scale(1.05);
}

/* Standard 4-Column Broadsheet Grid */
.pa-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pa-grid-card {
  display: flex;
  flex-direction: column;
}

.pa-grid-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 0.65rem;
  border-radius: 3px;
  background: #000;
}

.pa-grid-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pa-grid-card:hover .pa-grid-card-img img {
  transform: scale(1.04);
}

.pa-grid-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 0.4rem;
  color: #111827;
}

.pa-grid-card-title a:hover {
  color: var(--primary);
}

.pa-grid-card-excerpt {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.pa-grid-card-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: auto;
  display: flex;
  justify-content: space-between;
}

/* Broadsheet Magazine Split: Feature Left + Stacked Right */
.pa-split-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.75rem;
}

.pa-split-lead {
  border-right: 1px solid var(--border-color);
  padding-right: 1.75rem;
  display: flex;
  flex-direction: column;
}

.pa-split-lead .pa-lead-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  margin-bottom: 0.85rem;
}

.pa-split-lead .pa-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pa-split-lead:hover .pa-lead-img img {
  transform: scale(1.03);
}

.pa-split-lead h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  color: #111827;
}

.pa-split-lead h3 a:hover {
  color: var(--primary);
}

.pa-split-lead p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Opinion Columnists Section (মতামত ও সম্পাদকীয়) */
.pa-opinion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pa-opinion-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 3px solid #78350f;
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.pa-opinion-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pa-opinion-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.pa-opinion-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #d97706;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  border: 2px solid #fde68a;
  flex-shrink: 0;
}

.pa-opinion-author-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #78350f;
  margin: 0;
}

.pa-opinion-author-role {
  font-size: 0.76rem;
  color: #b45309;
}

.pa-opinion-title {
  font-family: var(--font-serif-bangla);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.pa-opinion-title a:hover {
  color: var(--primary);
}

.pa-opinion-meta {
  font-size: 0.76rem;
  color: #92400e;
  border-top: 1px dashed #fde68a;
  padding-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

/* Live Market Ticker */
.pa-market-ticker {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  color: #0369a1;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  font-weight: 600;
}

/* Multimedia Visual Block */
.pa-multimedia-wrap {
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.75rem;
}

.pa-multimedia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
}

.pa-multimedia-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.pa-multimedia-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr;
  gap: 1.5rem;
}

.pa-lead-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  margin-bottom: 0.75rem;
}

.pa-lead-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.pa-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.7);
  cursor: pointer;
  transition: transform 0.2s;
}

.pa-lead-video:hover .pa-video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Two-column category split */
.category-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

/* ----------------------------------------------------------
 * Opinion / Editorial Column Section (মতামত ও সম্পাদকীয়)
 * ---------------------------------------------------------- */
.opinion-section-block {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 2.75rem;
  border: 1px solid var(--border-color);
}

.opinion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.opinion-card {
  background: var(--card-bg);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.opinion-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.opinion-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.opinion-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.opinion-author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.opinion-author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.opinion-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------
 * Video & Multimedia Section (Dark Themed)
 * ---------------------------------------------------------- */
.multimedia-section {
  background: linear-gradient(180deg, #090d16 0%, #1a233a 100%);
  color: #fff;
  border-radius: 12px;
  padding: 2.25rem 2rem;
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.multimedia-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.multimedia-header::after {
  background-color: #ef4444;
}

.multimedia-header .section-title {
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
}

.video-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.video-thumb-wrap {
  position: relative;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.video-card.lead-video .video-thumb-wrap {
  height: 310px;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb-wrap img {
  transform: scale(1.05);
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background-color: rgba(239, 68, 68, 0.95);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
  transition: transform 0.2s;
}

.video-card:hover .play-button-overlay {
  transform: translate(-50%, -50%) scale(1.15);
}

.video-card h4 {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
}

/* ----------------------------------------------------------
 * Public Opinion Poll Widget (জনমত জরিপ)
 * ---------------------------------------------------------- */
.poll-widget {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.poll-question {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.45;
  color: var(--text-main);
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.poll-option-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.poll-option-label:hover {
  background-color: var(--bg-subtle);
  border-color: var(--primary);
}

.btn-vote {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(197, 22, 29, 0.25);
  transition: var(--transition);
}

.btn-vote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(197, 22, 29, 0.35);
}

.poll-result-bar {
  margin-bottom: 0.75rem;
}

.poll-result-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.progress-track {
  height: 10px;
  background-color: var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------
 * Single Article Page Styling
 * ---------------------------------------------------------- */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.25rem;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}

.article-main {
  background-color: var(--card-bg);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.article-headline {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.reporter-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-subtle);
  color: var(--text-main);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

.share-btn:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.article-featured-image {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-featured-image img {
  width: 100%;
}

.image-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--primary);
}

.article-content {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 1.35rem;
}

.article-content p.lead {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.6;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background-color: var(--bg-subtle);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: 0 10px 10px 0;
}

.article-tags-wrap {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-badge {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.tag-badge:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ----------------------------------------------------------
 * Comments Section
 * ---------------------------------------------------------- */
.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.comment-form {
  background-color: var(--bg-subtle);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--card-bg);
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(197, 22, 29, 0.15);
}

.comment-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
}

.comment-author-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.comment-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
 * Agency Promo Banner (codingBurg.com)
 * ---------------------------------------------------------- */
.agency-feature-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.agency-badge {
  background: #f59e0b;
  color: #000;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.agency-cta-btn {
  background-color: #22c55e;
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: var(--transition);
}

.agency-cta-btn:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5);
}

/* ----------------------------------------------------------
 * Footer Styling
 * ---------------------------------------------------------- */
.main-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding-top: 3.5rem;
  border-top: 4px solid var(--primary);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom {
  background-color: #060911;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.agency-attribution {
  color: #cbd5e1;
}

.agency-attribution strong a {
  color: #38bdf8;
  font-weight: 700;
}

.agency-attribution strong a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s, box-shadow 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* ----------------------------------------------------------
 * Mobile Drawer & Responsive Breakpoints
 * ---------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-main);
  z-index: 1001;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 1.5rem 1.25rem;
}

.mobile-drawer.open {
  left: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

/* Global Ad & Fluid Image Constraints */
.ad-slot, .header-ad-zone {
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ad-slot img, .header-ad-zone img, .ad-slot svg, .header-ad-zone svg {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .hero-layout, .article-layout {
    grid-template-columns: 1fr;
  }
  .category-grid-4, .opinion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  /* Prothom Alo Broadsheet Responsive: Tablet */
  .pa-hero-grid {
    grid-template-columns: 1.8fr 1.2fr;
  }
  .pa-hero-col-left {
    display: none; /* Sub-leads tuck cleanly into main stream on tablet */
  }
  .pa-split-grid {
    grid-template-columns: 1fr;
  }
  .pa-split-lead {
    border-right: none;
    padding-right: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
  }
  .pa-grid-4, .pa-opinion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pa-multimedia-grid {
    grid-template-columns: 1fr;
  }
  .category-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .header-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  .brand-logo {
    align-items: center;
  }
  .header-ad-zone {
    justify-content: center;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .lead-story-card {
    grid-template-columns: 1fr;
  }
  .lead-image-wrap img {
    height: 210px;
  }
  .lead-headline {
    font-size: 1.55rem;
  }
  .article-headline {
    font-size: 1.65rem;
    line-height: 1.3;
  }
  .category-split-row {
    grid-template-columns: 1fr;
  }
  .sub-leads-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  /* Prothom Alo Broadsheet Responsive: Mobile (Lead story FIRST) */
  .pa-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .pa-hero-col-center {
    order: 1; /* Main Lead Story FIRST on mobile */
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
  }
  .pa-hero-col-left {
    order: 2; /* Sub-leads SECOND */
    display: flex;
    flex-direction: column;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
  }
  .pa-hero-col-right {
    order: 3; /* Tabbed Latest/Popular column THIRD */
    border-left: none;
    padding-left: 0;
  }
  .pa-lead-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }
  .pa-center-subleads {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pa-center-sublead-item:first-child {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
  }
  .pa-grid-4, .pa-opinion-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.8rem;
  }
  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .article-actions-bar {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1.8rem;
  }
  .pa-lead-title {
    font-size: 1.4rem;
  }
  .top-bar-right {
    display: none;
  }
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}

/* ----------------------------------------------------------
 * Clean News Article Printing Rules (Print only the news)
 * ---------------------------------------------------------- */
.print-only-header {
  display: none;
}

@media print {
  /* Hide all unnecessary site elements */
  header,
  nav,
  footer,
  aside,
  .top-bar,
  .main-header,
  .main-nav,
  .breaking-bar,
  .trending-bar,
  .ad-slot,
  .article-actions-bar,
  .breadcrumb,
  .comments-section,
  .comment-form-box,
  .related-news-section,
  .cross-category-section,
  .agency-feature-banner,
  .floating-whatsapp,
  .mobile-drawer,
  .mobile-overlay,
  .search-modal,
  .btn-tool,
  .share-btn,
  .article-sidebar,
  .article-tags-wrap,
  .article-comments,
  #themeToggleBtn,
  #mobileNavToggle {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 13pt !important;
    line-height: 1.6 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .article-layout {
    display: block !important;
    width: 100% !important;
  }

  .article-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 10mm 15mm !important;
    box-shadow: none !important;
    border: none !important;
  }

  .print-only-header {
    display: block !important;
    margin-bottom: 20px !important;
  }

  .article-headline {
    font-size: 22pt !important;
    font-weight: 800 !important;
    color: #000 !important;
    line-height: 1.3 !important;
    margin: 15px 0 10px 0 !important;
  }

  .article-meta-bar {
    border-bottom: 1px solid #ccc !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
  }

  .article-featured-image {
    margin: 15px 0 !important;
    text-align: center !important;
  }

  .article-featured-image img {
    max-width: 85% !important;
    height: auto !important;
    border-radius: 4px !important;
  }

  .image-caption {
    font-size: 9pt !important;
    color: #555 !important;
    font-style: italic !important;
    margin-top: 5px !important;
  }

  .article-content {
    font-size: 12pt !important;
    line-height: 1.8 !important;
    color: #111 !important;
  }

  .article-content p {
    margin-bottom: 12pt !important;
    text-align: justify !important;
  }

  .article-content blockquote {
    border-left: 3pt solid #000 !important;
    padding-left: 12pt !important;
    margin: 12pt 0 !important;
    font-style: italic !important;
  }

  /* Prevent page breaks inside titles and images */
  h1, h2, h3, img {
    page-break-inside: avoid;
  }
}
