:root {
  --primary-color: #dc3545;
  --dark-color: #212529;
}

body {
  background-color: #f8f9fa;
}

.news-card {
  transition: all 0.3s ease;
  border: none;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15)!important;
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.breaking-news {
  background: var(--primary-color);
  color: white;
  padding: 8px 0;
  font-weight: 500;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
}

.admin-sidebar {
  min-height: 100vh;
  background: var(--dark-color);
}

.admin-sidebar.nav-link {
  color: #adb5bd;
  padding: 12px 20px;
}

.admin-sidebar.nav-link:hover,.admin-sidebar.nav-link.active {
  color: white;
  background: #343a40;
}

@media (max-width: 768px) {
 .card-img-top { height: 180px; }
}

.hover-red:hover { color: #C1121F!important; transition: 0.2s; }
.navbar { padding: 1rem 0; }


.hover-red:hover { 
  color: #C1121F !important; 
  transition: 0.2s; 
}
.news-card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15)!important;
}
.card-img-top {
  transition: 0.3s;
}
.news-card:hover .card-img-top {
  transform: scale(1.05);
}

/* Ad Rotator Styles */
.ad-rotator {
  position: relative;
  overflow: hidden;
}
.ad-slide {
  animation: adFadeIn 0.5s ease-in-out;
}
@keyframes adFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
