@import url('https://fonts.maateen.me/solaiman-lipi/font.css');
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Noto+Serif+Bengali:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600&display=swap');

/* ============================================================
   Editorial Aesthetic Newspaper Portal CSS
   High-Contrast Typography, Premium Newspaper Styling
   ============================================================ */

:root {
  --ink: #0f172a;
  --paper: #ffffff;
  --accent: #e61e25;
  --dark-accent: #b91c1c;
  --muted-bg: #f8fafc;
  --news-gray: #475569;
  --border-color: #e2e8f0;
  --border-dark: #0f172a;
  --font-bengali: "SolaimanLipi", "Hind Siliguri", "Noto Serif Bengali", "Kalpurush", sans-serif;
  --font-serif: "SolaimanLipi", "Noto Serif Bengali", "Playfair Display", "Merriweather", "Times New Roman", serif;
  --font-sans: "SolaimanLipi", "Plus Jakarta Sans", "Hind Siliguri", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-english: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-bengali);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.75;
  font-size: 1.02rem;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="en"] body {
  font-family: var(--font-english);
}

/* Header Top Utility Bar */
.top-bar {
  background-color: var(--ink);
  color: #9ca3af;
  font-size: 0.8rem;
  padding: 7px 0;
  border-bottom: 1px solid #222222;
  letter-spacing: 0.03em;
}

.top-bar a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar a:hover {
  color: #ffffff;
}

/* Breaking News Ticker */
.breaking-ticker {
  background: var(--muted-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 2px solid var(--accent);
  font-size: 0.88rem;
  line-height: 1.2;
}

.breaking-label {
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
  padding: 6px 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  box-shadow: 3px 0 10px rgba(0,0,0,0.25);
  border-right: 3px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.breaking-label i {
  color: #fbbf24;
}

.ticker-marquee {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding-top: 2px;
  padding-bottom: 2px;
}

.ticker-marquee a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  margin-right: 32px;
  font-family: var(--font-sans);
  transition: color 0.2s;
}

.ticker-marquee a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Main Site Header */
.main-header {
  padding: 20px 0 16px 0;
  border-bottom: 4px double var(--ink);
  background: #ffffff;
}

.site-title-logo {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -1px;
  line-height: 1;
  display: inline-block;
}

.site-title-logo span {
  color: var(--accent);
}

/* Main Navigation Navbar - Ultra Slim & Compact */
.main-nav {
  background: #ffffff;
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 38px;
}

.main-nav .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar-nav .nav-link {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 6px 13px !important;
  line-height: 1.3;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent);
  background-color: rgba(230, 30, 37, 0.08);
}

/* Desktop Hover & Click Dropdown Submenu Support */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 3px solid var(--accent) !important;
    border-radius: 0 0 6px 6px;
    padding: 8px 0;
    min-width: 210px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12) !important;
  }

  .navbar-nav .dropdown-item {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 18px;
    transition: all 0.15s ease;
  }

  .navbar-nav .dropdown-item:hover {
    background-color: rgba(230, 30, 37, 0.08);
    color: var(--accent);
    padding-left: 22px;
  }
}

/* Mega Menu Dropdown */
.mega-menu {
  position: static !important;
}

.mega-dropdown-menu {
  width: 100%;
  left: 0;
  right: 0;
  padding: 24px;
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  border-top: 3px solid var(--accent);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Typography & Editorial Headlines */
h1, h2, h3, h4, h5, h6, .news-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-title {
  position: relative;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 3px;
  background-color: var(--accent);
}

/* News Cards */
.news-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid var(--border-color);
  background: #ffffff;
  height: 100%;
  border-radius: 2px;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.news-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #f1f5f9;
}

.news-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-card-img-wrapper img {
  transform: scale(1.04);
}

.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 1px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Hero Main Lead Post */
.hero-lead-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border: 1px solid var(--border-color);
}

/* Hero Tabbed Sidebar Widget Styling */
.hero-tab-widget {
  border: 1px solid var(--border-color) !important;
  background-color: var(--card-bg, #ffffff);
  border-radius: 8px;
  overflow: hidden;
}

.hero-tab-widget .card-header {
  background-color: #0f172a !important;
  border-bottom: 2px solid #e61e25 !important;
  padding: 0 !important;
}

.hero-tab-widget .nav-tabs {
  border-bottom: none !important;
}

.hero-tab-widget .nav-tabs .nav-item {
  margin-bottom: 0;
}

.hero-tab-widget .nav-tabs .nav-link {
  color: #94a3b8 !important;
  background-color: #0f172a !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  padding: 12px 16px !important;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.hero-tab-widget .nav-tabs .nav-link:hover {
  color: #ffffff !important;
  background-color: #1e293b !important;
}

.hero-tab-widget .nav-tabs .nav-link.active {
  color: #ffffff !important;
  background-color: #e61e25 !important; /* Vibrant Red Active Tab */
  box-shadow: inset 0 -3px 0 0 #ffffff;
}

.media-news-item {
  transition: background-color 0.2s ease, transform 0.15s ease;
  padding: 8px;
  border-radius: 6px;
}

.media-news-item:hover {
  background-color: rgba(230, 30, 37, 0.04);
}

.media-news-item:hover .media-news-img {
  transform: scale(1.05);
}

.media-news-img {
  transition: transform 0.25s ease;
}

/* Dark Mode Overrides for Cards, Text & Links */
[data-bs-theme="dark"] .hero-tab-widget,
body.dark-mode .hero-tab-widget {
  background-color: #0f172a !important;
  border-color: #1e293b !important;
}

[data-bs-theme="dark"] .hero-tab-widget .card-body,
body.dark-mode .hero-tab-widget .card-body {
  background-color: #0f172a !important;
}

[data-bs-theme="dark"] .hero-tab-widget .text-dark,
body.dark-mode .hero-tab-widget .text-dark {
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .hero-tab-widget .text-muted,
body.dark-mode .hero-tab-widget .text-muted {
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] .news-card,
body.dark-mode .news-card {
  background-color: #0f172a !important;
  border-color: #1e293b !important;
}

[data-bs-theme="dark"] .news-card .news-title,
body.dark-mode .news-card .news-title,
[data-bs-theme="dark"] .news-card .text-dark,
body.dark-mode .news-card .text-dark {
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .bg-white,
body.dark-mode .bg-white {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .card,
body.dark-mode .card {
  background-color: #0f172a !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .card-header,
body.dark-mode .card-header {
  border-color: #1e293b !important;
}

.hero-lead-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.96) 0%, rgba(17,17,17,0.65) 60%, transparent 100%);
  padding: 32px;
  color: #ffffff;
}

.hero-overlay h2 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-overlay h2 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-overlay h2 a:hover {
  color: #fca5a5;
}

/* List News Items */
.media-news-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.media-news-img {
  width: 115px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.media-news-item h6 a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
  transition: color 0.2s;
}

.media-news-item h6 a:hover {
  color: var(--accent);
}

/* Single Article Editorial Styling */
.article-header h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.article-meta {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--news-gray);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.85;
  color: #1a1a1a;
  text-align: justify !important;
  text-justify: inter-word;
}

.article-body p {
  margin-bottom: 1.6rem;
  text-align: justify !important;
  text-justify: inter-word;
}

/* Optional Opt-In Drop Cap (Only applied when enabled in admin settings on 1st paragraph) */
.article-body.enable-dropcap > p:first-of-type::first-letter {
  font-size: 2.8rem;
  line-height: 0.85;
  float: left;
  margin-right: 8px;
  font-weight: 800;
  font-family: var(--font-serif);
  color: var(--accent);
}

/* Share Bar & Buttons */
.share-bar .btn {
  border-radius: 2px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Site Footer */
.site-footer {
  background-color: var(--ink);
  color: #9ca3af;
  padding-top: 54px;
  padding-bottom: 28px;
  margin-top: 64px;
  border-top: 4px solid var(--accent);
}

.site-footer h5 {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #222222;
  margin-top: 42px;
  padding-top: 22px;
  font-size: 0.82rem;
}

/* Print Stylesheet */
@media print {
  .top-bar, .main-nav, .breaking-ticker, .share-bar, .sidebar-col, .site-footer, .ad-container, .no-print, #comment-form, #comments, .breadcrumb, #btn-print-article, #btn-copy-link, .col-lg-4 {
    display: none !important;
  }
  body, .article-wrapper, .article-body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
    line-height: 1.6 !important;
    font-family: 'Times New Roman', Georgia, serif !important;
  }
  .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .article-wrapper {
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .article-header h1, h1 {
    font-size: 24pt !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  a {
    color: #000000 !important;
    text-decoration: none !important;
  }
  @page {
    margin: 1.5cm;
  }
}

/* ============================================================
   Dark Mode Support & Theme / Language Switcher
   ============================================================ */
[data-bs-theme="dark"],
body.dark-mode {
  --ink: #f8fafc;
  --paper: #0f172a;
  --muted-bg: #1e293b;
  --news-gray: #cbd5e1;
  --border-color: #334155;
  --border-dark: #cbd5e1;
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .top-bar,
body.dark-mode .top-bar {
  background-color: #020617 !important;
  color: #94a3b8 !important;
  border-bottom: 1px solid #1e293b !important;
}

[data-bs-theme="dark"] .top-bar a,
body.dark-mode .top-bar a {
  color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .top-bar a:hover,
body.dark-mode .top-bar a:hover {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .main-header,
body.dark-mode .main-header {
  background-color: #1e293b !important;
  border-bottom: 4px double #334155 !important;
}

[data-bs-theme="dark"] .main-nav,
body.dark-mode .main-nav {
  background-color: #0f172a !important;
  border-bottom: 2px solid #334155 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .news-card,
body.dark-mode .news-card,
[data-bs-theme="dark"] .card,
body.dark-mode .card,
[data-bs-theme="dark"] .article-wrapper,
body.dark-mode .article-wrapper,
[data-bs-theme="dark"] .breaking-ticker,
body.dark-mode .breaking-ticker,
[data-bs-theme="dark"] .dropdown-menu,
body.dark-mode .dropdown-menu,
[data-bs-theme="dark"] .modal-content,
body.dark-mode .modal-content {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

[data-bs-theme="dark"] h1, [data-bs-theme="dark"] h2, [data-bs-theme="dark"] h3, 
[data-bs-theme="dark"] h4, [data-bs-theme="dark"] h5, [data-bs-theme="dark"] h6,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,
[data-bs-theme="dark"] .site-title-logo, body.dark-mode .site-title-logo,
[data-bs-theme="dark"] .section-title, body.dark-mode .section-title,
[data-bs-theme="dark"] .media-news-item h6 a, body.dark-mode .media-news-item h6 a,
[data-bs-theme="dark"] .article-body, body.dark-mode .article-body,
[data-bs-theme="dark"] .news-title a, body.dark-mode .news-title a,
[data-bs-theme="dark"] .dropdown-item, body.dark-mode .dropdown-item,
[data-bs-theme="dark"] .text-dark, body.dark-mode .text-dark {
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .dropdown-item:hover,
body.dark-mode .dropdown-item:hover {
  background-color: #334155 !important;
  color: #ef4444 !important;
}

[data-bs-theme="dark"] .navbar-nav .nav-link,
body.dark-mode .navbar-nav .nav-link {
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .navbar-nav .nav-link:hover,
body.dark-mode .navbar-nav .nav-link:hover,
[data-bs-theme="dark"] .navbar-nav .nav-link.active,
body.dark-mode .navbar-nav .nav-link.active {
  color: #ffffff !important;
  background-color: #ef4444 !important;
}

[data-bs-theme="dark"] .ticker-marquee a,
body.dark-mode .ticker-marquee a {
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .article-body p::first-letter,
body.dark-mode .article-body p::first-letter {
  color: #ef4444 !important;
}

[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .article-wrapper,
[data-bs-theme="dark"] .sidebar-card,
[data-bs-theme="dark"] .main-header,
[data-bs-theme="dark"] .main-nav,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .nav-tabs .nav-link,
[data-bs-theme="dark"] .breaking-ticker,
[data-bs-theme="dark"] .accordion-item,
[data-bs-theme="dark"] .accordion-button,
body.dark-mode .bg-white,
body.dark-mode .bg-light,
body.dark-mode .card,
body.dark-mode .article-wrapper,
body.dark-mode .sidebar-card,
body.dark-mode .main-header,
body.dark-mode .main-nav,
body.dark-mode .dropdown-menu,
body.dark-mode .modal-content,
body.dark-mode .list-group-item,
body.dark-mode .nav-tabs .nav-link,
body.dark-mode .breaking-ticker,
body.dark-mode .accordion-item,
body.dark-mode .accordion-button {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

[data-bs-theme="dark"] body,
body.dark-mode {
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
body.dark-mode .form-control,
body.dark-mode .form-select {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

[data-bs-theme="dark"] .breadcrumb-item a,
body.dark-mode .breadcrumb-item a {
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] .text-muted,
body.dark-mode .text-muted {
  color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .site-footer,
body.dark-mode .site-footer {
  background-color: #020617 !important;
  border-top: 4px solid #ef4444 !important;
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] .site-footer h5,
body.dark-mode .site-footer h5,
[data-bs-theme="dark"] .site-footer h4,
body.dark-mode .site-footer h4 {
  color: #ffffff !important;
  border-bottom: 2px solid #ef4444 !important;
}

[data-bs-theme="dark"] .site-footer a,
body.dark-mode .site-footer a {
  color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .site-footer a:hover,
body.dark-mode .site-footer a:hover {
  color: #ef4444 !important;
}

[data-bs-theme="dark"] .footer-bottom,
body.dark-mode .footer-bottom {
  border-top: 1px solid #1e293b !important;
  color: #94a3b8 !important;
}

/* Theme & Language Switcher Controls */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid #4b5563;
  color: #e2e8f0;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.theme-toggle-btn:hover {
  background: #374151;
  color: #ffffff;
  border-color: #9ca3af;
}

.lang-switch-btn {
  background: #e61e25;
  color: #ffffff !important;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}

.lang-switch-btn:hover {
  background: #b91c1c;
}

/* Frontend Mobile Responsiveness Improvements */
@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }

  .site-title-logo {
    font-size: 1.8rem !important;
  }

  .main-header {
    padding: 12px 0;
  }

  .top-bar {
    font-size: 0.75rem;
    padding: 6px 0;
  }

  .breaking-ticker {
    font-size: 0.8rem;
  }

  .breaking-label {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .news-card-hero .news-title {
    font-size: 1.25rem !important;
  }

  .article-title {
    font-size: 1.5rem !important;
  }

  .article-body {
    font-size: 1.05rem !important;
    line-height: 1.7;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  img, iframe, video {
    max-width: 100%;
    height: auto;
  }

  .site-footer {
    padding: 30px 0 15px 0;
  }
}

/* Full Interactive Archive Calendar Styling */
.sidebar-archive-card .cal-day-btn {
  display: block;
  width: 100%;
  padding: 4px 0;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.sidebar-archive-card .cal-day-btn:hover {
  background-color: rgba(230, 30, 37, 0.15) !important;
  color: #e61e25 !important;
}

.sidebar-archive-card .cal-day-btn.active-date {
  background-color: #e61e25 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(230, 30, 37, 0.4);
}

[data-bs-theme="dark"] .sidebar-archive-card,
body.dark-mode .sidebar-archive-card {
  background-color: #0f172a !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .sidebar-archive-card .card-header,
body.dark-mode .sidebar-archive-card .card-header {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .sidebar-archive-card #sidebar-full-calendar-box,
body.dark-mode .sidebar-archive-card #sidebar-full-calendar-box {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

[data-bs-theme="dark"] .sidebar-archive-card .cal-day-btn:not(.active-date),
body.dark-mode .sidebar-archive-card .cal-day-btn:not(.active-date) {
  color: #e2e8f0 !important;
}

/* Fix CKEditor Container Heights & Prevent Collapse */
.cke_contents {
  min-height: 340px !important;
  height: 340px !important;
}
.cke {
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.tab-content .cke {
  width: 100% !important;
}


