/* Custom Styles for Samriddhlife News CMS */

:root {
  --primary-color: #0b2d5c; /* Dark Blue */
  --accent-color: #e62020; /* Red */
  --bg-color: #ffffff; /* White */
  --text-dark: #222222;
  --text-light: #555555;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-main);
  background-color: #f7f9fc;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Typography Classes */
.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }

/* Backgrounds & Colors */
.bg-ht-blue {
  background-color: var(--primary-color) !important;
}
.text-danger {
  color: var(--accent-color) !important;
}
.border-danger {
  border-color: var(--accent-color) !important;
}

/* Custom Nav Links */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Hover Effects */
.hover-danger:hover {
  color: var(--accent-color) !important;
  text-decoration: underline !important;
  transition: var(--transition);
}
.hover-white:hover {
  color: #fff !important;
  transition: var(--transition);
}
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Ticker specific */
.ticker-wrapper {
  overflow: hidden;
  white-space: nowrap;
}
.ticker-wrapper marquee {
  vertical-align: middle;
}

/* Post Thumbnails */
.post-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-thumb-wrapper {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.card-hover:hover .post-thumb {
  transform: scale(1.05);
}

/* Hero Section */
.hero-thumb {
  height: 400px;
  object-fit: cover;
  width: 100%;
}
.hero-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}
.hero-title {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Badges */
.badge-category {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Ads */
.ad-slot {
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ccc;
  color: #888;
  font-size: 14px;
}

/* Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 200, 200, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  border-radius: 12px;
}
