/* Global Styles */
html {
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Header Styles */
.top-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 8px 0;
}

.date-info {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.language-switch {
  display: flex;
  gap: 10px;
}

.lang-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-link.active {
  color: #e74c3c;
  background-color: #fff;
  font-weight: 600;
}

.lang-link:hover {
  color: #e74c3c;
  text-decoration: none;
}

.search-box {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 4px 12px;
  min-width: 200px;
}

.search-input {
  border: none;
  outline: none;
  flex: 1;
  padding: 6px 8px;
  font-size: 14px;
  background: transparent;
}

.search-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: #e74c3c;
}

/* Main Navigation */
.main-navbar {
  background: white;
  border-bottom: 2px solid #e74c3c;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.brand-logo {
  width: 150px;
  height: 100px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  display: block;
  box-shadow: none;
}

.logo-symbol {
  color: white;
  font-size: 24px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: #2c3e50;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
}

.brand-tagline {
  color: #666;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  margin-top: 2px;
}

.navbar-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #2c3e50;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: #e74c3c;
  background-color: #f8f9fa;
  text-decoration: none;
}

.nav-link.active {
  color: #e74c3c;
  background-color: #fff5f5;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: #e74c3c;
  border-radius: 2px;
}

/* Ensure category submenu appears above page content */
.main-navbar .nav-item .dropdown-menu {
  position: absolute;
  z-index: 2000; /* higher than other page overlays in header */
}

/* Submenu: match main navbar look & feel */
.main-navbar .dropdown-menu {
  display: none; /* hidden by default, shown when .show is applied */
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px;
  margin-top: 8px;
  min-width: 220px;
}

.main-navbar .dropdown-menu.show {
  display: block;
}

.main-navbar .dropdown-menu li {
  list-style: none;
}

.main-navbar .dropdown-item {
  color: #2c3e50;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  color: #e74c3c;
  background-color: #f8f9fa;
}

.main-navbar .dropdown-divider {
  height: 1px;
  margin: 6px 4px;
  background-color: #f0f2f4;
  border: 0;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #2c3e50;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive Header */
@media (max-width: 992px) {
  .header-actions {
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }
  
  .search-box {
    min-width: 150px;
  }
  
  .nav-list {
    gap: 20px;
  }
  
  .nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (max-width: 768px) {
  .top-header {
    padding: 6px 0;
  }
  
  .date-info {
    font-size: 12px;
  }
  
  .header-actions {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  
  .search-box {
    min-width: 120px;
  }
  
  .search-input {
    font-size: 12px;
  }
  
  .main-navbar {
    padding: 10px 0;
  }
  
  .navbar-content {
    position: relative;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 20px;
  }
  
  .navbar-menu.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 4px;
    text-align: left;
  }
  
  .nav-link.active::after {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .brand-name {
    font-size: 20px;
  }
  
  .brand-tagline {
    font-size: 10px;
  }
}

/* Main Content Styles */
.main-content {
  padding: 30px 0;
  background-color: #ffffff;
}

.featured-story {
  margin-bottom: 30px;
  position: relative;
}

/* Featured Carousel Styles */
.featured-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.featured-slide {
  display: none;
  position: relative;
}

.featured-slide.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
}

.carousel-btn {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.carousel-btn i {
  font-size: 16px;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.featured-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px 20px 20px;
  color: white;
}

.story-content {
  max-width: 80%;
}

.story-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.story-category {
  font-size: 14px;
  font-weight: 600;
  color: #e74c3c;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

.story-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
  opacity: 0.9;
}

.story-meta i {
  margin-right: 8px;
}

/* News Grid */
.news-grid {
  margin-bottom: 40px;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 20px;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.news-content {
  padding: 20px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.4;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.news-meta i {
  margin-right: 8px;
  font-size: 12px;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e74c3c;
}

.section-title {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.section-arrow {
  color: #e74c3c;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.section-arrow:hover {
  transform: translateX(3px);
}

/* National News */
.national-news {
  margin-bottom: 40px;
}

.main-national-news {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-national-news img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.news-watermark {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
}

.national-news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.national-title {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
  margin: 0 0 15px 0;
}

.national-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Sidebar Styles */
.sidebar {
  padding-left: 20px;
}

.sidebar-title {
  color: #2c3e50;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e74c3c;
}

/* Trending Section */
.trending-section {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.trending-item:hover {
  background-color: #f8f9fa;
}

.trending-number {
  background: #e74c3c;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.trending-text {
  font-size: 14px;
  color: #2c3e50;
  line-height: 1.4;
  font-weight: 500;
}

/* Advertisement Section */
.ad-section {
  margin-bottom: 30px;
}

.ad-banner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ad-banner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.ad-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px 15px 15px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* Calendar Widget */
.calendar-widget {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.calendar-header {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 20px;
  text-align: center;
}

.calendar-header h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
}

.calendar-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nepali-month {
  font-size: 16px;
  font-weight: 600;
}

.english-month {
  font-size: 12px;
  opacity: 0.9;
}

.calendar-grid {
  padding: 20px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.calendar-days span {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  padding: 8px 0;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-date {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  position: relative;
}

.calendar-date:hover {
  background-color: #f8f9fa;
}

.calendar-date.today {
  background-color: #e74c3c;
  color: white;
}

.calendar-date.weekend {
  color: #e74c3c;
}

.nepali-date-num {
  font-weight: 600;
  font-size: 14px;
}

.english-date-num {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 2px;
}

/* International and Business Section */
.international-business-section {
  background-color: #f8f9fa;
  padding: 40px 0;
  margin: 40px 0;
}

.section-block {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.international-news-list,
.business-news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.international-news-item,
.business-news-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.international-news-item:hover,
.business-news-item:hover {
  background-color: #f8f9fa;
}

.international-news-item .news-image,
.business-news-item .news-image {
  flex: 0 0 120px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
}

.international-news-item .news-image img,
.business-news-item .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.international-news-item .news-content,
.business-news-item .news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.international-news-item .news-title,
.business-news-item .news-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.4;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.international-news-item .news-meta,
.business-news-item .news-meta {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.international-news-item .news-meta i,
.business-news-item .news-meta i {
  margin-right: 6px;
  font-size: 10px;
}

/* Article Header Section */
.article-header {
  background-color: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid #e9ecef;
}

.article-title-section {
  text-align: center;
  margin-bottom: 30px;
}

.main-article-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a365d;
  line-height: 1.3;
  margin: 0 0 20px 0;
  text-align: center;
}

.article-meta-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: #666;
}

.publisher-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.publisher-logo {
  width: 24px;
  height: 24px;
  background: #4A90E2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alpha-symbol {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.publisher-name {
  font-weight: 600;
  color: #4A90E2;
}

.time-info, .comment-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.time-info i, .comment-info i {
  font-size: 12px;
}

/* Featured Video Section */
.featured-video-section {
  margin-bottom: 30px;
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.video-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo-symbol {
  color: #4A90E2;
  font-weight: bold;
  font-size: 16px;
}

.logo-text {
  color: #333;
  font-size: 12px;
  font-weight: 600;
}

.video-title-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a365d;
  padding: 15px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-logo-large {
  width: 32px;
  height: 32px;
  background: #4A90E2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alpha-large {
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.video-title {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Article Preview */
.article-preview {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.article-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin: 0;
  text-align: justify;
}

/* Responsive Design for Article Header */
@media (max-width: 768px) {
  .main-article-title {
    font-size: 28px;
  }
  
  .article-meta-info {
    flex-direction: column;
    gap: 15px;
  }
  
  .video-thumbnail {
    height: 250px;
  }
  
  .video-title {
    font-size: 16px;
  }
  
  .video-title-overlay {
    padding: 12px 16px;
  }
  
  .article-text {
    font-size: 14px;
  }
}

/* News Container */
.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Main Article Styles */
.main-article {
  margin-bottom: 20px;
}

.featured-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 30px 20px 20px;
  color: white;
}

.article-content h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sub-headline {
  font-size: 16px;
  margin: 0 0 15px 0;
  opacity: 0.9;
  font-weight: 400;
}

.article-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
  opacity: 0.8;
}

.article-meta i {
  margin-right: 8px;
}

/* News List Styles */
.news-list {
  padding-left: 20px;
}

.news-item {
  display: flex;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.news-image {
  position: relative;
  width: 80px;
  height: 80px;
  margin-right: 15px;
  flex-shrink: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.author-tag {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #333;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid #ddd;
  border-radius: 3px;
  white-space: nowrap;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.4;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.news-meta i {
  margin-right: 5px;
  font-size: 10px;
}

/* Refresh Button */
.refresh-btn {
  width: 100%;
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  margin-top: 10px;
}

.refresh-btn:hover {
  background: #e55a2b;
}

.refresh-btn i {
  margin-right: 8px;
}

/* Sidebar Styles */
.sidebar {
  padding-left: 20px;
}

/* Advertisement Banner */
.ad-banner {
  position: relative;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ad-banner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.ad-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px 15px 15px;
  color: white;
}

.ad-overlay p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* Calendar Widget */
.calendar-widget {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.calendar-header {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: white;
  padding: 15px;
  text-align: center;
}

.calendar-header h5 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.calendar-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.nepali-month {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.english-month {
  font-size: 12px;
  opacity: 0.9;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.nav-btn i {
  font-size: 10px;
}

/* Calendar Grid */
.calendar-grid {
  padding: 15px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.calendar-days span {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  padding: 5px 0;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-date {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  position: relative;
}

.calendar-date:hover {
  background-color: #f8f9fa;
}

.calendar-date.today {
  background-color: #6c5ce7;
  color: white;
}

.calendar-date.weekend {
  color: #e74c3c;
}

.calendar-date.has-event::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 4px;
  height: 4px;
  background-color: #3498db;
  border-radius: 50%;
}

.nepali-date-num {
  font-weight: 600;
  font-size: 12px;
}

.english-date-num {
  font-size: 9px;
  opacity: 0.7;
  margin-top: 1px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .news-list {
    padding-left: 0;
    margin-top: 20px;
  }
  
  .sidebar {
    padding-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .news-container {
    padding: 10px;
  }
  
  .featured-image img {
    height: 250px;
  }
  
  .article-content h1 {
    font-size: 22px;
  }
  
  .news-item {
    flex-direction: column;
  }
  
  .news-image {
    width: 100%;
    height: 150px;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Feature Section */
.feature-section {
  background-color: #1A1C20;
  padding: 40px 0;
  margin-top: 20px;
}

.feature-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-title {
  color: white;
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 30px 0;
  text-align: left;
}

.feature-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-nav {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.carousel-nav:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-nav i {
  color: #e74c3c;
  font-size: 18px;
  font-weight: bold;
}

.feature-cards-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.feature-cards-container::-webkit-scrollbar {
  display: none;
}

.feature-card {
  flex: 0 0 300px;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-content {
  padding: 15px 0;
}

.feature-content h3 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Design for Feature Section */
@media (max-width: 768px) {
  .feature-title {
    font-size: 36px;
    text-align: center;
  }
  
  .feature-carousel {
    flex-direction: column;
    gap: 15px;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
  }
  
  .carousel-nav i {
    font-size: 14px;
  }
  
  .feature-cards-container {
    gap: 15px;
    padding: 0 10px;
  }
  
  .feature-card {
    flex: 0 0 250px;
  }
  
  .feature-image {
    height: 150px;
  }
  
  .feature-content h3 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .feature-section {
    padding: 30px 0;
  }
  
  .feature-title {
    font-size: 28px;
  }
  
  .feature-card {
    flex: 0 0 200px;
  }
  
  .feature-image {
    height: 120px;
  }
  
  .feature-content h3 {
    font-size: 13px;
  }
}

/* Utility Classes */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Footer Styles */
.main-footer {
  background-color: #f0f5f9;
  margin-top: auto;
}

.footer-content {
  padding: 40px 0;
  background-color: #f0f5f9;
}

.footer-column {
  margin-bottom: 30px;
}

.footer-heading {
  color: #2c5aa0;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #2c5aa0;
  text-decoration: none;
}

/* App Download Buttons */
.app-download-buttons {
  margin-top: 20px;
}

.app-btn {
  display: block;
  background-color: #000;
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-align: center;
}

.app-btn:hover {
  background-color: #333;
  color: white;
  text-decoration: none;
}

.app-btn i {
  margin-right: 8px;
  font-size: 14px;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #e8f0f7;
  padding: 20px 0;
  border-top: 1px solid #d1d9e0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.logo-icon {
  background-color: #e74c3c;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin-right: 8px;
}

.logo-text {
  color: #2c5aa0;
  font-weight: 700;
  font-size: 16px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #666;
  position: relative;
  padding-right: 20px;
}

.contact-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background-color: #ccc;
}

.contact-item strong {
  color: #333;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item span {
  color: #666;
  font-size: 11px;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.social-media {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: #666;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #2c5aa0;
  text-decoration: none;
}

.copyright {
  color: #666;
  font-size: 12px;
  text-align: right;
}

/* Responsive Design for Footer */
@media (max-width: 1200px) {
  .contact-info {
    gap: 15px;
  }
  
  .contact-item {
    padding-right: 15px;
  }
}

@media (max-width: 992px) {
  .footer-content {
    padding: 30px 0;
  }
  
  .footer-column {
    margin-bottom: 25px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .contact-item:not(:last-child)::after {
    display: none;
  }
  
  .footer-bottom-right {
    align-items: flex-start;
    width: 100%;
  }
  
  .copyright {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-content {
    padding: 25px 0;
  }
  
  .footer-heading {
    font-size: 15px;
    margin-bottom: 15px;
  }
  
  .footer-links a {
    font-size: 13px;
  }
  
  .app-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .footer-bottom {
    padding: 15px 0;
  }
  
  .footer-logo {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .logo-text {
    font-size: 14px;
  }
  
  .contact-item {
    font-size: 11px;
  }
  
  .contact-item span {
    font-size: 10px;
  }
  
  .social-icon {
    font-size: 16px;
  }
  
  .copyright {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .footer-content {
    padding: 20px 0;
  }
  
  .footer-column {
    margin-bottom: 20px;
  }
  
  .footer-heading {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .footer-links a {
    font-size: 12px;
  }
  
  .app-btn {
    font-size: 10px;
    padding: 5px 8px;
  }
  
  .footer-bottom {
    padding: 12px 0;
  }
  
  .logo-text {
    font-size: 13px;
  }
  
  .contact-item {
    font-size: 10px;
  }
  
  .contact-item span {
    font-size: 9px;
  }
  
  .social-icon {
    font-size: 14px;
  }
  
  .copyright {
    font-size: 10px;
  }
}

/* National News Section Styles */
.national-news-section {
  padding: 0;
  background-color: #ffffff;
  margin-bottom: 20px;
}

.news-header-bar {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.news-title {
  font-size: 18px;
  font-weight: bold;
  color: white;
  margin: 0;
}

.header-arrow {
  color: #ccc;
  font-size: 16px;
}

.national-main-article {
  background-color: #ffffff;
  padding: 0;
  margin: 0;
}

.national-featured-image {
  position: relative;
  height: 350px;
  overflow: hidden;
  padding: 0;
}

.national-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-watermark {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  color: #333;
}

.national-article-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.national-article-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
  margin-bottom: 15px;
  text-align: left;
}

.national-article-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* International Section Styles */
.international-section {
  background-color: #ffffff;
  padding: 40px 0;
  margin-top: 20px;
}

.international-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.international-block, .pravas-block {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.section-title {
  color: #4A90E2;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-arrow {
  color: #4A90E2;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.section-arrow:hover {
  transform: translateX(3px);
}

/* Main Featured Article */
.main-featured-article {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.featured-article-image {
  flex: 0 0 200px;
  height: 150px;
  border-radius: 6px;
  overflow: hidden;
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.featured-article-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sub Articles Grid */
.sub-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sub-articles-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sub-article {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.sub-article:hover {
  background-color: #f8f9fa;
}

.sub-article-image {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
}

.sub-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-article-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.sub-article-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pravas Block */
.pravas-news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pravas-news-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 4px solid #4A90E2;
}

.pravas-news-item:hover {
  background: #e3f2fd;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.pravas-news-image {
  flex: 0 0 100px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pravas-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pravas-news-item:hover .pravas-news-image img {
  transform: scale(1.05);
}

.pravas-news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pravas-news-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0 0 8px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pravas-news-description {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pravas-news-meta {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #888;
  gap: 5px;
}

.pravas-news-meta i {
  font-size: 10px;
  color: #4A90E2;
}

/* Responsive Design for Main Content */
@media (max-width: 992px) {
  .sidebar {
    padding-left: 0;
    margin-top: 30px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .story-title {
    font-size: 28px;
  }
  
  .international-news-item,
  .business-news-item {
    flex-direction: column;
    gap: 10px;
  }
  
  .international-news-item .news-image,
  .business-news-item .news-image {
    flex: none;
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 20px 0;
  }
  
  .featured-image img {
    height: 250px;
  }
  
  .story-title {
    font-size: 24px;
  }
  
  .news-card {
    margin-bottom: 15px;
  }
  
  .news-image {
    height: 150px;
  }
  
  .news-title {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .national-title {
    font-size: 18px;
  }
  
  .national-description {
    font-size: 14px;
  }
  
  .main-national-news img {
    height: 200px;
  }
  
  .international-business-section {
    padding: 30px 0;
    margin: 30px 0;
  }
  
  .section-block {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .international-news-item .news-title,
  .business-news-item .news-title {
    font-size: 14px;
  }
  
  .trending-text {
    font-size: 13px;
  }
  
  .calendar-header {
    padding: 15px;
  }
  
  .calendar-header h4 {
    font-size: 16px;
  }
  
  .nepali-month {
    font-size: 14px;
  }
  
  .english-month {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .national-news-section {
    margin-bottom: 10px;
  }
  
  .news-title {
    font-size: 14px;
  }
  
  .national-featured-image {
    height: 200px;
  }
  
  .national-article-content {
    padding: 12px;
  }
  
  .national-article-title {
    font-size: 16px;
  }
  
  .national-article-description {
    font-size: 12px;
  }
  
  .international-section {
    padding: 20px 0;
  }
  
  .international-block, .pravas-block {
    padding: 12px;
  }
  
  .section-title {
    font-size: 16px;
  }
  
  .featured-article-image {
    height: 120px;
  }
  
  .featured-article-title {
    font-size: 14px;
  }
  
  .sub-article-image {
    height: 100px;
  }
  
  .sub-article-title {
    font-size: 12px;
  }
  
  .pravas-news-title {
    font-size: 13px;
  }
  
  .pravas-news-description {
    font-size: 11px;
  }
  
  .pravas-news-image {
    height: 100px;
  }
  
  .pravas-news-item {
    padding: 12px;
  }
}

/* Admin Login Button Styles */
.admin-link {
  margin: 0 10px;
}

.admin-login-btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.admin-login-btn:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.admin-login-btn i {
  font-size: 12px;
}

/* Responsive Admin Button */
@media (max-width: 768px) {
  .admin-link {
    margin: 5px 0;
  }
  
  .admin-login-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}