 /* ============================================================
   BHARAT DECODE NEWS — COMPLETE CUSTOM THEME CSS
   Copy everything between these comments into Additional CSS
   ============================================================ */
 
/* --- GLOBAL RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }
body { 
  font-family: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  background: #f2f2f2 !important;
  color: #1a1a1a !important;
  margin: 0;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
 
/* --- SITE-WIDE COLOR VARIABLES --- */
:root {
  --red: #e8173a;
  --dark: #0d0d1e;
  --gray-bg: #f2f2f2;
  --white: #ffffff;
  --border: #ebebeb;
  --text: #1a1a1a;
  --text-light: #666;
  --text-muted: #999;
}
 
/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.bd-ticker {
  background: var(--red);
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 100;
}
.bd-ticker-label {
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.bd-ticker-inner {
  overflow: hidden;
  flex: 1;
}
.bd-ticker-text {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 0;
  display: inline-block;
  animation: bdScroll 35s linear infinite;
}
.bd-ticker-text a { color: #fff; }
.bd-ticker-text a:hover { text-decoration: underline; }
@keyframes bdScroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
 
/* ============================================================
   SECTION HEADERS (Category labels)
   ============================================================ */
.bd-section-head {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
}
.bd-section-head h2,
.bd-section-head h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--dark) !important;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 10px;
  border-left: 4px solid var(--red);
}
.bd-section-head a.bd-more {
  margin-left: auto;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
}
.bd-section-head a.bd-more:hover { text-decoration: underline; }
 
/* ============================================================
   CATEGORY BADGE
   ============================================================ */
.bd-cat {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bd-cat:hover { background: #c0132e; }
.bd-cat-light {
  display: inline-block;
  background: #fff0f2;
  color: var(--red) !important;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
 
/* ============================================================
   META TIME
   ============================================================ */
.bd-time {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
 
/* ============================================================
   HERO SECTION (Big story + side stories)
   ============================================================ */
.bd-hero {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .bd-hero { grid-template-columns: 1fr; }
}
 
/* Main hero card */
.bd-hero-main {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--dark);
  min-height: 280px;
}
.bd-hero-main img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.bd-hero-main:hover img { opacity: 0.75; }
.bd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bd-hero-overlay h2 {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 6px 0 8px !important;
}
.bd-hero-overlay h2 a { color: #fff !important; }
.bd-hero-overlay h2 a:hover { color: #ffcdd2 !important; }
.bd-hero-overlay .bd-time { color: #ccc; }
 
/* Side story stack */
.bd-side-stack { display: flex; flex-direction: column; gap: 10px; }
.bd-side-card {
  display: flex;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.bd-side-card:hover {
  border-color: var(--red);
  transform: translateX(2px);
}
.bd-side-card img {
  width: 90px;
  min-width: 90px;
  height: 72px;
  object-fit: cover;
}
.bd-side-body {
  padding: 8px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bd-side-body h3 {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: var(--text) !important;
  margin: 0 0 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
/* ============================================================
   PAGE LAYOUT (2 column: main + sidebar)
   ============================================================ */
.bd-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 20px;
}
@media (max-width: 960px) {
  .bd-page { grid-template-columns: 1fr; }
  .bd-sidebar { display: none; }
}
@media (max-width: 480px) {
  .bd-page { padding: 12px; }
}
 
/* ============================================================
   NEWS GRID (3-column card grid)
   ============================================================ */
.bd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .bd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bd-grid { grid-template-columns: 1fr; } }
 
.bd-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.bd-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(232,23,58,0.1);
}
.bd-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s;
}
.bd-card:hover img { transform: scale(1.03); }
.bd-card-body { padding: 10px 12px 12px; }
.bd-card-body h3 {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: var(--text) !important;
  margin: 0 0 6px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bd-card-body p {
  font-size: 11px !important;
  color: var(--text-light) !important;
  line-height: 1.5 !important;
  margin: 0 0 7px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
/* ============================================================
   LIST CARDS (2-column horizontal)
   ============================================================ */
.bd-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 600px) { .bd-list { grid-template-columns: 1fr; } }
 
.bd-list-card {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid var(--border);
  padding: 10px;
  transition: border-color 0.2s;
}
.bd-list-card:hover { border-color: var(--red); }
.bd-list-card img {
  width: 85px;
  min-width: 85px;
  height: 68px;
  object-fit: cover;
  border-radius: 3px;
}
.bd-list-card h3 {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: var(--text) !important;
  margin: 4px 0 5px !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.bd-sidebar {}
.bd-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 18px;
}
.bd-widget-head {
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.bd-widget-head.red { background: var(--red); }
 
/* Market rows */
.bd-mkt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.bd-mkt:last-child { border: none; }
.bd-mkt-name { font-weight: 500; color: #333; font-size: 12px; }
.bd-mkt-val { font-weight: 700; font-size: 13px; color: #111; }
.bd-mkt-up { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; background: #e8f5e9; color: #1b5e20; }
.bd-mkt-dn { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; background: #ffebee; color: #b71c1c; }
.bd-mkt-flat { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; background: #f5f5f5; color: #888; }
 
/* Trending items */
.bd-trend {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
  text-decoration: none;
}
.bd-trend:last-child { border: none; }
.bd-trend:hover { background: #fff8f8; }
.bd-trend-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--red);
  min-width: 26px;
  line-height: 1.1;
  opacity: 0.85;
}
.bd-trend-text {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  line-height: 1.45;
  padding-top: 2px;
}
 
/* ============================================================
   FOOTER
   ============================================================ */
.bd-footer {
  background: var(--dark);
  color: #aaa;
  margin-top: 30px;
}
.bd-footer-top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) { .bd-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .bd-footer-top { grid-template-columns: 1fr; } }
.bd-footer h4 {
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin: 0 0 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
.bd-footer a {
  display: block;
  color: #999 !important;
  font-size: 12px;
  margin-bottom: 7px;
  transition: color 0.2s;
}
.bd-footer a:hover { color: var(--red) !important; }
.bd-footer-bottom {
  background: #080814;
  padding: 12px 20px;
  text-align: center;
  font-size: 11px;
  color: #555;
}
.bd-footer-bottom span { color: var(--red); }
 
/* ============================================================
   NEWSLETTER WIDGET
   ============================================================ */
.bd-newsletter { padding: 14px; background: var(--dark); }
.bd-newsletter h4 { color: #fff !important; font-size: 13px !important; font-weight: 700 !important; margin: 0 0 5px !important; }
.bd-newsletter p { color: #aaa; font-size: 11px; margin: 0 0 12px; line-height: 1.5; }
.bd-nl-form { display: flex; gap: 6px; }
.bd-nl-form input { flex: 1; padding: 8px 10px; font-size: 12px; border: none; border-radius: 3px; outline: none; }
.bd-nl-form button { background: var(--red); color: #fff; border: none; padding: 8px 14px; border-radius: 3px; font-size: 12px; font-weight: 700; cursor: pointer; }
.bd-nl-form button:hover { background: #c0132e; }
 
/* ============================================================
   SOCIAL BUTTONS
   ============================================================ */
.bd-social { display: flex; gap: 6px; flex-wrap: wrap; }
.bd-social a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.bd-fb { background: #1877f2; }
.bd-tw { background: #1da1f2; }
.bd-wa { background: #25d366; }
.bd-yt { background: #ff0000; }
.bd-social a:hover { opacity: 0.9; transform: translateY(-1px); }
 
/* ============================================================
   POST PAGE STYLES
   ============================================================ */
.bd-post-header { margin-bottom: 20px; }
.bd-post-header h1 {
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--dark) !important;
  margin: 10px 0 12px !important;
}
.bd-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.bd-post-meta strong { color: var(--text); }
.bd-post-body { font-size: 15px; line-height: 1.8; color: #333; }
.bd-post-body p { margin-bottom: 16px !important; }
.bd-post-body h2 { font-size: 20px !important; font-weight: 700 !important; margin: 24px 0 12px !important; color: var(--dark) !important; }
.bd-post-body h3 { font-size: 17px !important; font-weight: 600 !important; margin: 20px 0 10px !important; }
.bd-post-body img { border-radius: 6px; margin: 16px 0; width: 100%; }
.bd-post-body blockquote {
  border-left: 4px solid var(--red);
  background: #fff0f2;
  padding: 12px 16px;
  margin: 16px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 4px 4px 0;
}
 
/* ============================================================
   MOBILE RESPONSIVE FIXES
   ============================================================ */
@media (max-width: 480px) {
  .bd-hero-main img { height: 220px; }
  .bd-hero-overlay h2 { font-size: 15px !important; }
  .bd-card img { height: 130px; }
  .bd-widget-head { font-size: 11px; }
  .bd-post-header h1 { font-size: 20px !important; }
}
 
/* ============================================================
   ELEMENTOR OVERRIDES — Remove extra padding/margins
   ============================================================ */
.elementor-section { padding: 0 !important; margin: 0 !important; }
.elementor-widget-wrap { padding: 0 !important; }
.entry-content { max-width: 100% !important; }
 
/* ============================================================
   END OF CUSTOM CSS
   ============================================================ */